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 24th, 2004, 09:37 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 12
Question MySQL error after posting review

I am recieving the following error once I complete and post a review to a product.
**Begin Error**
MySQL error reported!

Script: showproduct

Query: SELECT nuke_users.username,nuke_users.user_website,nuke_users.user_posts,nuke_ranks.rank_title,nuke_users.user_regdate FROM nuke_users LEFT JOIN nuke_ranks ON nuke_users.user_rank = nuke_ranks.rank_id WHERE nuke_users.user_id=2 LIMIT 1

Result: Table 'micdi.nuke_ranks' doesn't exist

Database handle: Resource id #7
**End Error*

I have RP added as an iframe in the modules folder of PHPNuke. You can view products that don't have reviews fine. But once I add a review it starts freaking out and gives me that error. I looks like it's trying to use a nuke table instead of a RP table, why would it do this, it's only and iframe.

I am adding the product using my admin logon.

Thanks for any help.

You can view the site here www.micdigest.com
the review post install is here: http://www.micdigest.com/modules.php?name=DigestReviews
bloud is offline   Reply With Quote
Old September 24th, 2004, 10:11 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Do you not have a nuke_ranks table? Last version we tested with had this table - is your version different?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old September 24th, 2004, 10:16 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 12
Actually I just looked and No there is no nuke_ranks table. I am using PHP-Nuke 7.5 Final version. I was hoping that it was just a Query issue.
bloud is offline   Reply With Quote
Old September 24th, 2004, 10:34 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 12
There is a nuke_bbranks and user_rank field in the nuke_users table.

But I don't see anywhere in the showproduct.php file where it is querying a rank table at all.

Last edited by bloud; September 24th, 2004 at 10:36 AM. Reason: adding info
bloud is offline   Reply With Quote
Old September 24th, 2004, 11:20 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,675
In the nuke.php file in the forums directory under reviewpost

Line 151-159

if ($cuserid != 0) {
if ( !empty( $Globals['dprefix'] ) ) {
$utable = "{$Globals['dprefix']}users";
$rtable = "{$Globals['dprefix']}ranks";
}
else {
$utable = "users";
$rtable = "ranks";
}


would become this

if ($cuserid != 0) {
if ( !empty( $Globals['dprefix'] ) ) {
$utable = "{$Globals['dprefix']}users";
$rtable = "{$Globals['dprefix']}bbranks";
}
else {
$utable = "users";
$rtable = "bbranks";
}
__________________
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 24th, 2004, 11:30 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2004
Posts: 12
Bingo! Thanks for the fast help. Works great now.....
bloud 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
2.01 new install, posting error ludachris Classifieds Installation & Upgrades 1 February 20th, 2005 04:18 PM
Review Post: Rules for Posting agiacosa Before You Buy 1 January 7th, 2005 11:42 AM
Wanted Posting Error HobbyTalk Classifieds Bug Reports 10 December 12th, 2004 02:41 PM
Error - Posting a Review InterFX ReviewPost Bug Reports 2 November 17th, 2004 07:42 PM
SQL error after posting review ChopperWeb ReviewPost Bug Reports 2 September 29th, 2004 10:57 PM


All times are GMT -5. The time now is 04:34 PM.

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