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 29th, 2007, 08:57 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
Warning: mysql_fetch_row() pp-inc.php on line 2836

After upgrade Im getting these errrors while uploading

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

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


line 2836 is

list( $lastphoid, $lastphoby, $lastphobyid, $lastphotime ) = mysql_fetch_row($lastp);


line 2845 is

list( $lastpostby, $lastpostbyid, $lastposttime, $lastpostlink ) = mysql_fetch_row($lastc);
Silver_2000 is offline   Reply With Quote
Old May 29th, 2007, 09:36 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Have you ran all upgrades you needed to?

What did you upgrade from what version?
__________________
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 May 29th, 2007, 09:52 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
I think so - I didnt check the version first ...

I reran from 5.2 up ....
Silver_2000 is offline   Reply With Quote
Old May 29th, 2007, 09:57 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well what site is this?

You have 4 licenses and i have viewed every last one of those sites and none of them have that 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 May 29th, 2007, 11:05 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
Quote:
Originally Posted by Chuck S View Post
well what site is this?

You have 4 licenses and i have viewed every last one of those sites and none of them have that error
www.Nloc.net/gallery
Silver_2000 is offline   Reply With Quote
Old May 30th, 2007, 06:00 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Okay someone elses site not yours

Your link is wrong above I think you mean this photopost but you have it closed so I cant see anything

http://www.nloc.net/photopost/
__________________
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 May 30th, 2007, 07:28 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
Quote:
Originally Posted by Chuck S View Post
Okay someone elses site not yours

Your link is wrong above I think you mean this photopost but you have it closed so I cant see anything

http://www.nloc.net/photopost/
I closed it to prevent potential DB damage
Its open now
Silver_2000 is offline   Reply With Quote
Old May 30th, 2007, 07:46 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I am not seeing any mysql errors on that site
__________________
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 May 30th, 2007, 07:49 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
Quote:
Originally Posted by Silver_2000 View Post
After upgrade I'm getting these errors while uploading

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

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

While uploading or deleting a file I get the above errors

Doug
Silver_2000 is offline   Reply With Quote
Old May 30th, 2007, 11:30 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
I would suggest you reupload all core files and rerun upgrades 5.0 thru the last one no reason I would see that those queries would be wrong
__________________
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 May 30th, 2007, 12:04 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
I went ahead and deleted everything BUT the data folder and then uploaded 5.6x files and ran the upgrade.pho from 5.0 on and only saw one error that wasnt a result of the changes already existing

it was

Quote:
Error performing MySQL command: UPDATE settings SET setting = 'Powered by: PhotoPost --replaceme--
Copyright 2007 All Enthusiast, Inc.' WHERE id=37
Error: Table 'usernameXX_vbulletin.settings' doesn't exist
it appears the table prefix was left off this command

Still getting same error on upload and on delete
Silver_2000 is offline   Reply With Quote
Old May 30th, 2007, 12:43 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Interesting try turning on display errors in the debug setting in global options and tell me the exact 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 May 30th, 2007, 01:56 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
uploading error

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

Script:

Query: SELECT id,user,userid,date FROM pp_photos WHERE cat IN (1,500,) ORDER BY date DESC LIMIT 1

Result: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY date DESC LIMIT 1' at line 1

Database handle: Resource id #22
Silver_2000 is offline   Reply With Quote
Old May 30th, 2007, 03:56 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
What cat are you trying to upload to?

You can post a test user login here as well

Trying to understand what your doing would help because I see no forseeable reason why you would get that error.

Why is category 500 in that query thats what I want to know obviously your trying to upload somewhere else besides the members gallery because there is a separate set of queries if its the members gallery.

Looks to me somewhere in your categories the children variable is not right.

Try editing your cats and saving them to update the children fields
__________________
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 May 30th, 2007, 04:24 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jun 2003
Location: Dallas TX
Posts: 400
I wasn't doing anything special
I simply clicked upload and then picked a picture and clicked upload

- the good news is that after taking your recommendation of adding a test cat and saving and for good measure updating the user groups from the forum the issue seems to be gone

THANKS !!!
Silver_2000 is offline   Reply With Quote
Old May 30th, 2007, 04:50 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yep your child field seemed to be fubared
__________________
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
Warning: mysql_fetch_row(): allcompu Photopost Pro Installation & Upgrades 2 April 8th, 2007 04:47 PM
Warning: mysql_fetch_row(): in step 5 metoo551445 Photopost Pro Installation & Upgrades 3 December 7th, 2006 07:36 AM
Warning: mysql_fetch_row(): Pascal Bouffard General Discussion 5 April 10th, 2006 05:37 PM
Warning: mysql_fetch_row() missingleak Photopost Pro Installation & Upgrades 5 December 21st, 2005 03:08 PM


All times are GMT -5. The time now is 09:56 PM.

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