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 18th, 2006, 12:31 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
mysql_fetch_row()

When I click on "My Photos", I get this error:

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

And the main window says "You do not have permission to view this category."

I think I've set the permissions in the admin control panel correctly, but maybe I'm missing something.

Thanks.
-Bart
Barticus89 is offline   Reply With Quote
Old September 18th, 2006, 08:44 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Link to your site?

Thats a weird error line to have.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 18th, 2006, 12:22 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
Hi Chuck,
I appreciate your help. My site is a private forum for a fraternity, and they're really weird about outsiders looking at the forums.... Can I give you a temporary guest login?
Thanks for your help.
-Bart
Barticus89 is offline   Reply With Quote
Old September 18th, 2006, 12:51 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You can
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 20th, 2006, 06:55 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
Chuck,

When I try to create an album from my user account, it does not get created, and I get this error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/phibeta2/public_html/photos/pp-inc.php on line 4250

When I try to create categories in the Admin Control Panel, I get this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/phibeta2/public_html/photos/adm-cats.php on line 241
And it says, "Unable to find categoy: 508"

However, if I look at the directory structure on the server, the 508 directory is there, along with a bunch of others (apparently created as I've tried to set up new categories.)

Any ideas about what might be wrong? I've checked my permissions, and /data and all the subdirectories are set to 755.

Thanks,
-Bart
Barticus89 is offline   Reply With Quote
Old September 21st, 2006, 11:45 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
Also, I'm getting errors when I even just click on a category under the Main heading.
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/phibeta2/public_html/photos/showgallery.php on line 122
And the display area says, "You do not have permission to view this category"

I also get these errors when I upload photos during the bulkupload process, when the redirect page comes up that says the upload was successful. These error messages are at the top of the screen before it takes me to the category where they were uploaded (where it says I don't have permission to view this category).

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

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

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

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

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

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

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

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

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

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/phibeta2/public_html/photos/pp-inc.php on line 2692
Barticus89 is offline   Reply With Quote
Old September 21st, 2006, 02:38 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Hello still no info from you so without knowing more on the exact situation hard to say. In your global options set display errors as the default in debug option.

Did you upgrade and not run an upgrade script? we need to see the real error to comment so turn on the debug and post 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 online now   Reply With Quote
Old September 21st, 2006, 02:39 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Check to see your categories table is not using phpmyadmin
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 21st, 2006, 03:00 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
Ok, I turned debug "on". When I simply try to view a category under the Main heading, this error appears:

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

Script:

Query: SELECT c.id,c.catname,c.thumbs,c.cattype,c.parent,c.theme,c.thumbtype, c.sortorder,c.frames,c.intro,c.introtitle,c.introcopy,c.ratingtype,c.takevotes,c.ismember,n.userid FROM pp_categories c LEFT JOIN pp_notify n ON (n.userid='1' AND n.photo=c.id AND n.type=1) WHERE c.id=505

Result: Unknown column 'c.thumbtype' in 'field list'

Database handle: Resource id #22
Barticus89 is offline   Reply With Quote
Old September 21st, 2006, 03:02 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
Quote:
Originally Posted by Chuck S View Post
Check to see your categories table is not using phpmyadmin
Please explain how to do that, Chuck. I have no idea what that means.
Thank you.
-Bart
Barticus89 is offline   Reply With Quote
Old September 21st, 2006, 04:59 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
In your control panel of your site you should see a phpmyadmin link

You can in there view your database and check the table names and select repair or use the sql box and type this

REPAIR TABLE pp_categories

Again without more info on what you did to your site like upgrading or what not I am stabbing in the dark
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 21st, 2006, 06:38 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
Done. Repair status: OK.

This is a re-install. A long time ago, I had an older version of Photopost on the server, but it was using it's own database and installed in a different directory (/gallery), and I couldn't get it to work well so I took it off. This time around, I chose to use one common database for vBulletin and Photopost, installed it in a different directory (/photos). Do you think there may be some lingering settings, tables, code, etc that's messing with the new installation?

These are colocated servers running Linux 2.6.16.17-grsec on an i686 with Apache 1.3.36 (Unix), PHP 4.4.2 and mySQL 4.1.21-standard.

Hope that helps. Thanks.
-Bart
Barticus89 is offline   Reply With Quote
Old September 21st, 2006, 10:14 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Looks to me like you have old database tables. if this is a total reinstall probaly best to drop the photopost tables and reinstall otherwise you need to run the applicable upgrade scripts from your last version forward if your using an older database structure
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 22nd, 2006, 08:17 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2003
Location: San Jose, CA
Posts: 21
Send a message via Yahoo to Barticus89
Talking

The upgrade script took care of the problems. Thanks Chuck.
-Bart
Barticus89 is offline   Reply With Quote
Old October 6th, 2006, 12:41 PM   #15 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2006
Posts: 18
I am getting the same type errors.
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mukohbox55/domywife.com/forums/photopost.php on line 373 Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mukohbox55/domywife.com/forums/photopost.php on line 332

What can I do? Chuck the site is domywife.com (NOT SAFE FOR WORK)
mukoh is offline   Reply With Quote
Old October 6th, 2006, 02:05 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Using your sites control panel use phpmyadmin and type this sql when viewing the photopost database

REPAIR TABLE pp_iponline
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
mysql_fetch_row(): driller Photopost Pro Installation & Upgrades 1 August 29th, 2006 04:17 PM
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
Error this morning in mysql_fetch_row...:( rcull General Discussion 3 September 17th, 2005 05:10 PM


All times are GMT -5. The time now is 03:24 PM.

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