Q:

Cakephp white screen when index action called

I'm deploying a CakePhp project that works fine in localhost but at production i have white screen when i call any index action of any controller. Debug level is 3,  no cake php error log, no httpd error log, no php error log.nothing to debug with logs. 
Permissions are ok, cache folders are empty, mod_rewrite ok , white spaces deleted at the end of files...
I can call a login action but the login fails. i was debugging with print_r and echo, then i discovered that CakePhp could not initialize the session, the session_id is aways null. the method setFlash is not working. Also there is no flash messages of login fails.
Please Help Me.

A:

I solved the problem! It was a file encoding problem! In my localhost project UTF-8 works fine (Windows 7 with Wamp) but at linux CentOS server the UTF-8 does not work, i had to save all files as "ANSI as UTF-8" (without BOM). 

