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 June 17th, 2005, 08:06 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 43
mysql error with comments

It seems i have this error everytime a user adds a comment, so if there is 3 comments then i'll have 3 errors just like this? Any ideas?

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in \photopost\forums\vb3.php on line 146



Another issue when someone post a comment it just shows there IP not a username? Is this related?
creekdawg is offline   Reply With Quote
Old June 17th, 2005, 08:19 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 43
this is the code from vb3 file that it is complainging about

Code:
Content visible to verified customers only.
creekdawg is offline   Reply With Quote
Old June 17th, 2005, 09:42 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 43
Do i need to use a different inc_photopost.php then what orginaaly came with pp for use with vb3 and pp
creekdawg is offline   Reply With Quote
Old June 18th, 2005, 07:40 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Line 146 is this

list( $cuser, $chomepage, $ctitle, $cposts, $regdate, $clocation, $conline, $csig, $avpath, $hasav, $avrev ) = mysql_fetch_row($results);


More than likely you have deleted the field2 column in the userfield table of vb. You need to modify our integration file to point to the proper table and field that now holds the location field for the user profile since your VB has been changed from the default.
__________________
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 June 18th, 2005, 02:51 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 43
How might that have happened? I just installed it and havent deleted anything that i am aware of. How would I go about doing what you suggested? thanks
creekdawg is offline   Reply With Quote
Old June 18th, 2005, 02:59 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 43
I think i might know but need some expert advice.

I made a few cutoms feilds in the user profile section and deleted the location option, since it ask's for location in that code could this be breaking it?
creekdawg is offline   Reply With Quote
Old June 18th, 2005, 03:03 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 43
well I tried that and that wasnt it
creekdawg is offline   Reply With Quote
Old June 18th, 2005, 03:22 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Exactly!! You hit the nail on the head on what I said above.

We code our integration to the default VB code meaning yep we look for location. If you delete it or love it to another profile field you would need to update our forum integration file vb3.php accordingly
__________________
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 June 18th, 2005, 08:45 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 43
Anyone know what the mysql statemeant would be to insert the default vaules for the userfeild to match the default vb3.php file in the pp/forums dir?
creekdawg is offline   Reply With Quote
Old June 18th, 2005, 09:27 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You would alter your profile query but I dont know what you changed your location field to so I cant help without that info
__________________
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
MySQL error... Rich Z Classifieds Bug Reports 28 April 27th, 2005 12:28 PM
HELP! MySQL error scrap32 Photopost Pro Installation & Upgrades 1 November 15th, 2004 12:18 PM
mysql error help Blackhood Photopost Pro Installation & Upgrades 3 July 14th, 2004 03:44 PM
mysql error? shamrox Photopost Pro Installation & Upgrades 1 June 27th, 2004 05:09 PM


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

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