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 August 2nd, 2008, 12:55 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 50
Question error during execution of query: Unknown column 'clear.gif' in 'where clause

Hi,

I see some errors from time to time and don't know why.
It looks always like that:
Quote:
An error was encountered during execution of the query:

SELECT id,user,userid,cat,date,title,description,keywords,bigimage,views,approved,rating,price,status,extra1,extra2,extra3,extra4,extra5,extra6,disporder,zipcode,adoptions,isauction,enddate,highbidder,maxbid,currency FROM pp_products WHERE approved=1 AND cat IN (clear.gif) AND (user LIKE '%stebo79%') ORDER BY disporder,views DESC

The query returned with an errorcode of:

Unknown column 'clear.gif' in 'where clause'

If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html

To turn off these emails, set $debug=0 in your config-inc.php file.
I use classifieds 3.02 and photopost pro 6.11.
Classifieds give the error photopost pro doesn't do anything like that.

Looks for me like someone searching, but I don't know much about sql querries, so any help is appreciated.
peterle is offline   Reply With Quote
Old August 2nd, 2008, 10:01 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Well I dont know how someone would do that without playing with search urls which is probally the case.

In showcat.php find this line

Code:
Content visible to verified customers only.
change 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 August 2nd, 2008, 02:34 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 50
Quote:
Originally Posted by Chuck S View Post
Well I dont know how someone would do that without playing with search urls which is probally the case.
Could you please tell me more about it - could be via PM if you don't like it here.

I changed your code and I if it doesn't work, I will tell you.
peterle is offline   Reply With Quote
Old August 2nd, 2008, 03:54 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
It should easily work since they can not enter a string variable for mcats

All I am saying is most likely its a bot trying to spoof things.
__________________
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 August 3rd, 2008, 03:18 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 50
Quote:
Originally Posted by Chuck S View Post
All I am saying is most likely its a bot trying to spoof things.
Ah, I get used to things like that ...
Thanks again for the fast help!
peterle is offline   Reply With Quote
Old August 3rd, 2008, 05:27 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Not a problem 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 ccaldwell Photopost Pro Installation & Upgrades 8 May 9th, 2008 11:03 AM
Execution of a Query Error ******* nuguru Photopost Pro Bug Reports 3 December 7th, 2006 06:12 PM
Unknown column 'sessionhash' in 'where clause' jfspam2 Photopost Pro Installation & Upgrades 3 December 4th, 2006 11:10 AM
SQL Error: Unknown column 'notcat' in 'where clause' mtha Photopost Pro Bug Reports 9 November 3rd, 2005 08:17 PM
SQL Error: Unknown column 'notcat' in 'where clause'(FIXED) qwk98gt Photopost Pro Bug Reports 10 October 21st, 2005 02:37 PM


All times are GMT -5. The time now is 04:22 AM.

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