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 Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 20th, 2005, 04:51 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2002
Posts: 181
Error on only some ads...

On the first page of ads here they all show fine.
http://www.airstreamforums.com/class...wcat.php?cat=6

When I go to the second pages of ads I get the follow error when trying to view the trailers for sale...

Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script: showproduct

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=8215 LIMIT 1

Result: Unknown column 'customavatar.filedata' in 'field list'

Database handle: Resource id #26
Andy R is offline   Reply With Quote
Old September 21st, 2005, 09:26 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Try uploading the new vb3.php file as if your using vb35 you definately need the new file as this line is right in it

$query .= ",avatar.avatarpath, NOT ISNULL(customavatar.". iif( VB35 == "on", "filedata", "avatardata" ) .") AS hascustomavatar,u.avatarrevision";

Note the field in the customavatar table is named differently in vb35 so you need the proper vb3.php file to work right
__________________
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 September 21st, 2005, 01:04 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2002
Posts: 181
I am indeed running v3.5...

Ok, I re-uploaded the vb3.php file from the 9/9 build and I am still getting that error.
Andy R is offline   Reply With Quote
Old September 21st, 2005, 01:15 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Interesting I am indeed using vb35 here as well and this is the same code in reviewpost and photopost.

http://www.reeftalk.com/reviews/show...php/product/56

In your customavatar database table in vbulletin what fields do you have?

In 3.5 it should be filedata and in 3.0 series I beleive avatardata
__________________
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 September 22nd, 2005, 11:34 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2002
Posts: 181
Here is the list of columns from my Avatar table in vB 3.5

 avatarid 
 title 
 minimumposts 
 avatarpath 
 imagecategoryid 
 displayorder 
Andy R is offline   Reply With Quote
Old September 22nd, 2005, 12:58 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
customavatar table! not avatar

I need to find out why you get this issue and no one else
__________________
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 September 22nd, 2005, 03:36 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2002
Posts: 181
Here is my customavatar table columns:

 filedata 
 dateline 
 filename 
 visible 
 filesize 
 width 
 height 
Andy R is offline   Reply With Quote
Old September 22nd, 2005, 03:45 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2002
Posts: 181
Omegatron, thanks for the help once again. This was a simple mistake I made. I used mysqlhotcopy to backup databases and the config file was still pointing to old forum database. So I have now change the config to point to the new 3.5 database and that has solved the issue.

Once again thanks for your help...
Andy R 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
Error: PhotoPost Classifieds Delete Ads By User dontom Classifieds Bug Reports 3 January 31st, 2006 10:55 AM
Show ads without image on recent ads Kafi Classifieds How do I...? 2 October 19th, 2005 09:21 AM
Feature requests: Payment for renewing ads - List of close to expiring ads - & more criscokid Classifieds Suggestions 1 August 4th, 2005 07:17 AM
Accounting on ads. Demux Classifieds Suggestions 0 January 4th, 2005 03:55 PM
all ads - query error cnczone Classifieds Bug Reports 2 July 20th, 2004 08:44 AM


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

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