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 Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 8th, 2008, 11:11 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Another 6.1 Upgrade Error

UPGRADE From 6.02 to 6.1
An error was encountered during execution of the query:

SELECT * FROM pp_photos WHERE cat IN (3081,Array) ORDER BY date DESC LIMIT 50

The query returned with an errorcode of:
Unknown column 'Array' in 'where clause'
TEAMBAJAMARINE is offline   Reply With Quote
Old May 9th, 2008, 08:31 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Try editing that category and select your view of the gallery thumbnail puzzle etc and save and the error should go away. It seems there is some erroneous data saved in the cat record that should not be there.
__________________
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 May 9th, 2008, 09:48 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Okay I understand that. How do I find which category this is?
TEAMBAJAMARINE is offline   Reply With Quote
Old May 9th, 2008, 09:58 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
start with any top level category
__________________
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 May 9th, 2008, 06:59 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
New error Chuck, any idea why I am seeing these errors all of a sudden with the upgrade? Good news is, the photo gallery front end is working fine, check it out for yourself...http://www.teambajamarine.com/photopost/
its just the emails buggers I am getting.

SELECT catname,extra1,extra2,extra3,extra4,extra5,extra6,numextra FROM pp_categories WHERE id=

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 '' at line 1
TEAMBAJAMARINE is offline   Reply With Quote
Old May 9th, 2008, 11:02 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Thats weird error there. Thats from bulkupload and why would defcat be empty.

I think maybe a spider playing with urls.

You can most certainly find the query on line 538 and encapsulate the variable to null that email like so

$defcat in that query would become '$defcat'
__________________
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 May 10th, 2008, 01:49 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
In laymans terms? I dont understand any of that.
TEAMBAJAMARINE is offline   Reply With Quote
Old May 10th, 2008, 09:45 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Laymans terms HMM. You have a spider playing games there with your site script urls only way I can think of that defcat would be empty as you select the category on uploadphoto.php and it is passed to uploadproduct in the url.

In the file bulkupload.php line 538 is this query

Code:
Content visible to verified customers only.
All your doing on that line is finding $defcat and making it '$defcat'
__________________
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 May 10th, 2008, 09:52 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
ah. got it. you guys are so smart with this stuff, its scary.
TEAMBAJAMARINE is offline   Reply With Quote
Old May 10th, 2008, 09:55 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Nah buddy just experience man. I have been breathing this code for like what over 5 years now.
__________________
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 May 10th, 2008, 11:49 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck,
Regarding the first post, I am still seeing the error, just a different Array number. I have done what you told me about editing the TOP LEVEL categorys as I have switched them from GALLERY to THUMBNAIL and saved. I ask, should I cahnge all the sub categorys as well?
TEAMBAJAMARINE is offline   Reply With Quote
Old May 10th, 2008, 12:19 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Yes try doing the subcats as well that suggests that a category in that query which is being replaced as array has something saved in edit categories in a field that is not suppose to have that data.
__________________
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 May 10th, 2008, 06:33 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Wow! So many sub categories to do, but worth it. Not only did it change my Photo Gallery to a nice streamlined new look, I believe I did find the problem in 2 categorys that also had sub categorys. When I altered the THUMBNAIL LAYOUT from the default GALLERY to THUMBNAIL - w/ TITLES another duplicate subcategory popped up and had no data in it and a sort order of 9999. I simply deleted that phantom sub category. This make sense Chuck?
TEAMBAJAMARINE is offline   Reply With Quote
Old May 10th, 2008, 07:35 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
yeah something like I said was out of whack in categories that caused that error and checking and saving the cats again seem to solve it for most people
__________________
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 May 10th, 2008, 09:15 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Bad news Chuck, I still get this error, but I do know what category this is, what do you suggest I try next? Keep in mind, I have only seen these errors after my upgrade from 6.02 to 6.1

SELECT * FROM pp_photos WHERE cat IN (4,Array) ORDER BY date DESC LIMIT 50
TEAMBAJAMARINE is offline   Reply With Quote
Old May 10th, 2008, 10:41 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
I have seen this pop up here and there before 6.1

What category is it? Link?
__________________
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 May 11th, 2008, 12:58 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck,
I never recieved these erros before, only after my upgrade from 6.02 to 6.1. I am actually getting the errors sent to by email and they seem to be different categorys nows. I am familiar and can acsess MYSQL database if that will help me do domething. Here are just three errors...

SELECT * FROM pp_photos WHERE cat IN (32,Array) ORDER BY date DESC LIMIT 50
http://www.teambajamarine.com/photop...ery.php?cat=32

SELECT * FROM pp_photos WHERE cat IN (8,Array) ORDER BY date DESC LIMIT 50
http://www.teambajamarine.com/photop...lery.php?cat=8

SELECT * FROM pp_photos WHERE cat IN (3100,Array) ORDER BY date DESC LIMIT 50
http://www.teambajamarine.com/photop...y.php?cat=3100
TEAMBAJAMARINE is offline   Reply With Quote
Old May 11th, 2008, 10:42 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Feel free to pm me an admin login ftp login and I see look if i see anything.
__________________
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 May 11th, 2008, 01:03 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 62
Chuck,
Sent you the PM from TEAMBAJAMARINE.
TEAMBAJAMARINE is offline   Reply With Quote
Old May 11th, 2008, 01:28 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Not a problem will have a look.
__________________
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade error: ...unrecoverable error fpoole Classifieds Bug Reports 10 February 23rd, 2007 08:01 AM
Error After Upgrade PokerCampus Photopost Pro How Do I...? 5 December 20th, 2006 03:11 PM
Upgrade error on upgrade from 5.0 release to 5.1 zacksof Photopost Pro Installation & Upgrades 20 December 1st, 2006 11:43 AM
upgrade 2.42 error justb Classifieds Installation & Upgrades 2 November 24th, 2005 10:59 PM
Upgrade error scroush Photopost Pro Installation & Upgrades 24 May 25th, 2005 11:03 PM


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

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