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

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.
Reply
#2

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.
Reply
#3

Thank you!!
Reply
#4

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.
Reply
#5

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




Theme © iAndrew 2016 - Forum software by © MyBB