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 March 10th, 2010, 11:16 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 240
Error after uploading image during edit

Recently upgraded to Classifieds 4.0.
Having two issues.
1. Can't seem to upload a .jpg file using the EditProduct. Images upload just fine when they are added using uploadproduct.php, but not editproduct.php.

2. This error was emailed to me which may have something to do with the first error:

An error was encountered during execution of the query:

UPDATE cp_products SET cat=avatars, approved=1 WHERE id=63

The query returned with an errorcode of:

Unknown column 'avatars' in 'field list'
GateKeeper is offline   Reply With Quote
Old March 11th, 2010, 08:06 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
well that has nothing to do with uploading an image I would think

test buy - PhotoPost Classifieds

I replace an image without fail

The query your talking about only happens when you try moving an ad to a different category but the issue I see is where in the world is your category variable being set to avatars? I can not replicate your issue but you can try changing line 22 of image-inc.php to this and see if it helps

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 March 11th, 2010, 03:48 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2006
Posts: 240
Wanted to close the loop on this issue. It was related to my having removed the catoption/category move selection from edittemplate.tmpl without addressing the variable, category, that is set from that selection. Once I added that in as a hidden input, the problems all went away.
Thank you.
GateKeeper is offline   Reply With Quote
Old March 11th, 2010, 03:51 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
yeah that makes sense.

Was wondering how you ever got the issue to begin with and modifying code would do that
__________________
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
Fatal Error Uploading Image pocuser Classifieds Installation & Upgrades 9 February 2nd, 2010 08:57 AM
Image Uploading Error message Basit PhotoPost Pro Support Forums 2 August 12th, 2009 05:30 PM
Error message when uploading an image. HUMMER Installs and Upgrade - vBulletin 3.5.X 11 November 26th, 2005 12:51 PM
Error when uploading image knewman01 Installs and Upgrade - vBulletin 3.5.X 3 October 12th, 2005 04:27 PM
Uploading image size error Da GoTTi Installs and Upgrade - vBulletin 3.0.X 6 June 29th, 2005 05:56 PM


All times are GMT -5. The time now is 01:08 PM.

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