 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
July 25th, 2004, 12:37 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Sep 2003
Posts: 106
| Unknown column 'myprod'
Can I get some help with this error? RP 2.8d.
An error was encountered during execution of the query:
SELECT id,user,userid,cat,title,manu,bigimage,views, id*0+RAND() as rand_col FROM rp_products WHERE bigimage !='' AND approved='1' AND cat in (myprod,1,23,35) ORDER BY rand_col DESC
The query returned with an errorcode of:
Unknown column 'myprod' in 'where clause'
Last edited by Tom1234; July 25th, 2004 at 12:56 PM.
|
| |
July 26th, 2004, 02:50 PM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
Was this sent via an email or on a page you encountered?
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 26th, 2004, 06:00 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Sep 2003
Posts: 106
|
Email. I have the errors emailed to me. This was generated by a visitor. I am getting regular errors of this type. Any idea on what the problem is?
|
| |
July 27th, 2004, 02:34 PM
|
#4 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
I'll post a fix for the next update.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 27th, 2004, 04:33 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Sep 2003
Posts: 106
|
Thanks.
Without knowing what the fix is, I can't tell if you'll be fixing similar errors I am seeing, so here are a few more:
=============
An error was encountered during execution of the query:
SELECT id,user,userid,cat,title,manu,bigimage,views, id*0+RAND() as rand_col FROM rp_products WHERE bigimage !='' AND approved='1' AND cat in (all,1,23,35) ORDER BY rand_col DESC
The query returned with an errorcode of:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'all,1,23,35) ORDER BY rand_col DESC' at line 1
==========
An error was encountered during execution of the query:
SELECT id,user,userid,cat,title,manu,bigimage,views, id*0+RAND() as rand_col FROM rp_products WHERE bigimage !='' AND approved='1' AND cat in (last14,1,23,35) ORDER BY rand_col DESC
The query returned with an errorcode of:
Unknown column 'last14' in 'where clause'
===============
An error was encountered during execution of the query:
SELECT id,user,userid,cat,title,manu,bigimage,views, id*0+RAND() as rand_col FROM rp_products WHERE bigimage !='' AND approved='1' AND cat in (fav,1,23,35) ORDER BY rand_col DESC
The query returned with an errorcode of:
Unknown column 'fav' in 'where clause'
|
| |
August 2nd, 2004, 01:28 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Sep 2003
Posts: 106
|
Michael,
Did you mean that this is fixed in RP 2.8.1 or the next release after that?
I am still seeing the problem in 2.8.1:
Tom
|
| |
August 2nd, 2004, 06:18 AM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Jul 2004
Posts: 16
|
i have this problem as well... as a temporary fix, or to hide it at least, you can turn off the side column, since that is where the error is being displayed.
|
| |
August 2nd, 2004, 11:15 AM
|
#8 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
Try changing line 422 in pp-inc.php from:
if ( !empty($cat) ) {
to:
if ( is_numeric($cat) ) {
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
August 3rd, 2004, 08:08 PM
|
#9 (permalink)
| | Registered User
Join Date: Jan 2004
Posts: 1
|
That fixed it for me. Didn't post the issue since Tom hit it first. But eitherway, that fixed all the errors that...
"My Products", "Watchlist", and "Recent Reviews: last day last 7 days last 14 days all products"
...links would produce.
|
| | |
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 05:17 AM. | |