Re: Cakephp white scren when index action called

2013-03-15 Thread Eduardo Moreira
I solved the problem with help of Majna (majna...@gmail.com) and Davor (
davloz...@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 eduard...@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+unsubscr...@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+unsubscr...@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.




Re: Cakephp white scren when index action called

2013-03-14 Thread Eduardo Moreira
Could somebody help me to fix it with ssh access, i can pay for this
work... i give you ssh access. Just tell me how much you charge for this
job.


2013/3/12 Eduardo Barbosa Moreira eduard...@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+unsubscr...@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+unsubscr...@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.




Cakephp white scren when index action called

2013-03-13 Thread Eduardo Barbosa Moreira


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+unsubscr...@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.




Re: Cakephp white scren when index action called

2013-03-13 Thread lowpass
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
eduard...@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+unsubscr...@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+unsubscr...@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.




Re: Cakephp white scren when index action called

2013-03-13 Thread Eduardo Moreira
Hi lowpass zijn.digi...@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.digi...@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
 eduard...@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+unsubscr...@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+unsubscr...@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+unsubscr...@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.