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 September 3rd, 2005, 08:48 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 81
upgrade issues

We just upgraded today (and was very happy to do so as we are running vb3.5) and the upgrade seemed to go smoothly, however when viewing the reviewpost index we get:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site9/fst/var/www/html/reviews/forums/vb3.php on line 361

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site9/fst/var/www/html/reviews/pp-inc.php on line 2255

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site9/fst/var/www/html/reviews/forums/vb3.php on line 361

We are also unable to log into the admin panel (just loops back to the login page).

I'm sure it is something we have screwed up, but I have reviewed the setting several times and I can't find where the problem is.
sifuhall is offline   Reply With Quote
Old September 4th, 2005, 06:53 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Well look at your usergroup table as vb3.php line 361 is that it is having trouble getting your usergroup info which means you could be using an old vb3.php you need to have the new one uploaded to be recognized

$query[] = "ALTER TABLE {$rp_db_prefix}usergroups ADD reqmod INT(3) DEFAULT '0' NOT NULL, ADD uplimit INT(3) DEFAULT '0' NOT NULL";

Your pp-inc.php error tells me you did not run the upgrade script. This was added to the cats table on that upgrade and I am gonna guess your missing your moderators column
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; September 5th, 2005 at 10:36 AM.
Chuck S is online now   Reply With Quote
Old September 4th, 2005, 10:49 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 81
OK, I re-uploaded all files, configured the config-inc and config-int files,
then ran upgrade.php. In the upgrade I clicked on 2.9 -> 3.0 and it runs immediately (I assume it is immediately since I get no warning messages).

Then I click on Import Zip Codes. Again I get no error messages, but a new window is opened to the same page.

After this I go to my reviewpost directory and get:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site9/fst/var/www/html/reviews/forums/vb3.php on line 361

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site9/fst/var/www/html/reviews/pp-inc.php on line 2255

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/virtual/site9/fst/var/www/html/reviews/forums/vb3.php on line 361
sifuhall is offline   Reply With Quote
Old September 5th, 2005, 10:35 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
$query = "SELECT groupid,cpaccess,modaccess,uploads,reviews,editpho,editposts,reqmod,uplimit FROM {$Globals['rp_db_prefix']}usergroups WHERE groupid='$groupvalue' LIMIT 1";
$result = ppmysql_query($query,$link);
list( $usergroup,$cpaccess_a,$modaccess_a,$uploads_a,$reviews_a,$ueditpho_a,$ueditposts_a,$reqmod_a,$uplimit_a ) = mysql_fetch_row($result);


Check your reviewpost usergroup table this is where your failing

The upgrade adds the new new fields you need so you need to run that query and find out what is the issue.
__________________
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 September 5th, 2005, 11:09 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 81
looks like I missing the fields reqmod and uplimit

I'm not sure which way to proceed here. When I click on the upgrade links I do not get any error messages so I assume it upgrades successfully.

Should I try to simulate the upgrade manually by adding the missing fields or should I try to find out why upgrading didn't add these fields?
sifuhall is offline   Reply With Quote
Old September 5th, 2005, 12:01 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
ALTER TABLE rp_usergroups ADD reqmod INT(3) DEFAULT '0' NOT NULL, ADD uplimit INT(3) DEFAULT '0' NOT NULL


interesting dont see why if ran it does not exist but you can surely add em
__________________
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
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 Issues IJO Photopost Pro Installation & Upgrades 3 September 12th, 2005 09:13 AM
4.85 Upgrade issues clubplanet Photopost Pro Installation & Upgrades 1 September 8th, 2005 03:29 PM
Upgrade issues (2.4) Mikan Classifieds Installation & Upgrades 1 July 9th, 2005 08:22 PM
photopost 4.0.1/5.02 upgrade issues crankshaft Photopost Pro Installation & Upgrades 4 March 22nd, 2005 05:32 PM
Upgrade Issues aquariumpros Classifieds Installation & Upgrades 29 June 24th, 2004 06:37 PM


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

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