Wednesday, March 13, 2013

Re: Cakephp white scren when index action called

Hi lowpass <zijn.digital@gmail.com> thank you for the reply...
I have access to httpd log, but there is no log...
I set the debug level to 2 and it is still the same...
At the phpinfo , the property log_errors is On ....
i removed white spaces at the end of files... but still have white screen on index actions



2013/3/13 lowpass <zijn.digital@gmail.com>
Do you mean that you have no access to the httpd log, or that nothing
appears there? Have you tried debug level 2? Perhaps 3 is using too
much memory. I presume, though, that the white screen was happening
before you tried to debug, so it's probably not an issue.

Do you know what the server's PHP logging is set to? If the machine is
a black box, create a file, info.php and leave it in webroot:

phpinfo();

I had a mystery, no-error white screen just today but it was because
I'd forgotten to switch my layout in order to load jquery. I think it
was truly an edge case, but it goes to show that sometimes what
appears to be a fatal error is something else. Check for JS errors.

That last part suggests to me that there's some output happening that
shouldn't. Make sure you have no white-space at the end of your files,
or before the opening PHP tag.

On Tue, Mar 12, 2013 at 9:45 PM, Eduardo Barbosa Moreira
<eduardobm@gmail.com> wrote:
> 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.
>
>

--
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: