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 October 13th, 2008, 01:42 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
Frequently SQL Error

An error was encountered during execution of the query:

SELECT p.id,p.title,p.userid,p.cat,p.approved,p.storecat,p.bigimage FROM pp_photos p LEFT JOIN pp_categories c ON p.cat=c.id WHERE p.userid= AND c.password='' ORDER BY p.date DESC LIMIT 5

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 'AND c.password='' ORDER BY p.date DESC LIMIT 5' at line 1

If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html

To turn off these emails, set $debug=0 in your config-inc.php file.
vigape is offline   Reply With Quote
Old October 13th, 2008, 06:28 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
I would suspect maybe a bot playing with a url so member.php this line 553 make it this all I am doing is encapsulating a variable in the query

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 October 16th, 2008, 08:22 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Location: MA
Posts: 61
I was getting the same error message. I made your change to member.php.
oly51 is offline   Reply With Quote
Old October 16th, 2008, 11:36 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jul 2002
Location: MA
Posts: 61
Scott - Made that change earlier and I just got 10 new error notifications:

An error was encountered during execution of the query:

SELECT id,user,userid,date FROM photos WHERE cat IN (501,535,3197,3231,3300,3303,
3301,3302,3047,3294,3253,508,3275,3221,3172,3098,3042,534,509,515,521,522,3037,
502,3235,3115,3057,541,510,511,517,3038,3070,546,516,537,538,512,3237,3102,3049,
536,513,514,518,519,520,3067,545,3252,3297,3061,3298,3226,542,3233,3107,) ORDER BY date DESC LIMIT 1

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 date DESC LIMIT 1' at line 1

If you need assistence or feel this is a 'bug'; please report it to our support forums at:
http://www.photopost.com/members/forum/f66/index.html

To turn off these emails, set $debug=0 in your config-inc.php file.
oly51 is offline   Reply With Quote
Old October 16th, 2008, 06:34 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
That is some other query and as noted in the query your issue is your last child is empty thats the error.

Is there a little more info here on what your where doing viewing etc?
__________________
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
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
SQL Error cbr929rrerion Installs and Upgrade - vBulletin 3.5.X 3 March 3rd, 2006 02:56 PM
SQL Error Gottcha Photopost Pro Installation & Upgrades 3 October 10th, 2005 08:14 AM
SQL Error digitalpoint Bugs - vBulletin 3.5.X 2 July 24th, 2005 09:21 PM
pp 5.1.1 sql error Fenriz Photopost Pro Bug Reports 5 June 11th, 2005 11:36 AM
SQL Error kevinrstruck Photopost Pro Installation & Upgrades 9 October 24th, 2004 08:44 AM


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

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