PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 23rd, 2004, 11:19 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 3
Question Error running upgrade

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.

Last edited by nsxprime; August 23rd, 2004 at 11:49 AM.
nsxprime is offline   Reply With Quote
Old August 23rd, 2004, 12:47 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Posts: 196
Hello,

It appears you do not have the upgrade files in the main directory.

You have
/photopost
--/upgrades
----/upgrade.php
----/upgrade47.php
----/upgrade46.php
----/and so on...

but you need to have
/photopost
--/upgrade.php
--/upgrade47.php
--/upgrade46.php
--/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.
dkiefer is offline   Reply With Quote
Old August 23rd, 2004, 02:52 PM   #3 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 3
Thanks for the response, I just noticed something I'll try and get back to you.
nsxprime is offline   Reply With Quote
Old August 23rd, 2004, 03:00 PM   #4 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 3
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)!

Last edited by nsxprime; August 23rd, 2004 at 04:51 PM.
nsxprime is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading 4.81 to 5.0 - errors when running upgrade script Pauline Kenny Photopost Pro Installation & Upgrades 1 March 8th, 2005 01:22 PM
4.8.5 vB3 - Error with Problem running JPEGTRAN wrang Photopost Pro Installation & Upgrades 7 December 20th, 2004 05:09 PM
error running upgrade.php Regs Classifieds Installation & Upgrades 3 December 8th, 2004 11:26 AM


All times are GMT -5. The time now is 08:43 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0