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 Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 13th, 2011, 06:22 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 119
An error was encountered

Hello Chuck,

i announced this already but got no answer:

An error was encountered during execution of the query:

SELECT bigimage,approved,cat,title,userid,date,rating,views,user FROM pp_products WHERE id= 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 'LIMIT 1' 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.


We have this error since weeks a few times a day.

What causes this and how can we solve it?

Thanks for help!

Greetings

Klaus
klaush is offline   Reply With Quote
Old February 13th, 2011, 06:50 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Not sure where you asked this as it does not appear to be here in our forums as I viewed your posts for the past 2 months or more and nothing about this.

At any rate it would help to know what script we are talking about here. The error is the product id is empty.

I have searched most of the main scripts so far and do not find that query. I will continue to search but tell me more about what action your doing to produce the 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 February 13th, 2011, 09:06 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 119
I told about the error in this thread.

But anyway, i canīt reproduce this on with my account or any action i do in and with classified. Today we had this error nearly 10 times, yesterday only twice, may tommorrow it will not behappen.

Greetings

Klaus
klaush is offline   Reply With Quote
Old February 13th, 2011, 10:22 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
long time ago

well the problem I am having is not being able to find that query in our actual program

but I finally found it however no idea how you would get any errors its in comshow script

It has to be some bot or something. we only have one link to the comshow script in our application and thats on the comments block on index page. That only shows when there are comments to display so in short your problem is a bot.
__________________
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 February 13th, 2011, 10:31 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 119
Thanks, Chuck; i just did an update to 4.2. So letīs see, what will happen in the next few days!

Greetings

Klaus
klaush is offline   Reply With Quote
Old February 14th, 2011, 07:55 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Yeah like I said we only display the comshow link when you have comments so apparently a bot is playing with a url. If you continue to have an issue I can try an alteration to 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 March 3rd, 2011, 09:18 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 119
We still have that issue, Chuck.

What do you think, what we can do?
klaush is offline   Reply With Quote
Old March 3rd, 2011, 09:47 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
You can try making the query in comshow.php this

Code:
Content visible to verified customers only.
Personally I would simply add something like this to the robots.txt

Code:
Content visible to verified customers only.
Really the only way to get this issue since we do not present a link in the program for it is you have to have 0 comments and have a bot just playing with urls and filenames. Your seeing an error you never would see in the program because we do not give you a link with no comments.
__________________
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 March 3rd, 2011, 09:59 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 119
Thanks Chuck, weīll try that and i will give feedback here!
klaush is offline   Reply With Quote
Old March 3rd, 2011, 11:48 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
No problem either should assist in that regard.
__________________
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 March 21st, 2011, 11:19 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Posts: 119
Hello Chuck, promised to give feedback, this did the trick!

Thanks!

[quote=Chuck S;1285247]You can try making the query in comshow.php this

Code:
Content visible to verified customers only.
klaush is offline   Reply With Quote
Old March 21st, 2011, 01:00 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
enjoy your week glad to help
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
An error was encountered during execution of the query softsingapore Classifieds Bug Reports 1 July 9th, 2010 09:14 AM
An error was encountered during execution of the query ccaldwell Photopost Pro Installation & Upgrades 8 May 9th, 2008 11:03 AM
PHP encountered an Access Violation rhys Photopost Pro Bug Reports 1 May 24th, 2007 06:05 AM
PHP has encountered a Stack overflow bada_bing Photopost Pro Installation & Upgrades 8 January 23rd, 2007 03:13 PM
error was encountered during execution of the query cnczone Photopost Pro Installation & Upgrades 13 July 24th, 2004 11:19 AM


All times are GMT -5. The time now is 03:41 AM.

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