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 April 16th, 2006, 08:04 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 198
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.
dutchbb is offline   Reply With Quote
Old April 16th, 2006, 09:17 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
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.
__________________
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 16th, 2006, 06:24 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2006
Posts: 6
Talking 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.
simonc101 is offline   Reply With Quote
Old June 16th, 2006, 06:47 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Easy in your admin showphoto options you are electing not to show empty comments. turn this to off
__________________
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 January 8th, 2008, 03:37 PM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
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 View Post

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
snoopy5 is offline   Reply With Quote
Old January 8th, 2008, 03:47 PM   #6 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
here the screenshot...
Attached Images
File Type: jpg error_showphoto.jpg (19.7 KB, 7 views)
snoopy5 is offline   Reply With Quote
Old January 8th, 2008, 04:09 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
This will help you make sure to add in any vb table prefix you use.

forums/vb3.php on line 173
__________________
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 January 8th, 2008, 04:21 PM   #8 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,217
Quote:
Originally Posted by Chuck S View Post
This will help you make sure to add in any vb table prefix you use.

forums/vb3.php on line 173
GREAT! Thank you very much! It is working again...
snoopy5 is offline   Reply With Quote
Old January 8th, 2008, 04:29 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Not a problem glad to help
__________________
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
int. with inc_features.php shows error dutchbb Photopost Pro Installation & Upgrades 5 November 20th, 2005 07:17 PM
Just upgraded to vBulletin 3.50 - Error Sal Collaziano Classifieds Installation & Upgrades 11 October 17th, 2005 05:33 PM
vBulletin Forum Bug (photopost.com) cpmike Photopost Pro Bug Reports 0 September 10th, 2005 01:24 AM
Error creating watermarked original! Error code: 198(NOT A BUG) TEAMBAJAMARINE Photopost Pro Bug Reports 4 September 6th, 2005 08:38 AM
5.13 still breaks table widths in vbulletin enhanced quick reply template(NOT A BUG) somerfeld Photopost Pro Bug Reports 18 July 12th, 2005 12:40 PM


All times are GMT -5. The time now is 06:51 AM.

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