September 10

CakePHP, FirePHP and White Space!

Posted by billysmithers
Filed under CakePHP |

Working on outputting XML in CakePHP, the output xml was not valid because of white space right at the beginning of the view. On further investigation I found that this was happening with all views.

I found the culprit to be in the FirePHP Debugger file (as set up using the bakery - http://bakery.cakephp.org/articles/view/debugging-with-firephp ), after the closing ?> tag.

So if you have this problem and have FirePHP running as a Vendor in CakePHP take a look at this file and this may solve your problem.

Hope this helps someone.

Billy

This entry was posted on Thursday, September 10th, 2009 at 8:37 pm and is filed under CakePHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply