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 November 23rd, 2006, 10:00 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 244
cant upgrade?

Hi wne we try to upgrade version 5.5 to the new version we get

Error performing MySQL command: ALTER TABLE gallery_users ADD lastphoto INT( 12 ) NOT NULL DEFAULT '0', ADD lastdate INT( 15 ) NOT NULL DEFAULT '0'
Error: Duplicate column name 'lastphoto'

Error performing MySQL command: CREATE TABLE gallery_search ( searchid INT( 12 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , userid INT( 12 ) NOT NULL DEFAULT '0', searchtype VARCHAR( 1 ) NULL , searchterms VARCHAR( 250 ) NULL , searchdate VARCHAR( 5 ) NULL , cats MEDIUMTEXT NULL , name VARCHAR( 64 ) NULL , preview SMALLINT( 1 ) NOT NULL DEFAULT '1', idlist MEDIUMTEXT NULL , numresults INT( 5 ) NOT NULL DEFAULT '0', ipaddress VARCHAR( 15 ) NULL , searchtime FLOAT( 3, 6 ) NOT NULL DEFAULT '0', date INT( 15 ) NOT NULL DEFAULT '0' )
Error: For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column 'searchtime').

Error performing MySQL command: INSERT INTO gallery_settings VALUES (221,'Require users to be registered to use search?','searchreg','','no',1,14)
Error: Duplicate entry '221' for key 1

Error performing MySQL command: INSERT INTO gallery_settings VALUES (222,'Maximium number of search results to return?','searchmax','On larger sites, the less the better.','500',2,14)
Error: Duplicate entry '222' for key 1

Error performing MySQL command: INSERT INTO gallery_settings VALUES (223,'Number of seconds between searches?','searchto','The number of seconds a user must wait between searches.','30',3,14)
Error: Duplicate entry '223' for key 1

Error performing MySQL command: INSERT INTO gallery_settings VALUES (224,'Number of days to hold search results?','searchhold','','7',5,14)
Error: Duplicate entry '224' for key 1

Error performing MySQL command: INSERT INTO gallery_settings VALUES (225,'Display who is viewing a category?','catonline','This option adds a query to the Show Gallery page.','yes',5,4)
Error: Duplicate entry '225' for key 1

Thanks
sanddancer is offline   Reply With Quote
Old November 23rd, 2006, 10:05 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Looks like you already ran your 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 November 23rd, 2006, 10:06 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 244
umm it doesnt create gallery_search
cant find that anywhere?
sanddancer is offline   Reply With Quote
Old November 23rd, 2006, 10:08 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 244
we are running mysql 5.0.22 if thats any help!

Thanks
sanddancer is offline   Reply With Quote
Old November 23rd, 2006, 10:12 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Well try changing the query in upgrade.php to ( 6, 6 ) for the float.

Code:
Content visible to verified customers only.
__________________
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 November 23rd, 2006, 10:15 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 244
hi

that seems to fix it it has created the search table fine?

Thanks!!
sanddancer is offline   Reply With Quote
Old November 23rd, 2006, 11:47 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
No problem must be another mysql 5 strict mode thing
__________________
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
Upgrade error on upgrade from 5.0 release to 5.1 zacksof Photopost Pro Installation & Upgrades 20 December 1st, 2006 11:43 AM
RP3.11 to 3.3 upgrade... new product photos (since upgrade) not being shown criscokid ReviewPost Installation & Upgrades 2 April 30th, 2006 08:34 AM
Upgrade vBulletin = must upgrade vBGallery? LBmtb Before You Buy 1 January 19th, 2006 06:11 AM
Upgrade 4.8d to 5.03 upgrade.php problem dbullock Photopost Pro Installation & Upgrades 4 May 19th, 2005 11:13 AM


All times are GMT -5. The time now is 02:41 PM.

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