Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

Upgrading Error: SMF 2.0 Beta 4 -> SMF 2.0 RC1

Aloittaja Mystery?, helmikuu 05, 2009, 06:58:16 IP

« edellinen - seuraava »

Mystery?

LainaaFatal error: Cannot redeclare loadpmwarning() (previously declared in /home/mystery/public_html/forum/Sources/Load.php:2632) in /home/mystery/public_html/forum/Sources/Load.php on line 2703

This is the error I get.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

N3RVE

#1
Some code has been declared twice in load.php, open that file, look around the lines the error pointed out and get rid of duplicate code.

Edit: Changed response

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Lainaa"Somewhere, something incredible is waiting to be known." - Carl Sagan

Mystery?

Lainaus käyttäjältä: [n3rve] - helmikuu 05, 2009, 07:09:09 IP
Some code has been declared twice in load.php, open that file, look around the lines the error pointed out and get rid of duplicate code.

Edit: Changed response

-[n3rve]

Now I get this:


Parse error: syntax error, unexpected $end in /home/mystery/public_html/forum/Sources/Load.php on line 2667

because of line 2667 (  ?>   ) without space or parenthesis.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

N3RVE

You probably removed more than you needed to, I'm unable to look into this as I'm currently mobile. I suggest you upload the files and wait on the next available Support Specialist.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Lainaa"Somewhere, something incredible is waiting to be known." - Carl Sagan

Mystery?

Upgraded successfully...

But I have another problem before the upgrade I put the maintainence mode on... Now its still on after the upgrade.
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

N3RVE

You can download repair_settings.php (What is repair_settings.php?) and upload that file to your board directory, call it with a browser and you can turn of mod maintenance from that page.

Alternatively, download and open settings.php, the $maintenance variable currently has it's value set to 2, changing it to 0 will fix that :)

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Lainaa"Somewhere, something incredible is waiting to be known." - Carl Sagan

Mystery?

Now I get this:

LainaaFatal error: Call to undefined function loadpmwarning() in /home/mystery/public_html/forum/index.php on line 188
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

Mystery?

I removed that line and got this instead:

LainaaFatal error: require_once() [function.require]: Failed opening required '/home/mystery/public_html/forum/Sources/Subs-MembersOnlineToday.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mystery/public_html/forum/Sources/BoardIndex.php on line 78
Join my NEW website that I just created and be a big part of it (July 30, 2010): http://www.gamerstatic.net

aldo

That error is probably due to that fact that the file is not in the Sources directory. So you should probably remove the require_once() from it (Only if you completely removed the modification and plan to apply the mod later), or upload the right file.

greyknight17

Looks like it might be from the Users Online Today mod. I suggest uninstalling it (manually if you can't do it from the Package Manager).

Advertisement: