 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
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?
|
| |
September 1st, 2004, 08:13 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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";
Last edited by Chuck S; September 1st, 2004 at 08:19 PM.
|
| |
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?
|
| |
September 2nd, 2004, 09:12 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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?
|
| |
September 2nd, 2004, 09:21 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
the change posted above in your /forum/reviewpost.php file
|
| |
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....
|
| |
September 2nd, 2004, 09:28 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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!!
|
| |
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
|
| |
September 2nd, 2004, 07:00 PM
|
#10 (permalink)
| | Registered User
Join Date: Aug 2004
Posts: 9
|
Hello?
Can anyone help me?
|
| |
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....
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:03 PM. | |