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 July 8th, 2008, 08:32 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2008
Posts: 14
Two Database Error Messages

I've seen the following error messages while using Photopost:

Admin -> Order Images
If I choose a category that is set to not to contain thumbnails, I get the following:
Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT id,catname,thumbs,cattype,parent,thumbnail,sortorder FROM pp_categories WHERE id=notcat LIMIT 1

Result: Unknown column 'notcat' in 'where clause'

Database handle: Resource id #6
Perhaps it would be better just to display an error message saying there are no images in the category.

Also, if I have images in my upload queue and I click on the number in the upload page, I get this:
Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT SUM(filesize) AS fsize FROM pp_photos WHERE userid= AND storecat=0

Result: 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 'AND storecat=0' at line 1

Database handle: Resource id #20
Mikhal is offline   Reply With Quote
Old July 8th, 2008, 10:57 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Well lets see the second query in uploadphoto.php I dont see why it would happen since if your authenticating properly your userid should be defined however you can find the query noted here and replace with this one. Note I encapsulted the userid variable.

Code:
Content visible to verified customers only.
Lines 3559-3560 of adm-misc.php

Code:
Content visible to verified customers only.
replace with

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 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
Error Messages simplybago Photopost Pro Bug Reports 6 July 6th, 2008 10:00 AM
Error messages 1QuickSI Classifieds Installation & Upgrades 8 February 28th, 2008 09:43 PM
Error messages. elisak General Discussion 6 December 21st, 2007 06:28 PM
Several error messages jbwax Photopost Pro Bug Reports 18 February 1st, 2006 05:05 PM
re: I get error messages agardonia Photopost Pro Installation & Upgrades 1 June 21st, 2005 08:36 AM


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

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