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 December 3rd, 2006, 07:32 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2005
Posts: 10
mysql_fetch_row(): supplied argument is not a valid MySQL result resource in

We've just purchased PhotoPost and have done a fresh install of 5.61 Build 28 Nov. Everything looks all right except for http://gallery.istyles.com/member.php?uid=1 that's giving this error:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/ipod/public_html/gallery/forums/vb3.php on line 177

I've been checking everything and all seems well. The table prefixes seem fine. vb seems nicely integrated other than the above error. Does anyone have any idea as to what might have gone wrong?
cavatina is offline   Reply With Quote
Old December 4th, 2006, 12:03 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,810
You should get the same error viewing a photo also.

Looks to me like your missing a vbulletin vital field for profile data most likely field2 in the userfield table and you need to add that back into that vbulletin table

You can confirm this by setting debug setting to display errors in your admin global options and viewing the page logged in as admin you will be shown 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 online now   Reply With Quote
Old December 4th, 2006, 01:13 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2005
Posts: 10
You're right. I'm not sure how field2 disappeared but as soon as it was manually added back to the userfield table, the error disappeared. Thanks!
cavatina is offline   Reply With Quote
Old December 7th, 2006, 04:53 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 48
How do I do those instructions?

Quote:
Originally Posted by Chuck S View Post
You should get the same error viewing a photo also.

Looks to me like your missing a vbulletin vital field for profile data most likely field2 in the userfield table and you need to add that back into that vbulletin table

You can confirm this by setting debug setting to display errors in your admin global options and viewing the page logged in as admin you will be shown the exact error.
Hello,

I will definitely try this but how do I do it? I go to vb ACP, then what?

Thanks Chuck,

Nuguru
nuguru is offline   Reply With Quote
Old December 7th, 2006, 06:48 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,810
ALTER TABLE userfield ADD field2 VARCHAR(75) NULL;
__________________
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 December 7th, 2006, 08:10 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 48
Question Oops...field settings

Quote:
Originally Posted by Chuck S View Post
ALTER TABLE userfield ADD field2 VARCHAR(75) NULL;
Hello Chuck,

When I created the new field (prior to your last message), I put MEDIUMTEXT apposed to VARCHAR for the type, because that's what all the other fields are using. Will there be a problem with that?


Thank You,

Nuguru
nuguru is offline   Reply With Quote
Old December 7th, 2006, 10:21 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,810
should be alright
__________________
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 result resource in /gallery/search.php on line 261 aacircle Photopost Pro Installation & Upgrades 7 December 4th, 2006 03:54 AM
Warning: mysql_fetch_row(): supplied argument... ratm Photopost Pro Installation & Upgrades 6 April 19th, 2006 08:58 PM
Warning: mysql_fetch_array(): supplied argument is not a valid Please help tidy_boy ReviewPost Installation & Upgrades 25 December 21st, 2005 04:35 PM
upgrade gone wrong (mysql_fetch_row(): supplied argument is...) monkeyra Photopost Pro Installation & Upgrades 4 June 9th, 2005 12:37 PM
Warning: Invalid argument supplied for foreach() trulylowcarb Installs and Upgrade - vBulletin 3.0.X 2 February 8th, 2005 06:52 PM


All times are GMT -5. The time now is 06:15 PM.

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