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 5th, 2010, 12:17 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 322
Mysql error

I'am received about two times a day this error:

An error was encountered during execution of the query:

SELECT id,user,userid,cat,storecat,date,title,description,ismature,keywords,bigimage,width,height,filesize,views,medwidth,medheight,medsize,approved,rating,votes,allowprint,numcom,lastposter FROM pp_photos WHERE userid= AND storecat=0 ORDER BY disporder,date 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 'AND storecat=0 ORDER BY disporder,date DESC' at line 1

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.


Any idea?
aberg is offline   Reply With Quote
Old January 10th, 2010, 03:06 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 322
I still get regulair this error.
Please support
aberg is offline   Reply With Quote
Old January 10th, 2010, 03:14 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,938
well that query only exists only place in the application. Maybe a bot playing with urls. because in our application that is only ran if $ppuser exists which is a users userid but I dont see how it could be empty.

You can find this line

Code:
Content visible to verified customers only.
try changing to 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 January 16th, 2010, 05:41 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 322
Sorry for mu late reaction Chuck , but I have also problems with my forum.
I can't uploading on this moment so I have send a support question to Vbulletin.

Back to this problem, still I have it but I don't can find the row $query .= "WHERE userid=$ppuser AND storecat=0";
Can you please tell me where I can find this?
aberg is offline   Reply With Quote
Old January 16th, 2010, 08:21 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,938
Sorry thought I posted the script name above. It would be showgallery.php
__________________
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 17th, 2010, 03:06 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 322
Thanks Chuck for the replay.
I have today upgrade to 7.01 so I wait to see of the emails are over.
If not I tried what you wrote.
aberg is offline   Reply With Quote
Old January 17th, 2010, 04:54 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,938
No problem enjoy the holiday 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 January 21st, 2010, 09:59 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 322
Thumbs up

Chuck, Update was not the solution for the problem.
But after change the code you give the error seems to be over.
Again thanks
aberg is offline   Reply With Quote
Old January 21st, 2010, 10:11 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,938
Not a problem
__________________
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 26th, 2010, 05:48 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 19
I am having the same issue. For some reason I am showing up as "unverified" though I have a valid license. I can't read the code. How do I fix my status?
Jim O is offline   Reply With Quote
Old January 26th, 2010, 06:27 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,938
If your license has current members access simply make sure the forum email matches that of your valid license that has support access and you will become verified and see the code.
__________________
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 29th, 2010, 10:07 AM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 19
Thank you.
Jim O is offline   Reply With Quote
Old January 29th, 2010, 10:10 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,938
Your welcome
__________________
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
MySQL error ncangler ReviewPost Bug Reports 3 February 24th, 2009 09:09 PM
MySql Error Simons Photopost Pro How Do I...? 4 February 13th, 2009 11:31 AM
MySQL Error PowerBook Classifieds How do I...? 3 October 22nd, 2008 06:05 PM
MySQL error CeBra Photopost Pro Bug Reports 2 October 8th, 2008 07:27 PM
MySQL Error tripsmarter.com Installs and Upgrade - vBulletin 3.6x 4 September 4th, 2008 12:48 AM


All times are GMT -5. The time now is 03:44 PM.

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