Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Sartavos on March 31, 2008, 03:54:09 PM

Title: Cannot access Admin area after upgrade
Post by: Sartavos on March 31, 2008, 03:54:09 PM
I upgraded from 1.1.4 to 2.0.3b and I now get this error message when clicking on the admin panel.

Fatal error: Cannot redeclare optimizetables() (previously declared in /home/www/web1140/html/forum/Sources/ManageMaintenance.php:1300) in /home/www/web1140/html/forum/Sources/Admin.php on line 306

What's the problem?  :-[
Title: Re: Cannot access Admin area after upgrade
Post by: jossanaijr on March 31, 2008, 04:29:30 PM
Re-upload the entire Sources directory from an SMF 2.0 package (doesn't matter which one) and make sure the files are being overwritten. The optimizetables() function was moved to ManageMaintenance.php in 2.0.

http://www.simplemachines.org/community/index.php?topic=229052.0
Title: Re: Cannot access Admin area after upgrade
Post by: Sartavos on March 31, 2008, 04:30:32 PM
Thank you!  ;)