Welcome Guest, Not a member yet? Register   Sign In
CI cannot load models
#7

[eluser]tim042829[/eluser]
Hello WanWizard:
Thank your for your reply and for the explanation.
However things are not working on the error reporting front.
I have the following directive in both /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini:
Code:
; display_errors = Off
display_errors = 1
I still have a blank screen. Please note the following code snippets from index.php:
Code:
echo "hello 1 (precedes the call to error_reporting)<br>";
error_reporting(E_ALL);
/* Remainder of code for index.php follows */
.....
/* more debugging: last lines of index.php */
echo "hello 2 (precedes the call to require_once)<br>";
echo BASEPATH.'codeigniter/CodeIgniter'.EXT.'<br>';
require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;
echo "hello 3 (follows the call to require_once)<br>";
/* End of file index.php */
/* Location: ./index.php */
Now here is the output:
Quote:hello 1 (precedes the call to error_reporting)
hello 2 (precedes the call to require_once)
/home/http/php/ci/system/codeigniter/CodeIgniter.php
I infer from the output that CI is aborting at the call to require_once
Note that there is no error reporting.


Messages In This Thread
CI cannot load models - by El Forum - 08-26-2010, 05:06 PM
CI cannot load models - by El Forum - 08-26-2010, 05:22 PM
CI cannot load models - by El Forum - 08-26-2010, 06:01 PM
CI cannot load models - by El Forum - 08-27-2010, 02:08 AM
CI cannot load models - by El Forum - 08-27-2010, 09:46 AM
CI cannot load models - by El Forum - 08-27-2010, 12:07 PM
CI cannot load models - by El Forum - 08-27-2010, 01:03 PM
CI cannot load models - by El Forum - 08-27-2010, 01:21 PM
CI cannot load models - by El Forum - 08-27-2010, 01:51 PM
CI cannot load models - by El Forum - 08-27-2010, 05:22 PM
CI cannot load models - by El Forum - 08-27-2010, 06:03 PM
CI cannot load models - by El Forum - 08-27-2010, 06:31 PM
CI cannot load models - by El Forum - 08-27-2010, 09:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB