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 Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 1st, 2004, 10:29 AM   #1 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 9
Review error

Hi

I just finished uploading review post and all went well, except when I add a product review I the the following error

MySQL error reported!

Script: showproduct

Query: SELECT username,homepage,posts,joindate,location FROM users WHERE userid=1 LIMIT 1

Result: Table 'realcr2_test.users' doesn't exist

Database handle: Resource id #6

I can upload the product and write a review for it but when I post it I get that error!

What have I done?
Farnee is offline   Reply With Quote
Old September 1st, 2004, 08:13 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
what are you integrating with?

If its reviewpost or photopost try this in the forum integration files for eith one of those

change this

$query = "SELECT username,homepage,posts,joindate,location FROM {$Globals['dprefix']}users WHERE userid=$cuserid LIMIT 1";

to

$query = "SELECT username,homepage,posts,joindate,location FROM {$Globals['pp_db_prefix']}users WHERE userid=$cuserid LIMIT 1";
__________________
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 1st, 2004 at 08:19 PM.
Chuck S is online now   Reply With Quote
Old September 2nd, 2004, 09:05 AM   #3 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 9
Do I have to integrate ReviewPost with a forum? or anything at all?
Farnee is offline   Reply With Quote
Old September 2nd, 2004, 09:12 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
You integrate with whatever you integrate with itself is fine. I was just asking so I provide the proper response

You gave no response so I am assuming you are using a standalone install and the fix above should work
__________________
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 2nd, 2004, 09:16 AM   #5 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 9
I am using as standalone.

So what files(s) do I need to change?
Farnee is offline   Reply With Quote
Old September 2nd, 2004, 09:21 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
the change posted above in your /forum/reviewpost.php file
__________________
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 2nd, 2004, 09:25 AM   #7 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 9
I have done that but I still get the same error....
Farnee is offline   Reply With Quote
Old September 2nd, 2004, 09:28 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
I don't see how if you made the change I posted you would get the same error and the rest of the program is working. If the program can not find {$Globals['pp_db_prefix']}users it certainly would not find everything else either {$Globals['pp_db_prefix']}photos etc

Try making sure that file actually did UPDATE!!
__________________
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 2nd, 2004, 09:32 AM   #9 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 9
Everything works fine for the first time. I can upload a new product, view that product and then write a review. But as soon as I go to view that product for a 2nd time I get the error.

I have uploaded the file 3 times now and its still the same error
Farnee is offline   Reply With Quote
Old September 2nd, 2004, 07:00 PM   #10 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 9
Hello?

Can anyone help me?
Farnee is offline   Reply With Quote
Old September 2nd, 2004, 08:13 PM   #11 (permalink)
Registered User
 
Join Date: Aug 2004
Posts: 9
Forget it

I think I have fixed it. It was looking for the database.

Result: Table 'realcr2_test.users' doesn't exist

It wasnt looking for realcr2_test.rp_users, so I removed in rp_ prefix and seems to be working now....
Farnee 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
error when adding review -- help(FIXED) justb ReviewPost Bug Reports 7 September 20th, 2005 11:35 AM
Combine the review and ratings all in one when submitting a new review indiamike ReviewPost Suggestions 1 September 10th, 2005 11:42 AM
Error - Posting a Review InterFX ReviewPost Bug Reports 2 November 17th, 2004 08:42 PM
SQL error after posting review ChopperWeb ReviewPost Bug Reports 2 September 29th, 2004 11:57 PM
MySQL error after posting review bloud ReviewPost Bug Reports 5 September 24th, 2004 12:30 PM


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

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