How can i show 500 server error on production instead of php error in fuelphp
one text
I want to show 500 sever error on production i have made changes in .htaccess,config.php,index.php,bootsrap.php file still i am getting SQL syntax i do'nt want to print sql query show the hacker can know the table name so please suggest me the method to fix the issue.
Fuel\Core\Database_Exception [ 42000 ]: SQLSTATE[42000]: Syntax error or access violation: 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 ''363117'')' at line 5 with query: "select od_term, od_terms from searches s where 1 and (search_id = '363117'')"
i have made changes in .htaccess,config.php,index.php,bootsrap.php file
Source