Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 9 of 9
  1. #1
    Wordpress Guru
    tonyfloyd's Avatar
    Join Date
    Apr 2007
    Location
    New York
    Posts
    3,587
    Country

    Argentina
    DNF$
    1,253
    Bank
    0
    Total DNF$
    1,253
    Donate  

    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

  2. #2
    ArcadeScript.Com
    Varchar's Avatar
    Join Date
    Mar 2005
    Location
    Staten Island
    Posts
    1,790
    DNF$
    45,788
    Bank
    0
    Total DNF$
    45,788
    Donate  

    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.

  3. #3
    Wordpress Guru
    tonyfloyd's Avatar
    Join Date
    Apr 2007
    Location
    New York
    Posts
    3,587
    Country

    Argentina
    DNF$
    1,253
    Bank
    0
    Total DNF$
    1,253
    Donate  

    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.....

  4. #4
    Trust & Reliability
    DNP's Avatar
    Join Date
    Nov 2006
    Posts
    7,660
    Country

    Canada
    DNF$
    2,208
    Bank
    0
    Total DNF$
    2,208
    Donate  

    Re: this code error is driving me nuts!

    Do you want us to click on your Adsense ads as well?

  5. #5
    Wordpress Guru
    tonyfloyd's Avatar
    Join Date
    Apr 2007
    Location
    New York
    Posts
    3,587
    Country

    Argentina
    DNF$
    1,253
    Bank
    0
    Total DNF$
    1,253
    Donate  

    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??

  6. #6
    Trust & Reliability
    DNP's Avatar
    Join Date
    Nov 2006
    Posts
    7,660
    Country

    Canada
    DNF$
    2,208
    Bank
    0
    Total DNF$
    2,208
    Donate  

    Re: this code error is driving me nuts!

    no too many questions...

    http:// forums.digitalpoint.com/search.php?searchid=4325261

  7. #7
    Wordpress Guru
    tonyfloyd's Avatar
    Join Date
    Apr 2007
    Location
    New York
    Posts
    3,587
    Country

    Argentina
    DNF$
    1,253
    Bank
    0
    Total DNF$
    1,253
    Donate  

    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??...

  8. #8
    Platinum Lifetime Member

    Join Date
    Nov 2006
    Location
    USA
    Posts
    493
    DNF$
    174
    Bank
    0
    Total DNF$
    174
    Donate  

    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

  9. #9

    Join Date
    Apr 2003
    Location
    .us
    Posts
    1,855
    DNF$
    8,471
    Bank
    0
    Total DNF$
    8,471
    Donate  

    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.

Similar Threads

  1. godaddy code : 10% off any order
    By 103960392 in forum General Domain Name Discussion
    Replies: 16
    Last Post: 12-06-2008, 09:56 AM
  2. Area Code .com Domains. 843hotels.com & more!
    By Zona in forum Domains for Sale (Domain Sales) - Offers Wanted
    Replies: 0
    Last Post: 08-29-2006, 11:20 AM
  3. Replies: 0
    Last Post: 06-07-2006, 03:21 AM
  4. Various names - FindZipCode.us...
    By Catsse in forum Domains for Sale (Domain Sales) - Fixed Prices Above $100
    Replies: 0
    Last Post: 09-14-2005, 07:37 PM
  5. WOW! Free-Codes.com!
    By Jernet in forum Domains for Sale (Domain Sales) - Fixed Prices Above $100
    Replies: 0
    Last Post: 03-09-2004, 11:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com