PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   An error was encountered during execution of the query (http://www.photopost.com/forum/photopost-pro-installation-upgrades/136481-error-encountered-during-execution-query.html)

ccaldwell May 8th, 2008 01:02 PM

An error was encountered during execution of the query
 
I am getting the follow error e-mailed to me after upgrading from 6.02 to 6.10

An error was encountered during execution of the query:

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

The query returned with an errorcode of:

Unknown column 'Array' 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.



How do I go about fixing this error?

Chuck S May 8th, 2008 03:19 PM

Try going into your category editor and make sure to set the top level categories to thumbnail view. See if that helps.

ccaldwell May 9th, 2008 09:57 AM

Quote:

Originally Posted by Chuck S (Post 1223601)
Try going into your category editor and make sure to set the top level categories to thumbnail view. See if that helps.

I am still geting a SQL error via e-mail.

An error was encountered during execution of the query:

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

The query returned with an errorcode of:

Unknown column 'Array' 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.



Thanks for your help!

Chuck S May 9th, 2008 09:58 AM

Have you done this as I noted in my post? Category 503?

ccaldwell May 9th, 2008 10:02 AM

Quote:

Originally Posted by Chuck S (Post 1223744)
Have you done this as I noted in my post? Category 503?


Yes, I went into the Photopost admin in the category editor and made sure to set the top level categories were changed to thumbnail view.

ccaldwell May 9th, 2008 10:07 AM

I just verified the settings for thumbnail view for the top categories. Everything is set like you recommended.

Chuck S May 9th, 2008 10:52 AM

You have done this for every category? You still get the email?

ccaldwell May 9th, 2008 10:55 AM

Quote:

Originally Posted by Chuck S (Post 1223767)
You have done this for every category? You still get the email?

Yes, that is correct.

Chuck S May 9th, 2008 11:03 AM

Please pm me a url and admin login


All times are GMT -5. The time now is 03:59 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97