PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   mysql_fetch_row(): supplied argument is not a valid MySQL result resource in (http://www.photopost.com/forum/photopost-pro-installation-upgrades/129148-mysql_fetch_row-supplied-argument-not-valid-mysql-result-resource.html)

cavatina December 3rd, 2006 06:32 PM

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?

Chuck S December 4th, 2006 11:03 AM

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.

cavatina December 4th, 2006 12:13 PM

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!

nuguru December 7th, 2006 03:53 PM

How do I do those instructions?
 
Quote:

Originally Posted by Chuck S (Post 1182471)
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 :)

Chuck S December 7th, 2006 05:48 PM

ALTER TABLE userfield ADD field2 VARCHAR(75) NULL;

nuguru December 7th, 2006 07:10 PM

Oops...field settings
 
Quote:

Originally Posted by Chuck S (Post 1182839)
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 :)

Chuck S December 7th, 2006 09:21 PM

should be alright


All times are GMT -5. The time now is 07:21 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97