Codeigniter not showing helpful error messgaes |
ok well somewhere you are using:
Code: htmlspecialchars($input,ENT_QUOTES ,'UTF-8',True); so as you can see in the example above the first parameter passed has to be a string. Funny enough i've just been playing with along with esc(); So say you have a form with a text input called 'title' and you get the text typed into that text box in a controller using : Code: $title = $this->request->getVar('title'); well you might want to process it and change a double quotation to " then its along the lines of: Code: htmlspecialchars($title,ENT_QUOTES ); Now for max info open up Logger.php located app/Config and set to 9 Make sure in .env : CI_ENVIRONMENT = development or if your not using that but in index.php in public $_SERVER['CI_ENVIRONMENT'] = 'development'; Do you have the tool bar showing bottom of web page ? image shows what error i get , tells me line 20 where i put an integer of 1 |
Messages In This Thread |
Codeigniter not showing helpful error messgaes - by Ceo - 10-09-2020, 02:50 AM
RE: Codeigniter not showing helpful error messgaes - by captain-sensible - 10-09-2020, 06:37 AM
RE: Codeigniter not showing helpful error messgaes - by paulbalandan - 10-10-2020, 11:53 AM
|