Welcome Guest, Not a member yet? Register   Sign In
After upgrading to 3.0, errors_php.php failed to open stream

We did a fresh install of 3.0 (from 2.2.1) and then added back our development files. When we run the controller, we receive the following warning: Warning: include(/Applications/MAMP/htdocs/ci_Sandbox/application/errors/error_php.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/ci_Sandbox/system/core/Exceptions.php on line 183

Any guidance would be most appreciated.

In CI2, error message templates are in application/errors, whereas in CI3 they are in application/views/errors/html.
Move your error messages into the (new) correct folder, and that should solve your problem.

Thank you!!

How do I go about doing that? Do I provide the pathname to error_php.php in the config.php file at the $config['log-path'] = ''; ?This is commented as the Error Logging Directory Path.

I am new to Codeigniter and do not want to mess anything up in its installation and setup.

Thank you in advance.

These templates are part of the package, you just didn't copy them to your installation because you didn't look into application/ ...

Theme © iAndrew 2016 - Forum software by © MyBB