DNforum.com - Domain Sales, Domain Forum, Domain Appraisals
 
Register Now! 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.
Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2007, 12:09 AM   #1 (permalink)
Wordpress Design
 
tonyfloyd's Avatar
 
Name: Tony
Last Online: Today 01:35 AM
iTrader: (39)
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
tonyfloyd is offline   Reply With Quote
Old 06-16-2007, 02:03 AM   #2 (permalink)
ArcadeScript.Com
 
Varchar's Avatar
 
Name: Kawing Chiu
Last Online: Today 05:04 AM
iTrader: (37)
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.
Varchar is online now   Reply With Quote
Old 06-16-2007, 02:20 AM   #3 (permalink)
Wordpress Design
 
tonyfloyd's Avatar
 
Name: Tony
Last Online: Today 01:35 AM
iTrader: (39)
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.....
tonyfloyd is offline   Reply With Quote
Old 06-16-2007, 02:22 AM   #4 (permalink)
DNP
Italian.net
 
Last Online: Today 01:45 AM
iTrader: (212)
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?
__________________


VJO.COM -> For Sale HERE!
DNP is offline   Reply With Quote
Old 06-16-2007, 02:24 AM   #5 (permalink)
Wordpress Design
 
tonyfloyd's Avatar
 
Name: Tony
Last Online: Today 01:35 AM
iTrader: (39)
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 View Post
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??
tonyfloyd is offline   Reply With Quote
Old 06-16-2007, 02:40 AM   #6 (permalink)
DNP
Italian.net
 
Last Online: Today 01:45 AM
iTrader: (212)
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
__________________


VJO.COM -> For Sale HERE!
DNP is offline   Reply With Quote
Old 06-16-2007, 02:43 AM   #7 (permalink)
Wordpress Design
 
tonyfloyd's Avatar
 
Name: Tony
Last Online: Today 01:35 AM
iTrader: (39)
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??...
tonyfloyd is offline   Reply With Quote
Old 06-19-2007, 09:39 PM   #8 (permalink)
Platinum Lifetime Member
 
Name: Jason
Last Online: 06-10-2008 02:27 PM
iTrader: (10)
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
JRBHosting is offline   Reply With Quote
Old 06-19-2007, 11:11 PM   #9 (permalink)
**********
 
Last Online: Yesterday 10:48 PM
iTrader: (86)
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.
__________________
Revenue.net | Parked.com
NameGuy is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
godaddy code : 10% off any order 103960392 Domain Registration Discussion 14 09-20-2006 02:59 AM
Area Code .com Domains. 843hotels.com & more! Zona Domains for Sale (Domain Sales) - Offers Wanted 0 08-29-2006 12:20 PM
so many great IDNs -- BT論壇.com (BT forum), 流行音樂網.net (Pop music network)& more cougarmax Chinese IDN 0 06-07-2006 04:21 AM
Various names - FindZipCode.us... Catsse Domains for Sale (Domain Sales) - Fixed Prices Above $100 0 09-14-2005 08:37 PM
WOW! Free-Codes.com! Jer.Net Domains for Sale (Domain Sales) - Fixed Prices Above $100 0 03-09-2004 12:02 PM


All times are GMT -4. The time now is 05:17 AM.
Copyright @2001-2008 DNForum.com

Learn Domains
Promote Domains
Research Domains
Buy Domains
Resell Domains
Park Domains
Sell Domains
Build Domains
Host Domains
Trademark Domains
Domain Domains
manage Domains
Appraise Domains