Friday, March 15, 2013

Re: Cakephp white scren when index action called

I solved the problem with help of Majna (<majnaggz@gmail.com>) and Davor (davlozi10@gmail.com)! 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).


2013/3/12 Eduardo Barbosa Moreira <eduardobm@gmail.com>

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... no flash messages of login fails.

Can anyone help me?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Eduardo Barbosa Moreira 
Eng. Mecatrônico :: Programador Java

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: