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 November 13th, 2006, 04:38 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2005
Posts: 33
Upgraded from 5.21 to 5.5 - database trouble

I'm running PP Pro integrated with phpBB 2.0.21. Recently I did the upgrade from 5.21 to 5.5 and everything seemed to go well. Then today I suddenly started getting huge amounts of error notification emails and when I opened my gallery I had the following mysql error shown:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/www/.../galleries/pp-inc.php on line 303

Elsewhere in the forum I read that this has to do with a wrong Photopost prefix in the database but since I didn't change the prefix during the upgrade (i used the upgrade script) how can this suddenly be wrong?

After doing some searches on Google I have now set line 303 in pp-inc.php from

$cacheq = mysql_fetch_array($totalv);

to

$cacheq = @mysql_fetch_array($totalv);

and everything works fine again now but since I don't really have a clue about these things I guess this is only a temporary solution that will create more trouble elsewhere. Any ideas?
bluemi is offline   Reply With Quote
Old November 13th, 2006, 04:40 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,680
Did you run your upgrade scripts from 5.21 to 5.5 as there should be no issue with the cache table since it should exist if you ran the upgrades.
__________________
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 November 13th, 2006, 05:24 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2005
Posts: 33
Hi Chuck, yes I did and actually all worked fine for 9 days. The problem suddenly started today.
bluemi is offline   Reply With Quote
Old November 13th, 2006, 05:43 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: May 2005
Posts: 33
Hm, more error messages now:
Can't open file: 'ppost_cache.MYD'. (errno: 145)
bluemi is offline   Reply With Quote
Old November 13th, 2006, 06:11 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: May 2005
Posts: 33
Hm, might have fixed it. There was something wrong with a table in ppost_cache. Restored it, and also changed back the line in pp-inc.php. All normal now.
bluemi 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
In Trouble joseduddy Photopost Pro How Do I...? 18 September 5th, 2006 08:38 PM
Upgraded but having trouble... digidivakathy Photopost Pro Installation & Upgrades 16 November 14th, 2005 09:13 PM
upgraded to 3.1 and database error agiacosa ReviewPost Installation & Upgrades 5 October 13th, 2005 10:02 AM
Some users having trouble christaw Photopost Pro How Do I...? 3 May 18th, 2005 05:03 PM
Upgraded VB and vBadvanced scripts have trouble imported_DougM Installs and Upgrade - vBulletin 3.0.X 2 January 5th, 2005 11:54 PM


All times are GMT -5. The time now is 10:14 AM.

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