[eluser]bgreene[/eluser]
in a controller if i use chdir('E:\website\codeigniter20\') and then this.load.view(diag) i get the warnings attached to the end of this because ci has lost its bearings.
to solve the problem, i need to make the paths in exception.php absolute ie
line 131
// include(APPPATH.'errors/'.$template.EXT);
include('E:/website/CodeIgniter20/ci_application/errors/'.$template.EXT);
line 167
// include(APPPATH.'errors/error_php'.EXT);
include('E:/website/CodeIgniter20/ci_application/errors/error_php.php');
now it reports unable to load file diag.php which makes more sense
would be even better if it gave the full path of the file it is trying to load.
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Warning: CI_Exceptions::include(../ci_application/errors/error_php.php) [ci-exceptions.include]: failed to open stream: No such file or directory in E:\website\CodeIgniter20\ci_system\core\Exceptions.php on line 169
Warning: CI_Exceptions::include() [function.include]: Failed opening '../ci_application/errors/error_php.php' for inclusion (include_path='.;C:\php5\pear') in E:\website\CodeIgniter20\ci_system\core\Exceptions.php on line 169
Warning: CI_Exceptions::include(../ci_application/errors/error_php.php) [ci-exceptions.include]: failed to open stream: No such file or directory in E:\website\CodeIgniter20\ci_system\core\Exceptions.php on line 169
Warning: CI_Exceptions::include() [function.include]: Failed opening '../ci_application/errors/error_php.php' for inclusion (include_path='.;C:\php5\pear') in E:\website\CodeIgniter20\ci_system\core\Exceptions.php on line 169
include('E:/website/CodeIgniter20/ci_application/errors/error_php.php');
// include(APPPATH.'errors/error_php'.EXT);