Warning (2): file_put_contents(/var/www/html/mfi-dbms-live-map/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 142]

Database Error

Error: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'email_address' in field list is ambiguous

SQL Query: SELECT `BasicModuleBranchInfo`.`org_id`, `BasicModuleBranchInfo`.`office_type_id`, `BasicModuleBranchInfo`.`branch_name`, `BasicModuleBranchInfo`.`branch_code`, `BasicModuleBranchInfo`.`district_id`, `BasicModuleBranchInfo`.`upazila_id`, `BasicModuleBranchInfo`.`road_name_or_village`, `BasicModuleBranchInfo`.`mohalla_or_post_office`, `BasicModuleBranchInfo`.`mailing_address`, `BasicModuleBranchInfo`.`lat`, `BasicModuleBranchInfo`.`long`, `BasicModuleBranchInfo`.`image_name`, (CONCAT_WS(', ', CASE WHEN email_address IS NOT NULL AND REPLACE(email_address, ' ','') != '' THEN email_address ELSE NULL END, REPLACE(phone_no, ' ',''), CASE WHEN fax IS NOT NULL AND REPLACE(fax, ' ','') != '' THEN CONCAT(' fax: ', fax) ELSE NULL END)) AS `BasicModuleBranchInfo__contact_info`, (CONCAT_WS('', full_name_of_org, CASE WHEN full_name_of_org != '' AND short_name_of_org != '' THEN CONCAT_WS('', ' (<strong>', short_name_of_org, '</strong>)') ELSE short_name_of_org END)) AS `BasicModuleBranchInfo__org_name` FROM `dbnational`.`basic_module_branch_infos` AS `BasicModuleBranchInfo` LEFT JOIN `dbnational`.`basic_module_basic_informations` AS `BasicModuleBasicInformation` ON (`BasicModuleBranchInfo`.`org_id` = `BasicModuleBasicInformation`.`id`) WHERE `BasicModuleBranchInfo`.`office_type_id` = 1

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace