 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
July 14th, 2006, 08:37 PM
|
#1 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
| 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
|
| |
July 14th, 2006, 09:44 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
July 15th, 2006, 09:09 AM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
|
Field 2 still exists anything else I should check?
__________________
Kindest Regards
Robert MacLennan
|
| |
July 15th, 2006, 09:13 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
July 15th, 2006, 09:59 AM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
| 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.
|
| |
July 15th, 2006, 10:33 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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 |
| |
July 15th, 2006, 12:20 PM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
|
Thanks Chuck
__________________
Kindest Regards
Robert MacLennan
|
| |
July 15th, 2006, 12:51 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
July 15th, 2006, 05:12 PM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
|
Thats a great help will try shortly. Thank you
__________________
Kindest Regards
Robert MacLennan
|
| |
July 15th, 2006, 05:26 PM
|
#10 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
|
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
|
| |
July 15th, 2006, 06:11 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
July 15th, 2006, 07:43 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
|
Details Sent Chuck
__________________
Kindest Regards
Robert MacLennan
|
| |
July 15th, 2006, 08:21 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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 |
| |
July 15th, 2006, 08:44 PM
|
#14 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005 Location: Northern Ireland
Posts: 24
|
1st class instructions Chuck, thank you for your help today. Very much appreciated.
__________________
Kindest Regards
Robert MacLennan
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:05 AM. | |