Mysql error: Unknown column 'status' in 'field list'
Here is a link to the contents of the email I am getting about the error.
We are not able to get new members or create another profile ourselves.
Please help!
Mysql error: Unknown column 'status' in 'field list' Here is a link to the contents of the email I am getting about the error. We are not able to get new members or create another profile ourselves. Bill and Deb |
Check your fields builder. https://www.deanbassett.com |
Check your join form for an item that was not completed; just guessing here. Anyway, the error is a blank field label: `` = '', Maybe the mySql people can shed some light on this. I will go do a search in the meantime. Geeks, making the world a better place |
Oh, Dean answered before my post. LOL. Geeks, making the world a better place |
I also see that I can't access many files even as logged in as admin. I checked my status and it shows unconfirmed. I changed it to active and saved, but it reverts to unconfirmed. I'm at a loss. Bill and Deb |
I assumed the same Deano, I moved the fields below the you_are to inactive items and still have the same error. Bill and Deb |
Yes, this has happened to all members. None will activate... Bill and Deb |
It seems you have defined a field in either the profile table or sys_profile_fields that does not exist in one of these tables, causing an update to a not existing field. Check for differences between the two.
Ps. Please change your passwords, as they are in the error log Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information |
could it be that you dont have a field called 'status' but instead you have a field called 'Status'? Capitalization can be a bummer and throw things for a big loop. EDIT: or vice versa caredesign.net |
It seems you have defined a field in either the profile table or sys_profile_fields that does not exist in one of these tables, causing an update to a not existing field. Check for differences between the two.
Ps. Please change your passwords, as they are in the error log I do appreciate your help. I see that in Sys_profile_fields, Status is capitalized, but in profiles it is not. Bill and Deb |
If that could cause this, how would I fix it and how did this happen? Bill and Deb |
did you by chance try to add a new profile field called status? I just checked my fresh install and there is no field called status in the sys_profile_fields table. The problem could be that you added a field using the profile builder called status and itr is acting up with the existing Status. Just my guess caredesign.net |
also check what GeekGirl was saying. You are calling for a field with no name in your sql query - which of course will not work at all. caredesign.net |
did you by chance try to add a new profile field called status? I just checked my fresh install and there is no field called status in the sys_profile_fields table. The problem could be that you added a field using the profile builder called status and itr is acting up with the existing Status. Just my guess Well that was a mistake... I should slow down... I did look for unnamed fields and found none. Bill and Deb |
I assumed the same Deano, I moved the fields below the you_are to inactive items and still have the same error. Moving the field to inactive will not be enough. Even tho they do not show on the join form, they are still in the database. One of them is damaged and must be deleted. https://www.deanbassett.com |
And if the problem occurred because you were trying to create a field named status, then that would cause a problem. Status is a reserved field name that dolphin already uses. You can't create a field with that name. https://www.deanbassett.com |
I assumed the same Deano, I moved the fields below the you_are to inactive items and still have the same error. Moving the field to inactive will not be enough. Even tho they do not show on the join form, they are still in the database. One of them is damaged and must be deleted. Thank you Deano, I will look into that now Bill and Deb |
Okay, so still where we started except with the additional problem of not having the ability to activate members. The database status in profiles shows active, but on edit profile through the admin panel it reverts to unconfirmed and members are restricted accordingly. Bill and Deb |
I need to see a export of the current structure of these two database tables. https://www.deanbassett.com |
Actually. The full export on sys_profile_fields. https://www.deanbassett.com |
Got that problem tackled, all existing members can access everything now. Still have an error on submitting join. I only see one instance in the database. There is a new block in the profile fields builder names status, but if I delete that we can't access the site at all. Either PhpMyAdmin is confused or I am, I'm betting it's me. Ideas from here? Deano, if you still need the database info I will get it to you pronto, just let me know. Bill and Deb |
Got that problem tackled, all existing members can access everything now. Still have an error on submitting join. I only see one instance in the database. There is a new block in the profile fields builder names status, but if I delete that we can't access the site at all. Either PhpMyAdmin is confused or I am, I'm betting it's me. Ideas from here? Deano, if you still need the database info I will get it to you pronto, just let me know. Yes. Still need them. You have to get rid of the duplicate, but the fields builder may be haveing problems dealing with it. There is suppose to be one on the profiles table with a capitol S as in Status. Not status. https://www.deanbassett.com |
@deanos: i checked my fresh install and i dont have a status field in the sys_profile_fields table. is it just me? if it isnt supposed to be there, could he just use phpmyadmin and delete that field? caredesign.net |
Correct. I am aware of that. There is suppose to be a status field. a Capitol S status field. In other words. Status should be there but not status https://www.deanbassett.com |
Boy this has turned into an ordeal. Thank you for putting up with my inexperience with databases.
Bill and Deb |
@deanos: i have no field called status at all. with cap or lowercase s in my sys_profile_fields table is what i meant. so should he remove from that table using phpmyadmin. i checked 3 different installs. here is mine. CREATE TABLE `sys_profile_fields` ( caredesign.net |
Not sure. It's in my install. So i cannot confirm if it should be removed. I am only concerned with the invalid lowercase version. https://www.deanbassett.com |
Well, that's really odd. The lower case was there again, I changed it back to upper case and all is well as of now. I just took the biggest deep breath... Bill and Deb |
A little side note on this. NEVER play with your live site. ALWAYS use a development site to tinker with things to avoid these kind of heart attacks in the future. I never install a module, code changes, or CSS changes on my live site 1st. I always do it on my development site 1st. I have learned that lesson. http://www.mytikibar.com |
I changed the lower case field to upper case and all is well. Good advice Steve... Bill and Deb |