 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
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
| |
| |
September 21st, 2005, 09:26 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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.
|
| |
September 21st, 2005, 01:15 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
September 22nd, 2005, 12:58 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
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...
|
| | |
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 01:52 PM. | |