Welcome Guest, Not a member yet? Register   Sign In
database.php causes error
#1

[eluser]macleodjb[/eluser]
I have configured my database inside database.php and have included it in the autoload. Once i browse to my page it doesn't output any code. If you view the source on the browser it doesn't have a single line of code. I know my user and password and stuff are correct because i use the same variables with MySql Administrator.

Am i doing something wrong?
#2

[eluser]bitist[/eluser]
Configure the CI log file. Open config.php and set
$config['log_threshold'] = 1;

Then set the log directory to be writeable.
Refresh your browser and check the log file.

Also you should add this to your .htaccess file:
php_value display_errors 1
#3

[eluser]macleodjb[/eluser]
Thanks for the advice, i implemented the change with no success or errors for that matter. When i upload the whole site to my server it works fine. So it has to be something locally here.




Theme © iAndrew 2016 - Forum software by © MyBB