 | Welcome to Dnforum.com
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast and simple so please, join our community today!
If you have any problems with the registration process or your account login, please contact us. |  |
06-16-2007, 12:09 AM
|
#1 (permalink)
| | Wordpress Design
Name: Tony Last Online: Today 01:35 AM Join Date: Apr 2007
Posts: 2,298
DNF$: 8,144 Location: New York
Country: | this code error is driving me nuts! see below....anybody know how to fix??
site is italianhomerecipes(dot)com
thnks
tony
Fatal error: Cannot redeclare register_sidebar() (previously declared in /home/tonykana/public_html/wp-includes/widgets.php:36) in /home/tonykana/public_html/wp-content/themes/TripleK2/app/includes/sbm.php on line 26 |
| |
06-16-2007, 02:03 AM
|
#2 (permalink)
| | ArcadeScript.Com
Name: Kawing Chiu Last Online: Today 05:04 AM Join Date: Mar 2005
Posts: 1,615
DNF$: 2,400 Location: NYC
Country: | Re: this code error is driving me nuts! Need to look at the php files to debug it. The error means you have declare the function register_sidebar() multiple times. Just search for it and remove one of them and it should work. |
| |
06-16-2007, 02:20 AM
|
#3 (permalink)
| | Wordpress Design
Name: Tony Last Online: Today 01:35 AM Join Date: Apr 2007
Posts: 2,298
DNF$: 8,144 Location: New York
Country: | Re: this code error is driving me nuts! i had upgraded site to wordpress 2.2,,,it seems the theme TripleK2 is not compatible with 2.2....so i went back to wp 2.1.3....site is up again...however the sidebar modules dont work....i wonder of the above error message is also responsible for that..... |
| |
06-16-2007, 02:22 AM
|
#4 (permalink)
| | Italian.net
Last Online: Today 01:45 AM Join Date: Nov 2006
Posts: 6,223
DNF$: 663 Location: DNF
Country: | Re: this code error is driving me nuts! Do you want us to click on your Adsense ads as well?  |
| |
06-16-2007, 02:24 AM
|
#5 (permalink)
| | Wordpress Design
Name: Tony Last Online: Today 01:35 AM Join Date: Apr 2007
Posts: 2,298
DNF$: 8,144 Location: New York
Country: | Re: this code error is driving me nuts! Quote:
Originally Posted by DNP Do you want us to click on your Adsense ads as well?  | ????.....site was done all day...just figured out that theme is not compatible with wp 2.2
too many ads?? |
| |
06-16-2007, 02:40 AM
|
#6 (permalink)
| | Italian.net
Last Online: Today 01:45 AM Join Date: Nov 2006
Posts: 6,223
DNF$: 663 Location: DNF
Country: | Re: this code error is driving me nuts! no  too many questions...
http:// forums.digitalpoint.com/search.php?searchid=4325261 |
| |
06-16-2007, 02:43 AM
|
#7 (permalink)
| | Wordpress Design
Name: Tony Last Online: Today 01:35 AM Join Date: Apr 2007
Posts: 2,298
DNF$: 8,144 Location: New York
Country: | Re: this code error is driving me nuts! only asking...cause nobody's answering!....like yourself included...  ...whats your point in posting if u got no answer to my problem?....just like to hear yourself talk??...  |
| |
06-19-2007, 09:39 PM
|
#8 (permalink)
| | Platinum Lifetime Member
Name: Jason Last Online: 06-10-2008 02:27 PM Join Date: Nov 2006
Posts: 493
DNF$: 5,125 Location: USA
Country: | Re: this code error is driving me nuts! Tony:
That error code means, in essence, that you are declaring one function multiple times. Kind of like the sentance "The box's name is Joe the box's name is Joe." This generally happens when you either have the function ..{..} code in a loop (foreach, for, while) or you have it declared in another included file.
Jason |
| |
06-19-2007, 11:11 PM
|
#9 (permalink)
| | **********
Last Online: Yesterday 10:48 PM Join Date: Apr 2003
Posts: 1,574
DNF$: 6,944 Location: .us | Re: this code error is driving me nuts! If your function is in a separate file and included in you main php file via an include statement:
include ("myfunctions.php");
Try using this instead:
include_once ("myfunctions.php");
There is also require() and require_once() statements if your page uses that which can also be interchanged. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| | | | All times are GMT -4. The time now is 05:17 AM.
Copyright @2001-2008 DNForum.com
|