SimplePortal

Support => Install and Upgrade => Topic started by: mag on November 16, 2010, 12:28:40 PM

Title: ssi_shutdown defined twice?
Post by: mag on November 16, 2010, 12:28:40 PM
Hi, just after activate the module, i have this error on the forum:

Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /home3/flapsone/public_html/bmwlt/foros/SSI.php:196) in /home3/flapsone/public_html/bmwlt/foros/SSI.php on line 198

the forum is in www.bmw-lt.com/foros (http://www.bmw-lt.com/foros)

i dont know how proceed, thanks for help!

i attach the index.php and ssi.php
Title: Re: ssi_shutdown defined twice?
Post by: AngelinaBelle on November 16, 2010, 01:49:38 PM
Please check that this is the same SSI.php file as the one from the error message.
The one you attached says it is from SMF 1.1.7, and it defines ssi_shutdown on line 194.
Title: Re: ssi_shutdown defined twice?
Post by: mag on November 16, 2010, 05:29:53 PM
Thanks angelina, but now what i must do, i have only access by FTP, not the forum..i must delete files?
i was looking for all the ssi archives, and i find two, that i insert here, can you guide me to next step?
(i renamed the other ssi as SSI (other) but the real name is "SSI.php~"
Title: Re: ssi_shutdown defined twice?
Post by: mag on November 17, 2010, 06:31:38 AM
Solved, thanks!
Title: Re: ssi_shutdown defined twice?
Post by: AngelinaBelle on November 17, 2010, 08:37:53 AM
I'm glad you fixed the problem -- can you say what the problem was and how you fixed it?
Thanks!
Title: Re: ssi_shutdown defined twice?
Post by: mag on November 17, 2010, 10:37:23 AM
Hi Angelina, an archive (recent.php) that show last posts in the website, i deactivated and voalá!:) working
Title: Re: ssi_shutdown defined twice?
Post by: AngelinaBelle on November 17, 2010, 10:55:04 AM
Hmmm....
I am guessing require.php contained a "require" or "include" statement for SSI.php?
 
Replacing this with require_once ought to fix that problem.
Title: Re: ssi_shutdown defined twice?
Post by: mag on November 17, 2010, 10:57:28 AM
uhm, ill try it Angeline, thanks
SimplePortal 2.3.8 © 2008-2024, SimplePortal