PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   MySQL Error on new install (http://www.photopost.com/forum/classifieds-installation-upgrades/108555-mysql-error-new-install.html)

djroketboy June 8th, 2004 07:26 PM

MySQL Error on new install
 
I just got a error when posting a comment:

An error was encountered during execution of the query:

SELECT u.username,u.homepage,u.usertitle,u.posts,u.joindate,uf.field2,s.host,t.signature FROM user u
LEFT JOIN userfield uf ON uf.userid=1
LEFT JOIN session s ON s.userid=1
LEFT JOIN usertextfield t ON t.userid=1
WHERE u.userid=1 LIMIT 1

The query returned with an errorcode of:

Unknown column 'uf.field2' in 'field list'

If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html

To turn off these emails, set $debug=0 in your config-inc.php file.

djroketboy June 9th, 2004 05:25 PM

almost 24 hours and no help?

Lee Wilde June 19th, 2004 05:48 AM

I have the exact same problem and I need a fix ASAP please - launching my site this week!

Michael P June 19th, 2004 08:29 AM

field2 is a vB field, not a photopost field. Did you remove it from your vB installation?

Lee Wilde June 19th, 2004 11:26 AM

Well, I don't know what it was before...I can't remember deleting a "field2" but thanks for pointing me in the right direction. I added field2 back into vb_userfield. Its solved the immediate problem. Lets see if my solution causes a problem somewhere else!

Who was it who said, "A little knowledge is a dangerous thing." ?? lol

Michael P June 19th, 2004 11:39 AM

We designed it to work with the basic vB setup, in some cases where people might remove fields from the db its hard to compensate for that in our code. :D

dethfire June 22nd, 2004 10:13 AM

I get this error with my photopost install and I never touched anything called 'uf.field2' in 'field list

Bryan Ex June 22nd, 2004 10:21 AM

dethfire... userfield2 is used by VB for the "Location" info on profiles. Have you deleted that option in your admin (maybe?).


All times are GMT -5. The time now is 01:28 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97