Hi,
I am using ajax to receive an xml document created by a php program. The program which outputs the xml document contains multiple required classes. One of the required classes is also sending out data (looks like print_r output) which causes ajax to not recognize the xml document.
I have searched for print_r, print, and echo but am unable to locate the culprit. Any suggestions would be appreciated.
I program using command line vi on a linux system running apache2 with php5 - nothing fancy. Do use php custom error handler (set_error_handler) for logging and error handling.
Thanks,
bzvine
Locating erroneous php ouput
Moderator: General Moderators
Re: Locating erroneous php ouput
Checked for var_dump also?
Re: Locating erroneous php ouput
Hi,
No var_dump - grep'd for var_ and found var_export as the culprit.
Thanks Celauran!!
No var_dump - grep'd for var_ and found var_export as the culprit.
Thanks Celauran!!