I set up the MC visualization sample from here:
http://code.google.com/p/mc-goog-visualization/

It works fine on one server but when I move it over to another server,
the query.send() call shows no activity and doesn't return an error.
It behaves effectively as if it's skipped.

I set up the following code with alerts to track the execution path:

 var query = new google.visualization.Query('http://devdataload/
mcgoogle/complete.php');
alert('here 1');
query.setQuery(str);
alert('here 2');
query.send(
function(res)
{
        alert('here 3');
        if(res.isError())
        {
                alert(res.getDetailedMessage());
        }
        else
        {
                alert('here 4');
                if(motion_chart === null)
                {
                        motion_chart = new
google.visualization.MotionChart(document.getElementById('chart-
div'));
                        alert('here 5');
                }
                motion_chart.draw(res.getDataTable(), {'height': 600, 'width':
800});
                alert('here 6');
        }
        alert('here 7');
});
alert('here 8');

This goes from triggering alert 2 to alert 8. The query url 'http://
devdataload/mcgoogle/complete.php' completes successfully. And as I
mentioned before, this same code works fine on another server.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to