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 > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 3rd, 2010, 09:29 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 131
Email: MySQL Error Report

I got 15 of these yesterday - I just turned my classifieds on yesterday.

An error was encountered during execution of the query: SELECT c.cat,c.product,c.comment,p.bigimage,p.cat,p.userid,p.title FROM class_comments c LEFT JOIN class_products p ON p.id=c.product WHERE c.comment != '' AND c.userid= ORDER BY c.date DESC LIMIT 10 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 'ORDER BY c.date DESC LIMIT 10' at line 4 If you need assistence or feel this is a 'bug'; please report it to our support forums at: Photopost Pro Bug Reports - PhotoPost Community To turn off these emails, set $debug=0 in your config-inc.php file.
Amedeus is offline   Reply With Quote
Old January 3rd, 2010, 11:32 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
which product are we talking about here your posting in the photopost pro support forums?

There is no query in classifieds like that!!

What version of the software is this which software and where is it installed and and what page is the error on?
__________________
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 January 3rd, 2010, 12:25 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 131
Quote:
Originally Posted by Chuck S View Post
which product are we talking about here your posting in the photopost pro support forums?
My Classifieds tables are prefixed with class_, so it presume it's Classifieds.
I posted here because the error link directed me here.

Quote:
Originally Posted by Chuck S View Post
There is no query in classifieds like that!!
Beats me, I just posted the error as instructed.
I did a clean install yesterday and am using it with vB. This was not an upgrade, so there shouldn't be any leftover files.

Edit: I searched for it and found it in member.php, line 696

Quote:
Originally Posted by Chuck S View Post
What version of the software is this which software and where is it installed and and what page is the error on?
I am running the latest beta with vB 3.8.2.
Main Index - Classifieds

Last edited by Amedeus; January 3rd, 2010 at 12:29 PM. Reason: Found query
Amedeus is offline   Reply With Quote
Old January 3rd, 2010, 12:31 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Maybe line 693 of member.php

Code:
Content visible to verified customers only.
change to

Code:
Content visible to verified customers only.
__________________
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 January 3rd, 2010, 01:35 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 131
I replaced it and get this when I click Comments:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in D:\Inetpub\bloodbanktalk\classifieds\member.php on line 704

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in D:\Inetpub\bloodbanktalk\classifieds\member.php on line 745
Amedeus is offline   Reply With Quote
Old January 3rd, 2010, 01:37 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
If you turn debug option to display errors in global options what is the true error?
__________________
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 January 3rd, 2010, 02:51 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 131
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT c.cat,c.product,c.comment,p.bigimage,p.cat,p.userid,p.title FROM class_comments c LEFT JOIN class_products p ON p.id=c.product WHERE c.comment != '' AND c.userid= ORDER BY c.date DESC LIMIT 10

Result: 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 'ORDER BY c.date DESC LIMIT 10' at line 4

Database handle: Resource id #24
Amedeus 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
MySQL Error Report deathdlr Photopost Pro Bug Reports 5 October 20th, 2009 10:20 AM
Mysql Error Report billy Photopost Pro Bug Reports 1 December 16th, 2008 06:51 AM
MySQL Error Report Marshal Halloway Classifieds Bug Reports 1 August 15th, 2008 09:02 PM
MySQL error report zigorob Photopost Pro Bug Reports 3 June 11th, 2008 07:20 AM
MySQL Error Report mjm Photopost Pro Bug Reports 21 January 1st, 2007 11:00 PM


All times are GMT -5. The time now is 10:15 AM.

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