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 > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Old December 29th, 2009, 01:10 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 20
Do I need to upgrade?

I came home this week to find a few errors. I am running 6.1 still and I have made no changes at all. Must I upgrade to make this go away?

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/gallery/adm-misc.php on line 1117

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

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/gallery/inc_photopost.php on line 128

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/gallery/inc_photopost.php on line 143
flyaddict is offline   Reply With Quote
Old December 29th, 2009, 09:17 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
where is this error at? I mean inc_photopost.php is an old modification file and never called directly in our program so not sure why you would be recieving that error in conjunction with all those others.
__________________
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 December 29th, 2009, 09:18 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
have you checked your database to make sure everything is there and nothing has crashed?
__________________
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 December 30th, 2009, 07:51 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 20
That is showing on my VB home page.

I turned off the plug-in on my VB page and the error is gone.

The others remain on my photopost page

Last edited by flyaddict; December 30th, 2009 at 08:04 AM.
flyaddict is offline   Reply With Quote
Old December 30th, 2009, 08:24 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Can you tell me what those lines are in those respective files? We dont have 6.1 lieing around so that I can see what those lines are.

I would suspect though if I had to venture a guess one of your mysql tables is crashed and needs to be repaired in mysql like I posted above.
__________________
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 December 30th, 2009, 08:47 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 20
pp-inc.php line 1289

while ( $category = mysql_fetch_row($boards) )

pp-inc.php line 5058

list( $cache['stats']['posttotal'] ) = mysql_fetch_row($totalv);


This is 2 lines anyway.



when I enter the admin panel I get this one.

adm-misc.php on line 1117

list( $posttotal ) = mysql_fetch_row($totalc);

No idea what happened. I never touched anything.
flyaddict is offline   Reply With Quote
Old December 30th, 2009, 01:33 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
well maybe possibly based on those errors your categories table is crashed in mysql? Can you use phpmyadmin to check?

REPAIR TABLE pp_categories;
__________________
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 December 30th, 2009, 02:17 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 20
Ran a query and it says status OK. Doesn't seem to do anything.

How do I know if it has crashed? Thanks for your help by the way.
flyaddict is offline   Reply With Quote
Old December 30th, 2009, 02:57 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
If your using phpmyadmin you should see if any tables are crashed.

You can repair all tables also.
__________________
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 December 30th, 2009, 06:58 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 20
I repaired all and nothing changed.
flyaddict is offline   Reply With Quote
Old December 30th, 2009, 08:06 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
If you set the debug option to 2 in the pp_settings table and view your photopost what error is displayed?

This is what we really need to know is the real error.
__________________
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 December 30th, 2009, 08:32 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 20
Am I supposed to change settings from 0 to 2 or optionorder from 27 to 2?

you just said option. This is table 174?


If it was the first one this came up.

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

Script:

Query: SELECT c.id, c.description, c.catorder, c.photos, c.posts, c.catdepth, p.id, p.bigimage, p.cat, p.approved, p.user, p.userid, p.date, p.width, p.height, p2.bigimage, p2.cat, p2.storecat, p2.userid, p2.width, p2.height, com.username, com.id, com.date, com.photo FROM pp_categories c LEFT JOIN pp_photos p ON c.lastphoto=p.id LEFT JOIN pp_photos p2 ON c.thumbnail=p2.id LEFT JOIN pp_comments com ON com.id=c.lastpost ORDER BY c.catorder ASC

Result: Table 'XXXXX_XX.pp_comments' doesn't exist

Database handle: Resource id #22
flyaddict is offline   Reply With Quote
Old December 31st, 2009, 10:13 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Okay well there is most definately your first step to your issue.

Your comments table is either corrupt or just plain missing. Do you have your 6.1 download code just try simply doing an install into the same database and table prefix photopost is already installed in and see if this gets your running.
__________________
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 December 31st, 2009, 01:44 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2007
Posts: 20
Thanks so much Chuck! You rock!

That was it. I looked in my database and the comments table just got up and vanished. How does that happen? Anyway. All square now. I got my renewal also... Thx so much.
flyaddict is offline   Reply With Quote
Old December 31st, 2009, 02:49 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
glad to assist happy new year
__________________
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade error on upgrade from 5.0 release to 5.1 zacksof Photopost Pro Installation & Upgrades 20 December 1st, 2006 11:43 AM
Upgrade 4.7 > 5.61 - Blank Screen after Selecting 4.7 Upgrade ragomez Photopost Pro How Do I...? 8 November 30th, 2006 12:57 PM
RP3.11 to 3.3 upgrade... new product photos (since upgrade) not being shown criscokid ReviewPost Installation & Upgrades 2 April 30th, 2006 08:34 AM
Upgrade vBulletin = must upgrade vBGallery? LBmtb Before You Buy 1 January 19th, 2006 06:11 AM
Upgrade 4.8d to 5.03 upgrade.php problem dbullock Photopost Pro Installation & Upgrades 4 May 19th, 2005 11:13 AM


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

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