Page 1 of 1

Auto Upgrade Loop during File Checking workaround

Posted: Tue Feb 23, 2010 7:22 am
by sikwan
I couldn't find a solution so here goes...

In reference to this bug... http://www.phpbb.com/bugs/phpbb3/54075

Using the Auto Upgrade to upgrade 3.0.5 to 3.0.6, it was stuck in a loop trying to merge (in my case) files /includes/session.php and /includes/ucp/ucp_register.php. No matter what I selected (merge, keep new, or keep old), those two files kept on appearing. I had a few mods and I didn't feel like doing a new install and reinstalling each mod.

Download (save) the merged files. I saved the above two newly merged files into a zip file. I also verified that the two files in the working directories did merge. You don't really need to save the files as the files are already merged in their directories, but it's good to have a backup.

The workaround is to Edit the /install/update/index.php file. Remove the filenames from the array that is causing the looping. In my case it was session.php and ucp_register.php.

Select Check Files again. It should be successful.

Note: I had to use Easyphp for an offline update as I was getting 500 internal server errors. I used Easyphp 5.2.10 as 5.3.1 brought me to a blank screen.

Re: Auto Upgrade Loop during File Checking workaround

Posted: Wed Feb 24, 2010 7:02 am
by NazTheEternal
The error I get is....

Code: Select all

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
I checked the logs and I got this...

Code: Select all

[Sun Feb  7 12:13:53 2010] [error] Premature end of script headers: /var/chroot/home/content/.../forum/install/index.php
Is this similar to the error you were getting?