 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
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
|
| |
February 13th, 2011, 06:50 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
February 13th, 2011, 10:22 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
February 14th, 2011, 07:55 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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?
|
| |
March 3rd, 2011, 09:47 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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!
|
| |
March 3rd, 2011, 11:48 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
No problem either should assist in that regard.
|
| |
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.
|
| |
March 21st, 2011, 01:00 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,940
|
enjoy your week glad to help
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:41 AM. | |