Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
poi0
Registered User
Posts: 100
Joined: Sat Dec 15, 2007 6:04 pm

Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by poi0 » Tue May 22, 2018 1:33 pm

It's been a while since I've updated my board. It's currently running 3.1.4

I checked the requirements for 3.2.2, and it specifies PHP 5.4.7+. I'm on PHP 5.3.28. I changed the version in my webhost control panel, and I get a 500 Internal Server Error for any version above what I'm on currently.

Anything I can do myself, or should I just ask my host to sort it?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19321
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff
Contact:

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by Mick » Tue May 22, 2018 1:37 pm

I don’t see why upping the PHP version would give you a server error, yes the host would be the first place to ask. If you’re upgrading you should follow this:

Notes:
  • Your server must be running at least PHP 5.4.7 or higher.
  • phpBB 3.2 is not completely backwards compatible with 3.1 and custom edits may no longer work. The easiest upgrade method is to remove all existing files prior to upgrading and re-applying custom changes after verifying their correctness.

    To upgrade, perform the following steps:
  1. Make a back-up of the original files and database
  2. Deactivate all styles except for prosilver
  3. Deactivate any extensions which are not compatible with phpBB 3.2. Check with the extension author to find out if an extension is compatible or not.
  4. Ensure that the activated spambot countermeasure is one of the standard phpBB plugins (Simple image, GD image, GD 3D image, Q&A, reCaptacha).
  5. Set British English as the only language pack and delete all other language pack directories from your server
  6. Delete all of your phpBB 3.1.x files EXCEPT for the following:
    • The config.php file
    • The /ext/ directory
    • The /images/ directory
    • The /files/ directory
    • The /store/ directory
  7. Upload the contents of the phpBB3 directory from the uncompressed 3.2.x Full Package (EXCEPT for config.php) into your forum's directory (Note: you don't want to overwrite your original config.php file)
  8. Browse to www.example.com/install/
  9. Click the Update tab
  10. Click the Update button
  11. Select "Update database only" and click Submit
  12. Wait for the progress bar to reach 100% and for a message indicating that the update has completed
  13. Delete or rename the /install/ directory
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

poi0
Registered User
Posts: 100
Joined: Sat Dec 15, 2007 6:04 pm

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by poi0 » Tue May 22, 2018 1:43 pm

I'll throw the php version issue to the host, and then try again.

Ta

poi0
Registered User
Posts: 100
Joined: Sat Dec 15, 2007 6:04 pm

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by poi0 » Tue May 22, 2018 4:12 pm

Host fixed the php version, did my backups, and then when I hit the update itself, it timed out. It did that almost straight away, so I've undone it all and reinstated my earlier version for now, and will come back to it when I have a spare half day :)

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19321
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff
Contact:

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by Mick » Tue May 22, 2018 5:49 pm

Before you try again change mysql to mysqli in config.php if it’s not already.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

poi0
Registered User
Posts: 100
Joined: Sat Dec 15, 2007 6:04 pm

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by poi0 » Wed May 23, 2018 8:13 am

Another small panic. Undid everything, started again from yesterday's files. I don't have an update tab, only an install tab. I had an update tab yesterday before I rolled everything back.

poi0
Registered User
Posts: 100
Joined: Sat Dec 15, 2007 6:04 pm

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by poi0 » Wed May 23, 2018 8:32 am

And my database is now three year's old. I'm rolling everything back.

janus_zonstraal
Registered User
Posts: 2352
Joined: Sat Aug 30, 2014 1:30 pm

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by janus_zonstraal » Wed May 23, 2018 8:43 am

poi0 wrote:
Wed May 23, 2018 8:13 am
Another small panic. Undid everything, started again from yesterday's files. I don't have an update tab, only an install tab. I had an update tab yesterday before I rolled everything back.
Probably you overwrite your config file
Upload the contents of the phpBB3 directory from the uncompressed 3.2.x Full Package (EXCEPT for config.php) into your forum's directory (Note: you don't want to overwrite your original config.php file)
Sorry! My English is bat ;) !!!

poi0
Registered User
Posts: 100
Joined: Sat Dec 15, 2007 6:04 pm

Re: Trying to update from 3.1.4 to 3.2.2 - PHP version problem

Post by poi0 » Wed May 23, 2018 8:46 am

janus_zonstraal wrote:
Wed May 23, 2018 8:43 am
poi0 wrote:
Wed May 23, 2018 8:13 am
Another small panic. Undid everything, started again from yesterday's files. I don't have an update tab, only an install tab. I had an update tab yesterday before I rolled everything back.
Probably you overwrite your config file
Upload the contents of the phpBB3 directory from the uncompressed 3.2.x Full Package (EXCEPT for config.php) into your forum's directory (Note: you don't want to overwrite your original config.php file)
Worked that one out, but still ended up losing three years of database for some reason. Rolled back to 3.1.4, and it's all back, working.

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: abrogard, Paul, PowerIdeas and 25 guests