Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: rogerloxton - helmikuu 05, 2009, 08:11:29 IP

Otsikko: Fatal Error after trying to upgrade from beta 4 to RC1 [RESOLVED]
Kirjoitti: rogerloxton - helmikuu 05, 2009, 08:11:29 IP
Hi All,

I'm still fairly inexperienced with all things like this, but up until this evening, I've been doing pretty well.

I went to install the upgrade from beta 4 to RC1 and got as far as cleanup mods. I made the silly mistake of not uninstalling the mods and letting the upgrade utility fix the mods - it then went on to the next page and I got this error
Lainaa
Fatal error: Cannot redeclare loadpmwarning() (previously declared in /var/www/vhosts/acrossthepond-forum.com/httpdocs/SMF/Sources/Load.php:2524) in /var/www/vhosts/acrossthepond-forum.com/httpdocs/SMF/Sources/Load.php on line 2559

Can someone help me please as I've had quite a nice forum running and don't want to lose it!

Many thanks in advance.
Otsikko: Re: Fatal Error after trying to upgrade from beta 4 to RC1
Kirjoitti: aldo - helmikuu 05, 2009, 10:02:39 IP
As it seems, the modification has been installed twice (or at least more then one time :P) so you will need to go into Load.php and remove all but one of the declarations of loadPMWarning()
Otsikko: Re: Fatal Error after trying to upgrade from beta 4 to RC1
Kirjoitti: Mystery? - helmikuu 05, 2009, 10:08:47 IP
Lainaus käyttäjältä: rogerloxton - helmikuu 05, 2009, 08:11:29 IP
Hi All,

I'm still fairly inexperienced with all things like this, but up until this evening, I've been doing pretty well.

I went to install the upgrade from beta 4 to RC1 and got as far as cleanup mods. I made the silly mistake of not uninstalling the mods and letting the upgrade utility fix the mods - it then went on to the next page and I got this error
Lainaa
Fatal error: Cannot redeclare loadpmwarning() (previously declared in /var/www/vhosts/acrossthepond-forum.com/httpdocs/SMF/Sources/Load.php:2524) in /var/www/vhosts/acrossthepond-forum.com/httpdocs/SMF/Sources/Load.php on line 2559

Can someone help me please as I've had quite a nice forum running and don't want to lose it!

Many thanks in advance.

Dude I had the exact same problem!

Thread: http://www.simplemachines.org/community/index.php?topic=290882.0
Otsikko: Re: Fatal Error after trying to upgrade from beta 4 to RC1
Kirjoitti: rogerloxton - helmikuu 06, 2009, 04:14:35 AP
Thanks!  :) All fixed now after a steep learning curve..

Thanks to all those who helped.