 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
April 16th, 2006, 08:04 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2004
Posts: 180
| Bug! Shows error after removing profilefield in vbulletin
Just discovered a bug with the vbulletin integration: when I remove a profilefield in vbulletin, photopost showphoto.php shows this error: Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT u.username,u.homepage,u.usertitle,u.posts,u.joindate,uf.field2,s.host,t.signature,avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustomavatar,u.avatarrevision FROM user u LEFT JOIN userfield uf ON uf.userid=u.userid LEFT JOIN session s ON s.userid=u.userid LEFT JOIN usertextfield t ON t.userid=u.userid LEFT JOIN avatar AS avatar ON (avatar.avatarid = u.avatarid) LEFT JOIN customavatar AS customavatar ON (customavatar.userid = u.userid) WHERE u.userid=6885 LIMIT 1
Result: Unknown column 'uf.field2' in 'field list'
Database handle: Resource id #26
| How can I solve this, as my gallery doesn't work now.
|
| |
April 16th, 2006, 09:17 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
We code to a default vb and the location field is in field2 column in the vbulletin userfield table
Therefore if you delete this field you will get that error
The correct course of action and easiest would be to add field2 back in the vb userfield table.
You can do the harder thing and modify your get_profiledata function in vb3.php if you choose.
|
| |
June 16th, 2006, 06:24 PM
|
#3 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2006
Posts: 6
| comments problem
Hi there thanks for the advise I tried it and it worked
But now there is a new issue with the comments.
When someones rates a photo it does not show the comments of that person but if someone does not rate the photo then the comments show for that person. if that makes sense.
Anyway can you help with this please.
|
| |
June 16th, 2006, 06:47 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Easy in your admin showphoto options you are electing not to show empty comments. turn this to off
|
| |
January 8th, 2008, 03:37 PM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi
I have the exact same problem as dutchbb. I deleted 4 profile fields within vb and get now this error when clicking on a photo within photopost. Quote:
Originally Posted by Chuck S
The correct course of action and easiest would be to add field2 back in the vb userfield table. | How do I do this within phpmyadmin?
Thanks in advance
|
| |
January 8th, 2008, 03:47 PM
|
#6 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
here the screenshot...
|
| |
January 8th, 2008, 04:09 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
This will help you make sure to add in any vb table prefix you use. forums/vb3.php on line 173 |
| |
January 8th, 2008, 04:21 PM
|
#8 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| Quote:
Originally Posted by Chuck S | GREAT! Thank you very much! It is working again...
|
| |
January 8th, 2008, 04:29 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,070
|
Not a problem glad to help
|
| | |
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 03:19 PM. | |