Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2014-09-14 Thread Anthony GRASSIOT
HK, it has been fixed yesterday in 3.x 
The view is now rendered and a warning is displayed in debugKit's request panel.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2014-09-14 Thread HK
thanks a lot. it is working.

On Sunday, September 14, 2014 8:42:41 AM UTC+3, Anthony GRASSIOT wrote:

 HK, it has been fixed yesterday in 3.x 
 The view is now rendered and a warning is displayed in debugKit's request 
 panel.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2014-09-13 Thread HK
In cakephp 2 you could debug from controller before pages is rendered. You 
did get the error of headers already been sent but page rendered after. 
Now in cakephp3 if I debug in controller I get the same error but page 
stops rendering and produces a Fatal error: [RuntimeException] .

Why is that? Can I change that behavior?

On Thursday, February 14, 2013 9:37:03 PM UTC+2, Jeremy Burns wrote:

 Looks like you are debugging out some information before the page is 
 rendered. 

 Jeremy Burns 
 Class Outfit 

 http://www.classoutfit.com 

 On 14 Feb 2013, at 18:19:41, Mehrdad Dadkhah dadkh...@gmail.com 
 javascript: wrote: 

  hi all 
  
  what's the reason of this warning? 
  
  
  Warning (2): Cannot modify header information - headers already sent 
  by (output started at 
  /home/hy4wtsgf/public_html/lib/Cake/Utility/Debugger.php:780) 
  [CORE/Cake/Network/CakeResponse.php, line 398] 
  Code Context 
  
  setcookie - [internal], line ?? 
  CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 
 398 
  CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 375 
  Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 168 
  [main] - APP/webroot/index.php, line 92 
  
  how can i resolve it? 
  
  thanks in advance 
  
  -- 
  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+u...@googlegroups.com javascript:. 
  To post to this group, send email to cake...@googlegroups.com 
 javascript:. 
  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.
For more options, visit https://groups.google.com/d/optout.


Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Mehrdad Dadkhah
hi all

what's the reason of this warning?


Warning (2): Cannot modify header information - headers already sent
by (output started at
/home/hy4wtsgf/public_html/lib/Cake/Utility/Debugger.php:780)
[CORE/Cake/Network/CakeResponse.php, line 398]
Code Context

setcookie - [internal], line ??
CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 398
CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 375
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 168
[main] - APP/webroot/index.php, line 92

how can i resolve it?

thanks in advance

-- 
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: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Jeremy Burns | Class Outfit
Looks like you are debugging out some information before the page is rendered.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 14 Feb 2013, at 18:19:41, Mehrdad Dadkhah dadkhah...@gmail.com wrote:

 hi all
 
 what's the reason of this warning?
 
 
 Warning (2): Cannot modify header information - headers already sent
 by (output started at
 /home/hy4wtsgf/public_html/lib/Cake/Utility/Debugger.php:780)
 [CORE/Cake/Network/CakeResponse.php, line 398]
 Code Context
 
 setcookie - [internal], line ??
 CakeResponse::_setCookies() - CORE/Cake/Network/CakeResponse.php, line 398
 CakeResponse::send() - CORE/Cake/Network/CakeResponse.php, line 375
 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 168
 [main] - APP/webroot/index.php, line 92
 
 how can i resolve it?
 
 thanks in advance
 
 -- 
 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: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Mehrdad Dadkhah
thanks but i check everwhere!
i can't find where debugging out some information before render !!


-- 

$sudo chmod 777 /var/www/myInfo.php
$gedit /var/www/myInfo.php

?php
#I love these sentences :
echo 'آرزوهایتان را به کسانی متوجه کنید که دلهایتان آنها را دوست دارد.';
echo 'حکمت را با نااهل نگویید که به حکمت ستم کرده اید.';
echo 'زشت ترین سخن راست ستایش انسان از خویشتن است';
/*
*yahoo: “dadkhah.ir70 [at] yahoo [dot] com”
*resume: “http://www.rdb.ir/resume.aspx?mehrdaddadkhah”
*weblog: “http://geeknerd.blogveb.com”
*PGP Key:
*/
?

-- 
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: Cake warning Cannot modify header information and CORE/Cake/Network/CakeResponse.php, line 398

2013-02-14 Thread Jeremy Burns | Class Outfit
Loom for stray characters after ending ? php tags.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 14 Feb 2013, at 20:11:20, Mehrdad Dadkhah dadkhah...@gmail.com wrote:

 thanks but i check everwhere!
 i can't find where debugging out some information before render !!
 
 
 -- 
 
 $sudo chmod 777 /var/www/myInfo.php
 $gedit /var/www/myInfo.php
 
 ?php
 #I love these sentences :
 echo 'آرزوهایتان را به کسانی متوجه کنید که دلهایتان آنها را دوست دارد.';
 echo 'حکمت را با نااهل نگویید که به حکمت ستم کرده اید.';
 echo 'زشت ترین سخن راست ستایش انسان از خویشتن است';
 /*
 *yahoo: “dadkhah.ir70 [at] yahoo [dot] com”
 *resume: “http://www.rdb.ir/resume.aspx?mehrdaddadkhah”
 *weblog: “http://geeknerd.blogveb.com”
 *PGP Key:
 */
 ?
 
 -- 
 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.