help with an upgrad...
 
Notifications
Clear all

help with an upgrade issue

8 Posts
4 Users
0 Reactions
3,585 Views
(@guest2388)
Posts: 0
 

Notice: Undefined variable: skin in /home/sga/public_html/stories/includes/class.TemplatePower.inc.php on line 146

Notice: Undefined index: footer in /home/sga/public_html/stories/includes/class.TemplatePower.inc.php on line 701

Notice: Undefined index: footer in /home/sga/public_html/stories/includes/class.TemplatePower.inc.php on line 701

Notice: Undefined index: in /home/sga/public_html/stories/includes/class.TemplatePower.inc.php on line 701

Notice: Undefined index: footer in /home/sga/public_html/stories/includes/class.TemplatePower.inc.php on line 706

Notice: Undefined index: footer in /home/sga/public_html/stories/includes/class.TemplatePower.inc.php on line 713

Notice: Constant _ADDCHALLENGE already defined in /home/sga/public_html/stories/modules/challenges/languages/en.php on line 2

Notice: Constant _CHALLENGES already defined in /home/sga/public_html/stories/modules/challenges/languages/en.php on line 6

Notice: Constant _EDITCHALLENGE already defined in /home/sga/public_html/stories/modules/challenges/languages/en.php on line 9

Notice: Constant _DELETECHALLENGE already defined in /home/sga/public_html/stories/modules/challenges/languages/en.php on line 10

Notice: Constant _ISSUECHALLENGE already defined in /home/sga/public_html/stories/modules/challenges/languages/en.php on line 11

Notice: Constant _REMOVECHALLENGE already defined in /home/sga/public_html/stories/modules/challenges/languages/en.php on line 12

i have these on the page showing up. the upgrade was successful and i deleted wat they said to delete afterwards but i dont know how to fix theses problems. do i delete something in the php files?
Notice: Constant _RESPOND2CHALLENGE already defined in /home/sga/public_html/stories/modules/challenges/languages/en.php on line 13


 
Posted : 05/08/2008 6:01 am
(@guest1448)
Posts: 0
 

Try to reduce the error reporting level in php.ini if your webhost allows it.


error_reporting  =  E_ALL & ~E_NOTICE

This will print all errors except for the notices. If you are on shared webhosting, maybe you can place this code in a php.ini into every directory with php files. I think it's also possible via htaccess, but don't know the exact syntax yet and not every webhost allows overwriting of php settings.

Steffen


 
Posted : 05/08/2008 9:08 am
(@carissa)
Posts: 791
Member Moderator
 

Turning off debugging in your admin panel will usually get rid of these types of notices. Try that before you edit the php files.


 
Posted : 05/08/2008 12:32 pm
(@guest2388)
Posts: 0
 

Turning off debugging in your admin panel will usually get rid of these types of notices. Try that before you edit the php files.

where do i find that?


 
Posted : 05/08/2008 10:19 pm
(@babaca)
Posts: 722
Member Moderator
 

Turning off debugging in your admin panel will usually get rid of these types of notices. Try that before you edit the php files.

where do i find that?

Admin->Settings->Site Settings

Where is says Display Debug Information, select No and click submit.

barb


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 06/08/2008 11:47 am
(@guest2388)
Posts: 0
 

how do i access the admin page to get to the debug thing?

also is there a way to find the code to fix the Add Stories button on the user's page. people cant seem to add stories and i dont know if its the coding or the page itself.


 
Posted : 07/08/2008 11:40 pm
(@babaca)
Posts: 722
Member Moderator
 

how do i access the admin page to get to the debug thing?

If you are an admin, you log in. Once you are logged in you should see a link that says ADMIN
Click on that link and you will see a lot of options.  From there click on the Settings link. From there you should see a link that says Site Settings
In that window you will see the  line about Debug Information.


******************************************
Mucking around in eFiction since circa 2001 (ver. 1.0)
Now running v.3

 
Posted : 07/08/2008 11:47 pm
(@tothejourney)
Posts: 46
Eminent Member
 

Regarding your question about the Add stories link, check Admin Panel>Settings>Submission Settings.  The first thing you'll see is "Turn off unsolicited submissions'.  My guess is you have it set to 'yes'.  That means that only the admin can submit things to the archive.  To allow other people to submit stories, set this to 'no'.


My Site: To The Journey
eFiction: v3.4.3
PHP: 5.2.6
MySQL: 5.0.45-community
Mods: Challenges, Submit Time and Word Count

 
Posted : 08/08/2008 8:28 am
Share: