PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Sep 28, 2020 5:05 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Apr 18, 2016 1:48 pm 
Offline
Forum Newbie

Joined: Mon Apr 18, 2016 1:23 pm
Posts: 4
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


Top
 Profile  
 
PostPosted: Mon Apr 18, 2016 1:57 pm 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada
Checked for var_dump also?

_________________


Top
 Profile  
 
PostPosted: Mon Apr 18, 2016 2:32 pm 
Offline
Forum Newbie

Joined: Mon Apr 18, 2016 1:23 pm
Posts: 4
Hi,
No var_dump - grep'd for var_ and found var_export as the culprit.
Thanks Celauran!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group