Welcome Guest, Not a member yet? Register   Sign In
weird problem
#1

[eluser]Блум[/eluser]
Hello everybody,
I have a strange problem here.. I build a CI driven site on my development server in my office (PHP 5.2.3, MySQL 5.0.30) and it works just fine. But when I upload it on the production server (PHP 5.2.5, MySQL 5.0.45) it just doesn't work. No errors, no warnings, the error_log is empty, just absolute lack of output. Nothing.. As I can see all the required files are loaded, and the database is there.

mm.. help

Thank You
#2

[eluser]Michael Wales[/eluser]
Change your error reporting to E_ALL and see what you come up with.
#3

[eluser]Блум[/eluser]
Actually it was the first thing I did when this problem came up.. nothing. The error log is empty.
#4

[eluser]mironcho[/eluser]
Hi Блум,
check your php.ini config file - look for display_errors, log_errors and error_log options, so you can find whether errors are displayed or logged (to file or syslog) and if logged - where they are logged (usually syslog).



// in bulgarian:
хубаво е че се появяват повече сънародници тук Smile
#5

[eluser]Блум[/eluser]
Seems like I solved it. The problem was
Code:
$db['default']['dbdriver'] = "mysqli";
but mysqli is not available on the server. When I use 'mysql' everything is fine.
But it is sad that there were no error or exception about this problem, i had to examine the problem blindly, maybe the devs should think about it.

Thanks and smiles

> mironcho: Здрасти Smile
#6

[eluser]Michael Wales[/eluser]
Is db_debug set to false in your database config file?
I can't believe it wouldn't throw a could not connect error if db_debug was set to true.
#7

[eluser]Блум[/eluser]
[quote author="Michael Wales" date="1211551695"]Is db_debug set to false in your database config file?
I can't believe it wouldn't throw a could not connect error if db_debug was set to true.[/quote]

Code:
$db['default']['db_debug'] = TRUE;
It was hard for me to beleive too.. but no error, exception or warning was displayed neither on the output or the error_log. Also error_reporting was E_ALL.
#8

[eluser]Michael Wales[/eluser]
I recommend submitting a bug report with this information in it - maybe we can get a convenient error message next time.
#9

[eluser]Блум[/eluser]
Okay, I'll post it.

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB