Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 11-30-2009, 04:05 PM "Fatal Error"
Moritz's Avatar
Average Talker

Posts: 24
Name: Daniel Moritz
Location: Sweden
Trades: 0
Code:
Fatal error:  Cannot redeclare opensidex() (previously declared in /home/a2467007/public_html/themes/BWTheme/theme.php:172) in /home/a2467007/public_html/includes/theme_functions_include.php on line 196
That comes up when i start a theme.

Code:
PHP Code:
 function opensidex($title$state "on") {
  
openside($titletrue$state);
     }

function 
closesidex() {

    
closeside(); 
Moritz is offline
Reply With Quote
View Public Profile Visit Moritz's homepage!
 
 
Register now for full access!
Old 11-30-2009, 05:31 PM Re: "Fatal Error"
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
opensidex() was declared in a file included earlier already... which ever it is if you included the file with the class declaration opensidex you need to set it to include_once() or require_once()
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 12-01-2009, 09:01 AM Re: "Fatal Error"
Ultra Talker

Posts: 339
Trades: 0
You need to define each function only once. If you define the same function in multiple files, you may get this error. So make sure there are no duplicates
__________________
Daniel, Helpdesk Leader

Please login or register to view this content. Registration is FREE
- First class web hosting services.

Please login or register to view this content. Registration is FREE
- Provide unlimited disk space and bandwidth!
Hosting24 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to "Fatal Error"
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17696 seconds with 12 queries