tags:

views:

108

answers:

4
A: 

It may be related to this question of mine.

graham.reeds
+3  A: 

Well, believe it or not, the criminal output is......

'[11-Aug-2009 14:56:13] PHP Notice: A session had already been started - ignoring session_start() in \test\action.php on line 2

Either suppress error messages (bad idea in development) Or find where you started the session (which is really how you need to solve this)

Itay Moav
Gah - yes, you're right. FWIW I work on two different PHP projects, one of which has auto-started sessions, and this one which doesnt. I hadnt changed my PHP.ini, so the rogue error was being output. The problem was compounded by it being an ajax request, so the error wasnt as obvious.
Visage
A: 

Use ob_start();

Alix Axel
A: 

Check if there's this annoying little bugger called BOM (Byte Order Mark) creeping in your file. It's possible if you've encoded that file as utf-8, and you can catch it with firebug for example.

JHollanti