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 September 11th, 2008, 09:40 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 4
Upgrade error - MySQL in pp-inc.php line 4153 and no admin permissions

Hi,

After upgrading from Photopost Pro 5.3 to the latest version (running with vBulletin 3.6.8PL2) we have an error on all pages of the gallery:

Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/maplanet/public_html/photos/pp-inc.php on line 4153
While all comments and photo data is correct no photos are showing (though they are on the server) with an additional error on photo pages (showphoto.php):

Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/maplanet/public_html/photos/showphoto.php on line 160
On top of that, when navigating to the adm-index page I get "You are not a valid administrator or moderator!" even though I have all admin permissions for the site.

If you wish to see for yourself, our Photopost install is at Main Index - Martial Arts Planet Photo Gallery

Any help would be brilliant
jamesfrost is offline   Reply With Quote
Old September 11th, 2008, 07:06 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Looks to me like you have not ran all your required upgrades. Please upload the upgrade script and run the upgrades from your version forward
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 12th, 2008, 09:04 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2005
Posts: 4
I ran the upgrade script from version 5.3 (what I believe was running before the upgrade) to the latest version. I've just taken over responsibility for our gallery so theres a good chance that, while the 5.3 files were on the server, our last full upgrade was in June 2004 ( ).

Would running the upgrade script from 4.82 cause any damage?
jamesfrost is offline   Reply With Quote
Old September 12th, 2008, 05:44 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
I would suggest running the script from 5.0 forward do not do 4.85 as if you run that more then once you can mess things up but looks like I spoke too late

You need to restore a backup of your database and start over with the upgrade at the proper place and only do things once.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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
Error on upgrade pp-inc.php on line 176 LoriW Photopost Pro Installation & Upgrades 2 January 1st, 2007 12:04 AM
MySQL result resource in /gallery/search.php on line 261 aacircle Photopost Pro Installation & Upgrades 7 December 4th, 2006 02:54 AM
upgrade error: header-inc.php on line 11 snoopy5 Classifieds Installation & Upgrades 3 February 15th, 2006 08:22 AM
Error: pp-inc.php on line 129 fpoole ReviewPost Installation & Upgrades 14 September 8th, 2005 11:15 AM
forums/vb3.php on line 28 error in admin CallieJo Classifieds Installation & Upgrades 6 May 2nd, 2005 06:12 PM


All times are GMT -5. The time now is 03:17 AM.

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