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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 26th, 2005, 03:05 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2003
Posts: 3
mySQL errors

While uploading photos or moving photos from one album to another, I get this error:


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/scrapoft/public_html/photopost/pp-inc.php on line 1857

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/scrapoft/public_html/photopost/pp-inc.php on line 1857

This is a fresh install of PhotoPost 5.1 (i.e. NOT an upgrade -- new DB, fresh install).

Running on Unix, shared server

vB 3.0.7

vBulletin and Photopost are in two seperate mySQL databases.

Last edited by robinsf; May 26th, 2005 at 03:08 AM.
robinsf is offline   Reply With Quote
Old May 26th, 2005, 03:07 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2003
Posts: 3
MySQL error report email says this:

An error was encountered during execution of the query:

SELECT id,catname,description,catorder,parent,thumbs,children,cattype,albums FROM pp_categories WHERE id IN (500) ORDER BY id DESC

The query returned with an errorcode of:

Unknown column 'albums' in 'field list'
robinsf is offline   Reply With Quote
Old May 26th, 2005, 08:12 AM   #3 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
albums was a field missing in the early install.php script; you can either run the upgrade.php for 5.0 and ignore the duplicate errors or you can add it manually:

ALTER TABLE categories ADD albums TEXT AFTER children;

Be sure to add any table prefix onto categories if you have them.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old May 26th, 2005, 12:18 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2003
Posts: 3
That seemed to kill the errors -- thanks!

Can you guys fix the install files to include that table insertion? I dl'd Photopost right from the Members section yesterday.

Also, do I need to install the inc_photopost.php for full VB3 integration? In prior versions, in a member's posts next to PM, Online Status, etc. a link was automatically generated to that member's Photopost gallery. Is that still possible?

Last edited by robinsf; May 26th, 2005 at 12:23 PM.
robinsf is offline   Reply With Quote
Old May 26th, 2005, 12:27 PM   #5 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
We already updated the build with the missing field.

If I understand what you want (a link by a members name to their gallery), thats a vBulletin modification. I've seen them on photopostdev.com, so you might try looking there.
__________________
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
mysql errors jaffy Photopost Pro Installation & Upgrades 1 November 18th, 2005 05:29 PM
Installed.... Now MySQL Errors. Please Help! Chris@TSE Classifieds Installation & Upgrades 29 August 1st, 2005 08:16 PM
MYSQL Errors garybrun Photopost Pro Installation & Upgrades 7 December 18th, 2004 04:37 AM
mysql errors ncg ReviewPost Bug Reports 2 December 7th, 2004 10:50 PM


All times are GMT -5. The time now is 01:19 AM.

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