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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old October 10th, 2006, 04:28 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
Failed Upgrade to 5.5

Just tried to upgrade from 5.3 to 5.5 and got the following when running the upgrade.php file. I now get a blank page when trying to login to photopost. Any ideas before I make things any worse.

Preparing to update database...
Error performing MySQL command: INSERT INTO pp_settings VALUES (213,'Show html code to display photos?','showhtml','Do you want to show the img src html tag for a photo?','no',6,5)
Error: Duplicate entry '213' for key 1

Error performing MySQL command: INSERT INTO pp_settings VALUES (214,'Show direct links to photos?','showdirect','Do you want to display the page link to a photo?','no',7,5)
Error: Duplicate entry '214' for key 1

Error performing MySQL command: INSERT INTO pp_settings VALUES (215,'Load limit for server?','loadlimit','If running *nix and you want to disable your forums when load goes over a certain limit; place the high limit here.','0',35,1)
Error: Duplicate entry '215' for key 1

Error performing MySQL command: INSERT INTO pp_settings VALUES (216,'Default number of thumbnail rows?','thumbrows','How many rows of thumbnails do you want to display by default on this page?','3',5,4)
Error: Duplicate entry '216' for key 1

Error performing MySQL command: ALTER TABLE pp_categories ADD thumbtype INT(2) UNSIGNED DEFAULT '0'
Error: Duplicate column name 'thumbtype'

Error performing MySQL command: INSERT INTO pp_settings VALUES (217,'Use category cache?','catcache','On some larger sites, using the category cache can actually reduce performance.','yes',36,1)
Error: Duplicate entry '217' for key 1

Error performing MySQL command: INSERT INTO pp_settings VALUES (218,'Display Featured Photos on this page?','features','On larger sites this option can slow down the showgallery page. Turn off to speed up this page.','yes',8,5)
Error: Duplicate entry '218' for key 1

Error performing MySQL command: INSERT INTO pp_settings VALUES (219,'Display Admin quick move/delete options under photo?','quickopts','On larger sites this option can slow down the showphoto page. Turn off to speed up this page.','yes',8,5)
Error: Duplicate entry '219' for key 1

Error performing MySQL command: ALTER TABLE pp_categories ADD subalbum INT(12) DEFAULT '0' NOT NULL AFTER albums
Error: Duplicate column name 'subalbum'


Upgrade complete! You may now remove the upgrade.php script.
Tracker is offline   Reply With Quote
Old October 10th, 2006, 04:41 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
duplicate entry just means you ran the upgrade more than once.

some more info here would assist us like url to your install integration type etc. You did not replace your config files right? If your integrating with vb3 make sure your $vbpath is correct. This will cause a white page.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 11th, 2006, 06:32 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
Sorry Chuck it was late when I first posted.

More info then:-
I copied all the 5.5 update files to the correct folders on my 5.3 installation. I then ran the upgrade.php file and received the message in my above post(this was on the first run of upgrade.php). I then tried to access my site and received a white but blank screen. On reading some posts on this forum I though maybe I should copy my original config files back, but this did not help, I ran the upgrade.php again with my original config files, no different.
If I add the index.php to the end of the url I receive the following message,
Fatal error: Call to undefined function: update_whoonline() in /homepages/5/d161531532/htdocs/photopost/pp-inc.php on line 484

My installation is at http://www.trackaction-online.co.uk/photopost/

PS: My forum is phpbb and uses the same mysql database, I didn't close the forum before upgrade but I did close photopost.

Last edited by Tracker; October 11th, 2006 at 06:58 AM.
Tracker is offline   Reply With Quote
Old October 11th, 2006, 09:02 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You need to make sure you have uploaded all the new files. The error your posting tells me you have not uploaded all the files.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 11th, 2006, 11:40 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
Phew..Thanks I've uploaded all the files again and I can now gain access, do I need to run the update.php again? The site does look different so I'm assuming the update is now applied.
Tracker is offline   Reply With Quote
Old October 11th, 2006, 12:13 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You should be fine you already upgraded the database
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 11th, 2006, 12:20 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
I've Just noticed that when I try to access any images I get the following error message.
Is this because I have the board set to closed or is this some other type of problem?


We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT id,user,userid,cat,storecat,storeid,date,title,description,keywords,bigimage,width,
height,filesize,views,medwidth,medheight,medsize,approved,rating,extra1,extra2,extra3,extra4,
extra5,extra6,disporder,ipaddress,allowprint,allowrate,allowcoms FROM pp_photos WHERE id=92

Result: Unknown column 'allowrate' in 'field list'

Database handle: Resource id #6

Last edited by Tracker; October 11th, 2006 at 12:26 PM.
Tracker is offline   Reply With Quote
Old October 11th, 2006, 12:33 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Your missing a column rerun the 5.3-5.5 upgrade
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 11th, 2006, 12:47 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
Yep, that works fine, your a genius mate, thanks very much.

Just one last little question, I now need to add "\index.php" to the end of my URL, previously I didn't need to do this, any idea?
Tracker is offline   Reply With Quote
Old October 11th, 2006, 12:55 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Depends on your site do you have an htaccess on your main web root with something like this in it?

Directory Index index.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 11th, 2006, 02:15 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 27
Quote:
Originally Posted by Chuck S View Post
Depends on your site do you have an htaccess on your main web root with something like this in it?

Directory Index index.php
I can't find one, but that file name does ring a bell with me. No big issue though I can work around it.

Thanks again for all your help.
Tracker is offline   Reply With Quote
Old October 11th, 2006, 06:37 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
You need to create a file named .htaccess and put it in your web root with the line I noted above being the contents of that said file.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
Division by zero in /path/ FAILED nasko ReviewPost Bug Reports 1 September 11th, 2006 12:53 PM
Desperate...Installation failed... adusei Photopost Pro Installation & Upgrades 3 June 7th, 2006 08:16 AM
Install failed princessfrozen Installs and Upgrade - vBulletin 3.5.X 7 January 25th, 2006 10:22 AM
Failed to install SalTheWop ReviewPost Installation & Upgrades 5 May 19th, 2005 07:10 PM
Successful install failed inplementation 5.0.3 Drunes Photopost Pro Installation & Upgrades 3 April 25th, 2005 06:53 PM


All times are GMT -5. The time now is 01:44 PM.

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