Sign In!
|
New User?Signup Now!
|
Forgot password?
Source Code 4 you
Home
Create Forum Topic
Check WebSite Rank
Publish Articles
UV Web Booster
Contact
Forum Type
Search Engine
.Net C# VB F# VC++
MonoPoject
Java J2EE
Zand Php Cake Php
Oracle Database Server
Mysql Database Server
DB2 Database Server
MSSql Databse Server
Javascript Ajax
Html Xml Xhtml
C Programming
C++ Programming
D Programming
CGI Programming
Perl Programming
Cobol Programming
Pascal Programming
Ruby Programming
Drupal Programming
Automobile
Software Testing
Linux Unix Mac Sun OS
Embedded Systems
Mainframe
IC Microcircuit Chip
Electronics Electrical
Hardware Netwarking
SAP ERP
Logical Reasoning
Human Resources
Science
Agriculture
Accounting
History
Pharmaceutical
Other Topic
Zand Php Cake Php
Posted by :
Dave
Cannot modify header information
I have debug = 2 and I get
Cannot modify header information
turn debug to 0 and it works the way i want. Doing a redirect after login to
redirect a user to appropriate area.
No white space after closing ?>
$this->Auth->autoRedirect = false;
Ideas why this may be happeining?
Dave
Posted by :
Pablo Viojo
Re : Cannot modify header information
Now what?
Try looking at /cake/basics.php:108 ... I found it belongs to function debug(), so maybe you're using debug(...) previously?
Take a look at your code.
Saludos,
Pablo Viojo
Posted by :
Isaac Raja
Re : Cannot modify header information
Check whether you have mad an debug or echo statement in your code
Posted by :
Pablo Viojo
Re : Cannot modify header information
Normally that error comes with something like:
Warning (2): Cannot modify header information - headers already sent by (output started at file:line)
Regards,
Pablo Viojo
Posted by :
Dave
Re : Cannot modify header information
Yes.....
Cannot modify header information - headers already sent by (output started
at /cake/basics.php:108) [CORE/cake/libs/controller/
controller.php, line
640]
Now what?
If you have the better reply, then send it to us. We will display your reply after the approval.
Name :
Email Id :
Reply :