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 > ReviewPost Pro Support Forums > ReviewPost Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 25th, 2005, 01:50 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
Error after upgrade

Everything went well with the upgrade of my 2.91 version to 3.00. I did get one upgrade script error.
Quote:
Performing MySQL command: INSERT INTO rp_admingroups VALUES (12, 'Forum Settings') ... Error: Duplicate entry '12' for key 1
But it does not seem to be the problem.

When I go to Reviews Home I get
Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\reviewpost\pp-inc.php on line 692
And if I go to a product page I get a similar error meesage
Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\reviewpost\showproduct.php on line 109
Any ideas what is causing this?

Thanks!

edit - integration is with IPB2

Last edited by ljcook; August 25th, 2005 at 01:55 PM.
ljcook is offline   Reply With Quote
Old August 25th, 2005, 03:19 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
I would make sure you ran all the upgrades you needed to.

Your missing a field or so from your cats table.

If you run this query in phpmyadmin you should be able to find out which one

SELECT catname,extra1,extra2,extra3,extra4,extra5,extra6,template,thumbnail FROM rp_categories

Note this below

template was added in the 2.1 upgrade
thumbnail was added in the 2.5 upgrade
the extra fields where added in the 2.9-3.0 upgrade


There is nothing missing from the upgrade scripts
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 25th, 2005, 03:32 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
Thanks, the field that was missing was thumbnail. I added it and all is fine now.
Thank you!
ljcook is offline   Reply With Quote
Old August 25th, 2005, 06:50 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
ah okay so you forgot to run the 2.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 online now   Reply With Quote
Old August 25th, 2005, 06:58 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
Quote:
Originally Posted by omegatron
ah okay so you forgot to run the 2.5 upgrade
First version I purchased was 2.91 (in April) - so I did the 2.9-3.0 upgrade. Extra fields were there thumbnail wasn't.
ljcook is offline   Reply With Quote
Old August 25th, 2005, 07:17 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
Interesting indeed

2.5 added that field in. Maybe the install file did not have that field in 2.91 who knows.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 25th, 2005, 08:29 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 16
It's fixed now (on my test machine) so I'll likely upgrade my live site tomorrow.
I checked my live machine and it is missing there too. I'll just add it manually if the upgrade script doesn't.
Thanks again for your help.
ljcook is offline   Reply With Quote
Old August 25th, 2005, 09:03 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
Just run the 2.5 upgrade most likely Michael just missed altering the install file for 2.9
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 26th, 2005, 04:30 PM   #9 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Quote:
Originally Posted by omegatron
Just run the 2.5 upgrade most likely Michael just missed altering the install file for 2.9

omegatron:

Just to make sure I'm reading you right, even if we started using RP at 2.91, if the thumbnail field isn't in rp_categories, when upgrading we should run:

Upgrade from ReviewPost 2.5 -> 2.8 (or should that be Upgrade from ReviewPost 2.1 -> 2.5.1)

first? And then run

Upgrade from ReviewPost 2.9X -> 3.0 ?

Thanks.
WB is offline   Reply With Quote
Old August 26th, 2005, 05:54 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,649
Yes that should be fine.

I can't comment on what was or was not in the script for 2.9 since I no longer have a copy. I can only go with what I see and that is that the field was added in 2.8 by the upgrade script.

So if by chance the categories table did not have that field on a new install for 2.8/2.9 I can't say but running that upgrade would create it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 27th, 2005, 12:44 PM   #11 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
omegatron:

Thanks.
WB 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 medieval Classifieds Bug Reports 2 September 29th, 2005 12:47 PM
Error with upgrade 5.11 lighterrr Photopost Pro Installation & Upgrades 2 June 19th, 2005 08:14 PM
5.1 Upgrade Error HobbyTalk Photopost Pro Installation & Upgrades 4 June 2nd, 2005 02:01 PM
5.1 error on upgrade. SoCalrailFan Photopost Pro Installation & Upgrades 9 May 27th, 2005 10:44 PM
upgrade error hunterscentral Photopost Pro Installation & Upgrades 4 May 26th, 2005 09:07 AM


All times are GMT -5. The time now is 07:25 AM.

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