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 Rate Thread Display Modes
Old November 15th, 2007, 09:50 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Weird Error Message

This morning we have this warning or error message on all pages of our gallery, Crop Addict Gallery, under the log in option.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home2/croptcom/public_html/photopost/pp-inc.php on line 753

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home2/croptcom/public_html/photopost/pp-inc.php on line 756

It wasn't there last night - not sure what time it appeared. Even when I'm logged in under admin it appears. Not sure how to get rid of it. And we haven't made any admin changes.

Any thoughts?
Debbie is offline   Reply With Quote
Old November 15th, 2007, 10:15 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
What version are you running? Try setting your debug option to display errors and see if it tells you the real error and post that here so we may assist.
__________________
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 15th, 2007, 11:52 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Hi Chuck,

We're running 5.3

I did as suggested and set the Debug to display errors and then it gave me this:

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

Script:

Query: SELECT id,user,userid,cat,storecat,title,bigimage,height,width, id*0+RAND() as rand_col FROM pp_photos WHERE approved=1 ORDER BY rand_col DESC LIMIT 17

Result: Out of memory (Needed 129732 bytes)

Database handle: Resource id #6

-------
I tested to see if we could still upload, it allows us to but we get a brief error and then it goes through. Too fast for me to copy the error message.

Last edited by Debbie; November 15th, 2007 at 12:06 PM.
Debbie is offline   Reply With Quote
Old November 15th, 2007, 12:03 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
You can turn off your random photo block on the sidebar. Your mysql is running out of memory trying to cycle through and grab photos.

You can also try upgrading to Photopost 6.0 which has had some speed enhancements might help you.
__________________
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 15th, 2007, 12:13 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Thanks Chuck. That did the trick

What does upgrading entail?
Debbie is offline   Reply With Quote
Old November 15th, 2007, 12:34 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
Basically downloading the build and uploading the unzipped contents to your photopost directory after deleting the config files install.php then you run upgrade.php and select the 5.3 upgrades forward. You can then delete upgrade.php

Upgrade instructions are included in the documentations directory of the download.
__________________
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 15th, 2007, 12:50 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2006
Posts: 21
Thanks Chuck. I'll add that to the list for my webdeveloper.
Debbie 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
Error Message ?? chillami Photopost Pro How Do I...? 1 December 17th, 2006 10:48 AM
weird weird problem hIBEES Photopost Pro Installation & Upgrades 3 December 4th, 2006 12:06 PM
weird error after upgrading (php information shown) tcb Installs and Upgrade - vBulletin 3.6x 2 November 2nd, 2006 06:00 PM
Getting weird new error kevinrstruck Photopost Pro Installation & Upgrades 1 April 7th, 2005 07:26 PM
Weird message sent to admin by vB Gallery? tcb Installs and Upgrade - vBulletin 3.0.X 1 January 3rd, 2005 05:56 AM


All times are GMT -5. The time now is 06:46 AM.

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