Part of the EllisLab Network
   
 
Bug with Scaffolding + PHP 5
Posted: 17 April 2007 12:09 PM   [ Ignore ]  
Summer Student
Total Posts:  4
Joined  04-17-2007

hey,
i get the following error when i’m using scaffolding (after i created or updates an entry [which works for the database, but the error appears - and i don’t know why it is there]).

my system:
apach2 + php 5.21

this is the error

A PHP Error was encountered

Severity
: Warning

Message
: Cannot modify header information - headers already sent by (output started at E:\xampplite\htdocs\mt\sys\application\controllers\user.php:20)

Filename: helpers/url_helper.php

Line Number
: 447
Profile
 
 
Posted: 17 April 2007 02:28 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  472
Joined  09-26-2006

Read this thread attentively http://codeigniter.com/forums/viewthread/50556/P0/.
If you still have problems I’m sure we can help. (look at your file: user.php)

There may be bugs in Scaffolding and PHP5 but this is not one of them.

 Signature 

Old programmers never die, they just parse away.

Profile
 
 
Posted: 19 April 2007 03:54 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  4
Joined  04-17-2007

thanks,
the mistake was a empty line at the bottom of the controller file - so it was my fault wink

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120364 Total Logged-in Users: 30
Total Topics: 126489 Total Anonymous Users: 6
Total Replies: 665192 Total Guests: 314
Total Posts: 791681    
Members ( View Memberlist )