Database error in Admin panel

hi

i get database error in the Admin panel when i try to go in to Users  area, and in my e mail i gat messege like that:

Database error in

Query:

UPDATE `Profiles` SET `Height` = '173 - cm',
`Weight` = '63',
`BodyHair` = 'קצת',
`ColorHair` = 'שטני',
`EyeColor` = 'חומות',
`SkinColor` = 'שזוף',
`City` = 'צפון',
`zip` = '04972',
`Alcohol` = 'לפעמים',
`DateLastEdit` = '2010-04-20 18:17:49',
`UpdateMatch` = 1 WHERE `ID` = 488

Mysql error: Unknown column 'City' in 'field list'

Found error in the file '/home/**********/public_html/inc/classes/BxDolProfilesController.php' at line 228.
Called 'db_res' function with erroneous argument #0.

Quote · 20 Apr 2010

Check your database, it is saying you do not have a column titled City but are trying to insert data into the table Profiles.

Quote · 20 Apr 2010

 

Check your database, it is saying you do not have a column titled City but are trying to insert data into the table Profiles.

 

i check my database and i did not see any CITY but i see in the Admin panel at Fields builder i have no one to.

what sould i do?

Quote · 20 Apr 2010

You can either 1) create the City column in the database manually if you know what you're doing; or 2) delete the City from the Admin Builder's area and recreate it using the exact variables that are listed there now.

Quote · 20 Apr 2010

 

 

Check your database, it is saying you do not have a column titled City but are trying to insert data into the table Profiles.

 

i check my database and i did not see any CITY but i see in the Admin panel at Fields builder i have no one to.

what sould i do?

 now i get this error to :

 

Database error in

Query:

 
        SELECT
               `tp`.`ID` as `id`,
               `tp`.`NickName` AS `username`,
               `tp`.`Headline` AS `headline`,
               `tp`.`Sex` AS `sex`,
               `tp`.`DateOfBirth` AS `date_of_birth`,
               `tp`.`Country` AS `country`,
               `tp`.`City` AS `city`,
               `tp`.`DescriptionMe` AS `description`,
               `tp`.`Email` AS `email`,
               DATE_FORMAT(`tp`.`DateReg`,  '%d.%m.%Y %H:%i' ) AS `registration`,
               DATE_FORMAT(`tp`.`DateLastLogin`,  '%d.%m.%Y %H:%i' ) AS `last_login`,
               `tp`.`Status` AS `status`,
               IF(`tbl`.`Time`='0' OR DATE_ADD(`tbl`.`DateTime`, INTERVAL `tbl`.`Time` HOUR)>NOW(), 1, 0) AS `banned`, 
               `tl`.`ID` AS `ml_id`, 
               IF(ISNULL(`tl`.`Name`),'', `tl`.`Name`) AS `ml_name`
               
        FROM `Profiles` AS `tp` 
        LEFT JOIN `sys_admin_ban_list` AS `tbl` ON `tp`.`ID`=`tbl`.`ProfID`
        LEFT JOIN `sys_acl_levels_members` AS `tlm` ON `tp`.`ID`=`tlm`.`IDMember` AND `tlm`.`DateStarts` < NOW() AND (`tlm`.`DateExpires`>NOW() || ISNULL(`tlm`.`DateExpires`))  
        LEFT JOIN `sys_acl_levels` AS `tl` ON `tlm`.`IDLevel`=`tl`.`ID` 
        
        WHERE
               1 AND (`tp`.`Couple`=0 OR `tp`.`Couple`>`tp`.`ID`)
        
        ORDER BY `tp`.`ID` ASC
        LIMIT 0, 32

Mysql error: Unknown column 'tp.City' in 'field list'

Found error in the file '/home/**********/public_html/administration/profiles.php' at line 356.
Called 'getAll' function with erroneous argument #0.

Quote · 20 Apr 2010

 

You can either 1) create the City column in the database manually if you know what you're doing; or 2) delete the City from the Admin Builder's area and recreate it using the exact variables that are listed there now.

 

Oki Doki i'm fix it by create a new_item in the Fields builder...

thanks you mauricecano for the help :)

 

Quote · 20 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.