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 January 30th, 2005, 08:33 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 5
Error in SQL syntax

Hello,

I am recieving error messages from my classified ads when some people try to post to them, but other times it works ok. This was installed less than two weeks ago. Below is a copy of one of the error messages.

Can you help me? Thanks.

Lonny
http://sail247.com/classified

~~~~~~~~~~~~~~
An error was encountered during execution of the query:


INSERT INTO class_products (id,user,userid,cat,date,title,description,keywords,bigimage,bigimage2,bigimage3,approved,watermarked,ipaddress)
values(NULL,'zyzzos', 4, , 1107029050, '42\' STEEL BLUE WATER CRUISER', '', '', 'IM000222.jpg', '', '',
1, 'no', '152.163.100.198')


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 ' 1107029050, '42\' STEEL BLUE WATER CRUISER', '', '', 'IM000222
sail247 is offline   Reply With Quote
Old January 30th, 2005, 09:58 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
Well the error is because your cat is empty in the query

Is this a specific category or ad type?

I posted a test ad here

http://www.sail247.com/classified/sh...php?product=20
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; January 30th, 2005 at 10:02 AM.
Chuck S is offline   Reply With Quote
Old January 30th, 2005, 11:30 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 5
Hi Chuck.

What I know is that someone tried to place an add in "For sale - Boats" and couldn't, I am not sure what the problem was specifically, but he wrote me an email and just said

"I tried to place an add with no sucess. Let me know when you are up and running smooth. I would love to add my boat."

Then I recieved three error messages, one of which I posted at the begining of this thread.

When I went to my site, his ad is there, apparently he succeeded in placing the ad. Not really sure what happened, that is why I am asking for your ideas.

Here is his successful ad, one thing I did notice is the supersized picture is 90 degrees off.

http://www.sail247.com/classified/sh...1&cat=2&page=1
sail247 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
SQL Error Gottcha Photopost Pro Installation & Upgrades 3 October 10th, 2005 09:14 AM
SQL Error prodigy Classifieds Bug Reports 1 August 31st, 2005 10:55 AM
SQL Error kevinrstruck Photopost Pro Installation & Upgrades 9 October 24th, 2004 09:44 AM


All times are GMT -5. The time now is 12:17 PM.

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