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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 14th, 2006, 08:37 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
After Upgrading from 5.2 to 5.31

I'm currently getting this error when browsing the gallery:

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

Now I'm running Vb 3.6 RC1 and like I have said I just completed an upgrade of photopost. Is the vb3 file causing the issue?
__________________
Kindest Regards

Robert MacLennan
mackers8923 is offline   Reply With Quote
Old July 14th, 2006, 09:44 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
Check to ensure you have not deleted one of your profile fields specifically the field2 field from the userfield table.
__________________
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 July 15th, 2006, 09:09 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
Field 2 still exists anything else I should check?
__________________
Kindest Regards

Robert MacLennan
mackers8923 is offline   Reply With Quote
Old July 15th, 2006, 09:13 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
well you have a url for me to see? You can also as admin set in global option your debug setting to display errors. That way you will know what it is not finding when its looking for the profile info from a user when your viewing a photo. Given your error this is what I am assuming is happening since that line deals with grabbing a users profile data
__________________
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 July 15th, 2006, 09:59 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
http://www.sccportal.org.uk/gallery

You might need to look at a few pics to get it to work chuck, I have tested today and the error had gone. That is until I had clicked through about 4 or 5 images.
__________________
Kindest Regards

Robert MacLennan

Last edited by mackers8923; July 15th, 2006 at 12:20 PM.
mackers8923 is offline   Reply With Quote
Old July 15th, 2006, 10:33 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
You need to find out specifically what is not being found in your vb tables.

Are you when logged in as admin shown the error? You have set display errors to on yes?

The error is only going to happen on photos with comments
__________________
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 July 15th, 2006, 12:20 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
Thanks Chuck
__________________
Kindest Regards

Robert MacLennan
mackers8923 is offline   Reply With Quote
Old July 15th, 2006, 12:51 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
Once you see the sql printed on screen you can see whats missing on the vb tables.

You can try changing this code below from pp-inc.php to print out the error if your not seeing in when logged in as admin

Code:
Content visible to verified customers only.
change to this


Code:
Content visible to verified customers only.
__________________
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 July 15th, 2006, 05:12 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
Thats a great help will try shortly. Thank you
__________________
Kindest Regards

Robert MacLennan
mackers8923 is offline   Reply With Quote
Old July 15th, 2006, 05:26 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/mackers8/public_html/gallery/forums/vb3.php on line 173


Ummmm Same error no further on!!
__________________
Kindest Regards

Robert MacLennan
mackers8923 is offline   Reply With Quote
Old July 15th, 2006, 06:11 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
If you have display errrors set to on and have removed the code meantioned your script should die and give you the exact error. You might need to PM me your ftp info
__________________
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 July 15th, 2006, 07:43 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
Details Sent Chuck
__________________
Kindest Regards

Robert MacLennan
mackers8923 is offline   Reply With Quote
Old July 15th, 2006, 08:21 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,796
You forgot to turn on display errors in global options like I said Your error is plain as day now and is exactly what I said it is. Your userfield table in vbulletin is missing the column in that table called field2 which is a default vbulletin field. You need to add that field to the mysql table noted.

http://www.sccportal.org.uk/gallery/...php?photo=2237
__________________
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 July 15th, 2006, 08:44 PM   #14 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Location: Northern Ireland
Posts: 24
Send a message via AIM to mackers8923 Send a message via MSN to mackers8923 Send a message via Yahoo to mackers8923
1st class instructions Chuck, thank you for your help today. Very much appreciated.
__________________
Kindest Regards

Robert MacLennan
mackers8923 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading and moving the forum.. moving and upgrading the gallery... ThomasR General Discussion 14 July 7th, 2006 06:50 AM
Upgrading from 5.13 to 5.21 digidivakathy Photopost Pro Installation & Upgrades 4 November 9th, 2005 11:58 AM
upgrading vB Happy Camper Before You Buy 5 February 20th, 2005 07:07 PM
Upgrading from 4.8 to 4.82 slant213 Photopost Pro Installation & Upgrades 1 September 2nd, 2004 09:56 AM
Upgrading from 4.6 to 4.8.1 Smoothie Photopost Pro Installation & Upgrades 25 August 5th, 2004 05:24 PM


All times are GMT -5. The time now is 11:05 AM.

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