View Full Version : Error running upgrade
August 23rd, 2004, 10:19 AM
I am having trouble running the upgrade.php script (or any of the individual scripts). Yes, I copied all the upgrade files into the main photopost directory. When I try to run http://www.nsxprime.com/photopost/upgrade.php I get an Internal Server Error. Checking the log shows the following error message:
[Mon Aug 23 10:53:42 2004] [error] [client xx.xx.xx.xx] Premature end of script headers: /home/nsxprime/public_html/photopost/upgrade.php
I looked at the actual upgrade.php file on the server and it appears intact and complete.
I'm sure it is something stupid but I've been messing with this for a long time and can't figure out what's wrong. Thanks for any help.
August 23rd, 2004, 11:47 AM
It appears you do not have the upgrade files in the main directory.
----/and so on...
but you need to have
--/and so on...
If I go to http://www.nsxprime.com/photopost/upgrades/upgrade.php I can see the upgrade.php script but it will not run from this directory. It looks like you might have uploaded the entire upgrades directory to the photopost directory causing the upgrade scripts to be in the subdirectory "upgrades". Simply copy all the files from the upgrades folder to the photopost folder and your problem should be solved.
August 23rd, 2004, 01:52 PM
Thanks for the response, I just noticed something I'll try and get back to you.
August 23rd, 2004, 02:00 PM
I solved it. I did have the files in the main photopost directory (I copied the contents of ./photopost/upgrades to ./photopost, which is why you still saw the ./upgrades folder).
However I needed to chown the upgrade*.php files. I uploaded them as root so root was the owner, but they needed to be owned by the account that runs Apache since they run through the web server.
Anyway thanks for the quick response and hopefully this info will help someone else who made the same mistake (or missed the same part of the instructions if it was in TFM)!
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.