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 March 30th, 2006, 02:48 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2004
Posts: 29
getting huge errors when running the upgrade script 4.8 -> 5.3

So I downloaded the latest version and followed the directions in the documents folder as it related to upgrades, including filling in the data in the config-inc.php file. At the first screen I get this:

Performing MySQL command: INSERT INTO pp_settings VALUES (166,'BotBuster Integration', 'botbuster', 'Set to yes if you have BotBuster on your system (this includes the necessary tag)', 'no', 22, 1) ... Error: Duplicate entry '166' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (167,'Enable ZLIB page compression', 'compression', 'Set to on if you want to enable Zlib page compression (and it is supported)', 'no', 23, 1) ... Error: Duplicate entry '167' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (168,'Date format', 'ppdateformat', 'Keywords: dow, month, mm, dd, yyyy', '', 24, 1) ... Error: Duplicate entry '168' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (169,'GMT Offset', 'gmtoffset', 'If you are running VB and want the server to display the time as an offset of GMT (for example, to the timezone where your server is located), enter the offset here.', '', 25, 1) ... Error: Duplicate entry '169' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (170,'Enable IP Cache Timeout', 'ipcache', 'This variable is used to track IP addresses and userids for voting and viewing purposes. This is set in HOURS. 0 disables this setting', '', 26, 1) ... Error: Duplicate entry '170' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (171,'PhotoPost Cookie Path', 'cookie_path', 'This should be set to match the path/domain for your cookies. Setting to / enables entire site.', '', 1, 12) ... Error: Duplicate entry '171' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (172,'Forum Cookie Prefix', 'cookieprefix', 'Some Default values vB3: bb, phpBB2: phpbb2mysql, Threads: w3t_', '', 2, 12) ... Error: Duplicate entry '172' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (173,'PhotoPost Cookie Domain', 'domain_path', '.yourdomain.com; sets the cookie to be usable across the domain', '', 3, 12) ... Error: Duplicate entry '173' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (174,'Debug Setting', 'debug', 'How do you want PhotoPost to handle errors?', '', 27, 1) ... Error: Duplicate entry '174' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (175,'Enable On-The-Fly Watermarks', 'onthefly', 'Requires GD2 and you must edit the file watermark.php', 'no', 29, 5) ... Error: Duplicate entry '175' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (176,'Imaging Integration (IM or GD)', 'usegd', 'Select ImageMagick or GD1/GD2 for image processing', '', 28, 1) ... Error: Duplicate entry '176' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (177,'Directory for backups?', 'backupdir', 'The full path to the directory to store backups', '', 29, 1) ... Error: Duplicate entry '177' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (178,'Path to mysqldump', 'mysqldumppath', 'The full path to your mysqldump executable', '', 30, 1) ... Error: Duplicate entry '178' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (179,'Path to jpegtran (if used)', 'jpegtran', 'If you would like to clean any JPG image uploaded before being processed; enter the path to your jpegtran executable.', '', 18, 1) ... Error: Duplicate entry '179' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (180,'Path to jhead (if used)', 'jhead_command', 'This only needs to be set if you are extracting EXIF information from images. Full server path.', '', 19, 1) ... Error: Duplicate entry '180' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (181,'Gallery Open?', 'ppboards', 'Yes for Open, No for Closed', '', 20, 1) ... Error: Duplicate entry '181' for key 1
Performing MySQL command: INSERT INTO pp_settings VALUES (182,'Message displayed when closed', 'closedmsg', '', '', 21, 1) ... Error: Duplicate entry '182' for key 1
Performing MySQL command: REPLACE INTO pp_settings VALUES (165,'Your SMF Cookie Name', 'smfcookie', 'Only needed for users of SMF forums', '', 5, 13) ... Successful!
Performing MySQL command: REPLACE INTO pp_settings VALUES (183,'Show Peronsal Albums Index link under Members Gallery?', 'showalbum', 'Adds a text link to the Albums index into the Members Gallery description', 'yes', 10, 3) ... Successful!
Performing MySQL command: REPLACE INTO pp_settings VALUES (184,'Allow users to move their own images?','usermove', '', 'no', 16, 2) ... Successful!
Performing MySQL command: REPLACE INTO pp_settings VALUES (84,'PhotoPost Version','pversion','','4.85',53,0) ... Successful!
Performing MySQL command: REPLACE INTO pp_settings VALUES (37,'cright','cright','','Powered by: PhotoPost --replaceme--
Copyright 2006 All Enthusiast, Inc.',300,'0') ... Successful!
Performing MySQL command: REPLACE INTO pp_admingroups VALUES (12,'Cookie Settings') ... Successful!
Performing MySQL command: REPLACE INTO pp_admingroups VALUES (13,'Forum Settings') ... Successful!
Performing MySQL command: ALTER TABLE pp_usergroups ADD uplimit INT(5) DEFAULT '0' NOT NULL ... Error: Duplicate column name 'uplimit'
Performing MySQL command: ALTER TABLE pp_categories ADD ugnovote VARCHAR(255) NULL AFTER ugnopost ... Error: Duplicate column name 'ugnovote'
Performing MySQL command: UPDATE pp_settings SET title='Allow users to delete their own images?',optionorder=17 WHERE id=91 ... Successful!
Performing MySQL command: ALTER TABLE pp_categories CHANGE catorder catorder MEDIUMINT(4) DEFAULT '9999' NOT NULL ... Successful!
Performing MySQL command: UPDATE pp_categories SET catorder=9999 WHERE catorder=0 AND cattype='a' ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=13,optionorder=1 WHERE id=7 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=13,optionorder=2 WHERE id=41 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=13,optionorder=3 WHERE id=83 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=13,optionorder=4 WHERE id=163 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=13,optionorder=5 WHERE id=153 ... Successful!

What does this mean? Can I proceed or is the upgrade not working?
tribedude is offline   Reply With Quote
Old March 30th, 2006, 03:03 PM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2004
Posts: 29
well I proceeded and although it said the upgrade completed, now I have a completely blank gallery with no categories or thumbnails or images. I sftpd in and see that the images stillexist in the data directory however.

What do I do, do a fresh install?

Run the upgrade again?


This sucks
tribedude is offline   Reply With Quote
Old March 30th, 2006, 05:32 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
duplicate errors mean you ran the upgrade already.

You ran the 485 upgrade more than once if your missing images. As the upgrade instructions state about taking a backup before upgrading go ahead and restore a backup of your photos table and run the 485 upgrade forward only once.
__________________
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 March 30th, 2006, 05:40 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2004
Posts: 29
I only backed up the data folder. I did not back up the entire gallery directory. The database function did not work in the previous version when I tried to run it from the admin control panel. The upgrade I did seems to work (I am not getting errors), and it says the version is 5.3. It's just that there are no images or thumbnails in my gallery any more. The config settings seem OK too.

I didn't have that many galleries. DO I just upload the pics again to re-add the images and thumbnails? Or is there a way to get it to recognize the existing data file that seems to have all the images in it...?
tribedude is offline   Reply With Quote
Old March 30th, 2006, 06:19 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
If you do not have a mysql backup you need to reupload the photos

Ask your host if they have a backup of 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
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
Running 4.6 - considering upgrade to 5.3 ph0enix Before You Buy 2 February 1st, 2006 02:16 PM
Upgrading 4.81 to 5.0 - errors when running upgrade script Pauline Kenny Photopost Pro Installation & Upgrades 1 March 8th, 2005 01:22 PM
error running upgrade.php Regs Classifieds Installation & Upgrades 3 December 8th, 2004 11:26 AM
Error running upgrade nsxprime Photopost Pro Installation & Upgrades 3 August 23rd, 2004 03:00 PM


All times are GMT -5. The time now is 06:12 PM.

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