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 25th, 2006, 09:58 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
Error during upgrade from 5.5 to 5.6

I have no idea what this is. I had my photopost professionally installed and upgraded just a week ago. I don't understand why I have these problems.

Preparing to update database...
Error performing MySQL command: CREATE TABLE 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: Table 'search' already exists


My CP says that I'm upgraded to 5.6 but I'm not comfortable with this. The install didn't say finished. Last thing I saw was this error with no option to move forward. How do I fix this?
The Wedge is offline   Reply With Quote
Old November 25th, 2006, 03:19 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
duplicate mysql error means you ran the script twice
__________________
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 25th, 2006, 04:24 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
Quote:
Originally Posted by Chuck S View Post
duplicate mysql error means you ran the script twice
No, I ran it once. I know for a fact. What is the solution with this? Now I notice my search doesn't work.
The Wedge is offline   Reply With Quote
Old November 25th, 2006, 04:33 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
what do you mean search does not work are you specifying a date range etc
__________________
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 25th, 2006, 04:48 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
it doesn't work when I choose a date range either. Plus on the main page there is no date range option. Obviously something is wrong. And I'm 100% positive I didn't run any script twice.

you can try for yourself www.sicktracks.com/galleries
The Wedge is offline   Reply With Quote
Old November 26th, 2006, 02:29 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Make sure the search table you have is ours and not from some hack you have installed for vbulletin. The search table in Photopost must be installed for your search to work. We have another user I was reading he had a search table and fessed up to a vb hack having a table name of that nature
__________________
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 26th, 2006, 04:09 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
how do I know if it's from photopost or not? And what search table does vbulletin use? If this is from a hack then it's from an old version of the site when I had vb 2.2.9. I recently upgraded everything. But every site I've done with vb regardless of hacks has a "search" table.
The Wedge is offline   Reply With Quote
Old November 26th, 2006, 04:14 PM   #8 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Is your photopost installed in the same database as vBulletin? Does your PhotoPost installation have a prefix?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 26th, 2006, 04:24 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
no it doesn't have a prefix and yes it is in the same database as vB. If you are going to ask why it was done like this then the answer is because I had you guys initially install this back a few years ago. So that is how it was done
The Wedge is offline   Reply With Quote
Old November 26th, 2006, 05:29 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
If this is a hack from vb you can uninstall the hack for vb and then run our upgrade and you should be fine.
__________________
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 26th, 2006, 05:50 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
vB HAS a search table already in there. Not from a hack. I just checked a site that has only vB installed on it with no hacks. it was just installed from a new database.
The Wedge is offline   Reply With Quote
Old November 26th, 2006, 10:21 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
I would suggest renaming your photopost tables to include a table prefix like pp_ to not conflict with vBulletin.
__________________
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 26th, 2006, 10:26 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
Why wasn't that done on the initial install?

How do I know which tables are photoposts?
The Wedge is offline   Reply With Quote
Old November 26th, 2006, 10:29 PM   #14 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
The default for installation is to add pp_ as a table prefix;

pp_admingroups
pp_admlog
pp_cache
pp_categories
pp_comments
pp_ecards
pp_exif
pp_extrafields
pp_favorites
pp_ipcache
pp_iponline
pp_laston
pp_notify
pp_perpage
pp_photoextras
pp_photos
pp_photoviews
pp_search
pp_settings
pp_sort
pp_sortmemb
pp_stylesheet
pp_usergroups
pp_users
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 26th, 2006, 10:35 PM   #15 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Here are the SQL commands that you can copy and paste (be sure to close your gallery first).

Code:
Content visible to verified customers only.
You'll need to edit your config-inc.php and change

$pp_db_prefix = "pp_";

And you'll have to create the search table:

Code:
Content visible to verified customers only.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 27th, 2006, 06:36 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
Thanks. After I do this I will be able to run the install again? Do you see any problems with the steps already completed last time I tried to install?
The Wedge is offline   Reply With Quote
Old November 27th, 2006, 06:52 AM   #17 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
If you are running install for the first time, you can just remove the PhotoPost tables and run install again using pp_ as your prefix (you dont need to rename the tables if this is a new installation).

I assumed you were modifying an existing installation.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 27th, 2006, 07:09 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
I meant upgrade
The Wedge is offline   Reply With Quote
Old November 27th, 2006, 07:12 AM   #19 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Oh, if everything else worked okay, you wouldn't need to run it again after doing this.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 27th, 2006, 08:01 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Feb 2003
Posts: 71
i tried this on my test site and I see that after I rename the tables the old tables are still there in my phpmyadmin. Is this normal? Should I delete these old tables?
The Wedge 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
Error after upgrade from 3.52 - 3.54 cabizeid Installs and Upgrade - vBulletin 3.5.X 2 February 23rd, 2006 10:19 AM
error after upgrade to vb 3.5.2 weirdpixels Installs and Upgrade - vBulletin 3.5.X 9 December 10th, 2005 05:10 AM
upgrade error medieval Classifieds Bug Reports 2 September 29th, 2005 12:47 PM
5.1 error on upgrade. SoCalrailFan Photopost Pro Installation & Upgrades 9 May 27th, 2005 10:44 PM


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

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