Categories | Question details Back To List | ||
Scheduler - XML alert window Hi, i've got a problem with the Scheduler. When I run it on a local machine it works great, but when I'm trying to run it on a server everytime the scheduler loads it displays a javascript alert window with xml data that should be loaded into the scheduler, but it's not. I am using render_sql in the events.php to get data from database. Should I do some additional config of my server? I really do not know why this is happening. And as I said it works great on my local machine, the problem occurs only on the server. Thx for any reply. Answer posted by Support on Jul 30, 2009 05:03 >> that should be loaded into the scheduler, but it's not. This means that xml data can't be parsed correctly. Most possible reasons - incorrect content type - whitespaces before <?xml declaration >>Should I do some additional config of my server? It is not necessary in common case, connector sets correct encoding and eliminates extra output on its own. Please try to load the php file, which must generate XML, in separate window - if data shown, but not colored - it is the problem with encoding ( it possible that server somehow changes content type of response ) - if some xml parsing error occurs - it means you have problem with extra whitespaces - most probably one of php file used for xml generation has some output before xml generation - if you are including some custom libs|configs - be sure that they has not anything outsid of <?php ?> tags - you can try to enable output buffering, by changing next line in php.ini output_buffering = On |