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 May 1st, 2009, 03:48 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Location: Holland
Posts: 116
SQL error

Today I got a lot of SQL errors and I don't know what it means and what to do, should I ignore these? Are they essential? Please advise.

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
drare is offline   Reply With Quote
Old May 1st, 2009, 08:20 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,650
In member.php line 553 find this

Code:
Content visible to verified customers only.
replace with this

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 May 1st, 2009, 08:49 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Location: Holland
Posts: 116
Thanks Chuck.
drare is offline   Reply With Quote
Old May 1st, 2009, 08:53 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,650
have a good weekend.
__________________
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 May 3rd, 2009, 02:41 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Location: Holland
Posts: 116
Chuck,

I just turned on my computer and mailbox, I've got 19 emails with this error: An error was encountered during execution of the query:

SELECT photo,comment FROM pp_comments WHERE userid= AND comment != '' 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 'AND comment != '' ORDER BY date DESC LIMIT 1' at line 1

Is this something like the other, but how can it be I get this now and I've never got it before? I know my hoster, Midphase, have done a MySQL software update last week.

Thanks
drare is offline   Reply With Quote
Old May 3rd, 2009, 06:38 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,650
Make sure the row noted below is this in member.php

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 May 3rd, 2009, 08:12 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2009
Location: Holland
Posts: 116
Thanks again Chuck, I replaced the line in member.php should be working because the other is not giving any errors anymore.

Have a nice day.
Gerard
drare is offline   Reply With Quote
Old May 3rd, 2009, 08:28 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,650
Enjoy the rest of your weekend
__________________
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 cookie Photopost Pro Bug Reports 3 February 12th, 2009 08:29 AM
SQL Error [efs]ChAoS Photopost Pro How Do I...? 3 May 9th, 2006 10:33 AM
SQL Error Gottcha Photopost Pro Installation & Upgrades 3 October 10th, 2005 08:14 AM
SQL Error iphoto Photopost Pro Installation & Upgrades 1 November 12th, 2004 07:49 PM
SQL Error kevinrstruck Photopost Pro Installation & Upgrades 9 October 24th, 2004 08:44 AM


All times are GMT -5. The time now is 11:47 AM.

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