Page 1 of 1

Getting error 500 after removing install directory once update was completed.

Posted: Thu Jan 28, 2016 10:31 am
by pantherfan
Support Request Template
What version of phpBB are you using? phpBB 3.1.7-pl1
What is your board's URL? http://www.writersplay.net
Who do you host your board with? Hosting it myself on a ramnode vps.
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? phpBB 3.1.6
What extensions do you have installed? @mention system, ajax chat, auto database backup, board notices manager, Collapsible Forum Categories, database optimize and repair tool, delete my registration, first post on every page, list subforums in columns, loading indicator, log failed logins, log new user, lygav/phpbbPostLike - A Facebook like 'Like' button for PHPBB, move topics when locked, new topics need approval, pages, PM Welcome, Posting Template, postnumbers, Scroll to Top, search user topics, stop forum spam, topic preview.
What styles do you currently have installed? Prosilver, AllanStyle-SUBSILVER, black and prosilver special edition.
What language(s) is your board currently using? American english
Which database type/version are you using? MYSQL 5
What is your level of experience? New to PHP and PHPBB.
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Updated from phpBB 3.1.6 to 3.1.7PL1 using the update tab in ACP.
Please describe your problem. Updated from 3.1.6 to 3.1.7PL1 using the automatic updater. Everything went fine or so it said on the final screen. If I go to my homepage, it says I need to delete or move the install directory. As soon as I do this, and refresh, I get a server 500 error. Putting the install directory back makes the board come up again, but with that same error. I see nothing in acp>error log, so am a bit confused as to what to try.
Generated by SRT Generator

Re: Getting error 500 after removing install directory once update was completed.

Posted: Thu Jan 28, 2016 10:44 am
by david63
What does your server error log say?

Re: Getting error 500 after removing install directory once update was completed.

Posted: Thu Jan 28, 2016 5:27 pm
by pantherfan
If you mean my webserver, I get this. If you mean another log just let me know.
tail /var/log/lighttpd/error.log
2016-01-28 12:22:40: (mod_fastcgi.c.2695) FastCGI-stderr: PHP message: PHP Fatal
error: Cannot redeclare display_forums() in »ěN on line 25

Re: Getting error 500 after removing install directory once update was completed.

Posted: Thu Jan 28, 2016 6:21 pm
by Lumpy Burgertushie
try doing the update again. only this time do not use the auto update method.

download the full package, unzip it and remove the config.php file .

then upload all the rest to the server letting them overwrite what is there.

then , in your browser , go to yourdomain.com/yourphpbb/install/database_update.php

then when it is finished, go back and delete the folder named install.

you are done.


robert

Re: Getting error 500 after removing install directory once update was completed.

Posted: Fri Jan 29, 2016 3:55 am
by pantherfan
Awesome! That seems to have fixed it. If you don't mind me asking, do we know what causes that to happen?

Re: Getting error 500 after removing install directory once update was completed.

Posted: Fri Jan 29, 2016 5:15 am
by Lumpy Burgertushie
usually it will be because there is some file from the old version that is not getting updated properly when using the auto update method.

the only time you should use that auto update method is if for some reason ,you have been editing the core phpbb files.

with the new extension system for phpbb 3.1.x there is rarely a need for editing the actual files , therefore a simple file replacement works the best for updating.

robert