Warning: Missing argument 1 for UsersController::show() in /home/olife/public_html/app/controllers/users_controller.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /home/olife/public_html/app/controllers/users_controller.php:31) in /home/olife/public_html/cake/libs/controller/controller.php on line 447

Notice: Undefined variable: id in /home/olife/public_html/app/controllers/users_controller.php on line 34

Query: SELECT `User`.`id`, `User`.`username`, `User`.`hashed_password`, `User`.`salt`, `User`.`yahoo`, `User`.`melilea_number`, `User`.`name`, `User`.`identity_number`, `User`.`sex`, `User`.`date_of_birth`, `User`.`citizenship`, `User`.`occupation`, `User`.`address`, `User`.`post_code`, `User`.`city_id`, `User`.`phone_office`, `User`.`phone_home`, `User`.`phone_mobile`, `User`.`email`, `User`.`npwp`, `User`.`status`, `User`.`spouse_name`, `User`.`spouse_identity_number`, `User`.`spouse_date_of_birth`, `User`.`heir_name`, `User`.`heir_identity_number`, `User`.`heir_relationship`, `User`.`bank_name`, `User`.`bank_account`, `User`.`parent_id`, `User`.`created_at`, `User`.`updated_at`, `User`.`is_active`, `User`.`is_external`, `City`.`id`, `City`.`name`, `City`.`price`, `Parent`.`id`, `Parent`.`username`, `Parent`.`hashed_password`, `Parent`.`salt`, `Parent`.`yahoo`, `Parent`.`melilea_number`, `Parent`.`name`, `Parent`.`identity_number`, `Parent`.`sex`, `Parent`.`date_of_birth`, `Parent`.`citizenship`, `Parent`.`occupation`, `Parent`.`address`, `Parent`.`post_code`, `Parent`.`city_id`, `Parent`.`phone_office`, `Parent`.`phone_home`, `Parent`.`phone_mobile`, `Parent`.`email`, `Parent`.`npwp`, `Parent`.`status`, `Parent`.`spouse_name`, `Parent`.`spouse_identity_number`, `Parent`.`spouse_date_of_birth`, `Parent`.`heir_name`, `Parent`.`heir_identity_number`, `Parent`.`heir_relationship`, `Parent`.`bank_name`, `Parent`.`bank_account`, `Parent`.`parent_id`, `Parent`.`created_at`, `Parent`.`updated_at`, `Parent`.`is_active`, `Parent`.`is_external` FROM `users` AS `User` LEFT JOIN `users` AS `Parent` ON (`User`.`parent_id` = `Parent`.`id`) LEFT JOIN `cities` AS `City` ON (`User`.`city_id` = `City`.`id`) WHERE `User`.`id` = AND (`User`.`id` = OR `User`.`parent_id` = ) LIMIT 1
Warning: SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (`User`.`id` = OR `User`.`parent_id` = ) LIMIT 1' at line 2 in /home/olife/public_html/cake/libs/model/datasources/dbo_source.php on line 440


Warning: Cannot modify header information - headers already sent by (output started at /home/olife/public_html/app/controllers/users_controller.php:31) in /home/olife/public_html/cake/libs/controller/controller.php on line 447