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 March 24th, 2012, 09:35 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 207
Repeated Gallery Issues

Gents, I am seeing quite a number of errors emailed to me daily. These errors are coming from the newest installation of Photopost on my vbulletin 4.1.11 site. Can you help me with a suggestion about how I can fix this problem? Thank you.

Mike


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

SELECT numcom,rating,cat,id,title FROM photos WHERE cat IN (3d551) ORDER BY rating DESC LIMIT 10

The query returned with an errorcode of:

Unknown column '3d551' in 'where clause'

If you need assistence or feel this is a 'bug'; please report it to our support forums at: Photopost Pro Bug Reports - PhotoPost Community

To turn off these emails, set $debug=0 in your config-inc.php file.
gholsie is offline   Reply With Quote
Old March 25th, 2012, 09:06 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
well literally can not replicate the issue and that query can only be found one place the ratings cache function.

I would suspect a bot maybe playing with urls values.

Maybe as a test try making line 5220 of pp-inc.php.

Code:
Content visible to verified customers only.
what I added is in bold.
__________________
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; March 27th, 2012 at 11:22 AM.
Chuck S is online now   Reply With Quote
Old April 5th, 2012, 12:48 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 207
Thanks Chuck. Line 5220 does not have that code, it has..

Code:
Content visible to verified customers only.
I found it on line 5188. Would that be a problem? Do I have the wrong code?

m
gholsie is offline   Reply With Quote
Old April 5th, 2012, 07:42 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
line 5220 of our pp-inc.php is by default this

Code:
Content visible to verified customers only.
You can only be counting the lines wrong or your file is older. I can not say which. The line is in the get_ratingscache function. You would make sure the line above is what I posted in my previous post.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Gallery Issues AGAIN or STILL Cindy Coutts Photopost Pro Installation & Upgrades 13 September 20th, 2010 03:25 PM
More PP Pro Gallery Issues 420 Photopost Pro How Do I...? 5 March 19th, 2010 05:42 AM
Gallery Issues Cindy Coutts Photopost Pro Installation & Upgrades 3 January 26th, 2010 05:36 AM
a few issues with the gallery vbreal Photopost Pro How Do I...? 5 May 29th, 2009 05:10 PM
Gallery Upload Issues Tswaibel Installs and Upgrade - vBulletin 3.5.X 0 November 17th, 2005 12:20 PM


All times are GMT -5. The time now is 02:13 PM.

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