Dave Barter wrote:
> Check you files for blank lines after ?> at the end of the file.

Also check for blank lines at the TOP of php files, and possibly in the
MIDDLE if you close and open your php tags.

I noticed that I had a blank line at the very top of all my HTML output
and it turned out to be a blank line in one of my model php files. I
had commented out some code in this fashion inside
\app\models\mymodel.php:

BOF
<?
/*
    [... my commented code here ...]
*/
?>

<?
    [... the actual code body of mymodel.php here ...]
?>
EOF

The fix was to remove the unnecessary "?>[blank line]?>" after my
commented code, which is obviously a cleaner way of structuring my php
file.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to