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 September 25th, 2007, 04:38 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2007
Posts: 16
'votes' column missing from comments table

Sorry if this has been reported, but I couldn't find a forum thread for it.

Enabled "contest" voting for a category and when attempting to access the category I get the following error:

Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT photo FROM pp_comments WHERE cat=502 AND userid=3903 AND votes=1

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

Database handle: Resource id #20
Looking at the install.php file shows that it doesn't even attempt to create a "votes" column.

Can you please advise on the field spec for this missing field.
Royalridge is offline   Reply With Quote
Old September 25th, 2007, 07:06 PM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
Actually, it does on line 686:

Code:
Content visible to verified customers only.
the upgrade.php line reads:

Code:
Content visible to verified customers only.
Are you sure you arent working off an outdated BETA?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old September 25th, 2007, 07:44 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
My suggestion is to redownload the build upload the files and run upgrade.php just to ensure as Michael pointed out maybe you where working off a beta. This issue was addressed in one of our beta versions of the software and fixed in beta 2 or beta 3 If I remember correctly.
__________________
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
Old September 26th, 2007, 03:32 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2007
Posts: 16
Quote:
Originally Posted by Michael P View Post
Actually, it does on line 686:

Code:
Content visible to verified customers only.
the upgrade.php line reads:

Code:
Content visible to verified customers only.
Are you sure you arent working off an outdated BETA?
The select statement that's giving the error, as written, will be looking for the votes column in the comments table, the line 686 you refer to adds a votes column to the photos table, so either the query is wrong or the comments table is not being set up correctly.

No, I am not working off an outdated BETA, I am a new (unhappy) customer and the code was downloaded "fresh" from the members area.
Royalridge is offline   Reply With Quote
Old September 26th, 2007, 03:37 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2007
Posts: 16
Quote:
Originally Posted by Chuck S View Post
My suggestion is to redownload the build upload the files and run upgrade.php just to ensure as Michael pointed out maybe you where working off a beta. This issue was addressed in one of our beta versions of the software and fixed in beta 2 or beta 3 If I remember correctly.
I ran the upgrade.php script on my fresh, clean 3.6 installation, performed the 5.61/5.62 to 6.0 upgrade, ignoring the SQL errors and the column was added to the comments table.

As previously stated above, this was a clean install from a new customer download, not a upgrade from any beta.
Royalridge is offline   Reply With Quote
Old September 26th, 2007, 05:49 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2007
Posts: 16
Guys, this is getting beyond a joke. In showgallery.php lines 235 and 240 refer to the column as "votes" but the actual column name according to the code in misc.php refers to it as "vote"

I bought this script primarily to run a contest, not as a PHP debugging exercise.
Royalridge is offline   Reply With Quote
Old September 26th, 2007, 08:19 AM   #7 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
I posted about the photos table, not the comments table. You are correct, in showgallery.php and in misc.php we incorrectly address the "vote" column for the comments table where the "vote" field is suppose to be.

This release is days old; some less used functions may shake out over the first few days of a new release as all the new features get used.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old September 26th, 2007, 08:48 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2007
Posts: 16
Quote:
Originally Posted by Michael P View Post
This release is days old; some less used functions may shake out over the first few days of a new release as all the new features get used.
This is what beta testing and release candidate testing is for.

The situation now is that I've spent over $100 on a product and given the number of bugs I've encountered and reported I have zero confidence in deploying this on my live website.
Royalridge is offline   Reply With Quote
Old September 26th, 2007, 09:30 AM   #9 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,858
Apparently these particular issues did not get caught during the BETA and RC testing. As I said, with new releases follow-on dot releases are not uncommon in this industry when even aggressive testing does not catch every issue.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P 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
Index missing for 'approved' column? bajabob Photopost Pro Bug Reports 16 September 10th, 2007 08:17 PM
Missing inside table borders scrappygirl Photopost Pro Installation & Upgrades 4 March 14th, 2007 11:01 PM
Missing Table - session fpoole Photopost Pro Installation & Upgrades 10 February 16th, 2006 10:23 AM


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

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