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 October 19th, 2005, 12:14 PM   #1 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
3.1 MySQL Error(FIXED)

We are getting some intermittent MySQL errors on our site (the site is set to email errors to the admin email address).

The error is in the form of:

__

An error was encountered during execution of the query:

REPLACE INTO laston VALUES(X,XX,XXXXXXXX)

The query returned with an errorcode of:

Table 'dbname.laston' doesn't exist

__


It appears that the query isn't taking into account the db prefix, since we have a prefix_laston table, which I think is the one the values need to get inserted into.

Looking at index.php, there is:

ppmysql_query("REPLACE INTO {$Globals['pp_db_prefix']}laston VALUES($cat,{$User['userid']},$lasttimeon)", $link);

Looking at the other queries in it, the variable used is:

rp_db_prefix rather than pp_db_prefix

so I suspect that may be the cause of the error.

Can you confirm if that is the case and it needs to be updated to rp from pp?

If not, where might the error come from?

Thanks.
WB is offline   Reply With Quote
Old October 19th, 2005, 02:35 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Indeed this is correct it should read rp_db_prefix

if ( $User['userid'] > 0 && $Globals['displaynew'] == "yes" ) {
ppmysql_query("REPLACE INTO {$Globals['rp_db_prefix']}laston VALUES($cat,{$User['userid']},$lasttimeon)", $link);
}
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 20th, 2005, 12:45 PM   #3 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
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
Error MySql Can't find File Admlog.MYD?(FIXED) grafx2g Photopost Pro Bug Reports 1 August 11th, 2005 10:00 AM
MySQL error... Rich Z Classifieds Bug Reports 28 April 27th, 2005 12:28 PM
Mysql error Reynaldo Installs and Upgrade - vBulletin 3.0.X 2 January 23rd, 2005 11:00 AM
Mysql SELECT Error - not fixed yet? kontrabass Classifieds Installation & Upgrades 1 July 22nd, 2004 09:39 AM


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

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