zibrnp Posted February 11, 2014 Share Posted February 11, 2014 Hello,I have been working on a "quote" example, Chapter 11 page 468.I am using MAMP as local server environment.The example from the book was not working with "quote.php" file so I run the file via local server and blank page was returned.Any suggestion in regards to what I am doing wrong please?I have created "quote.json" file with exact content google's URL returns and that is working.Thanks, T Link to comment Share on other sites More sharing options...
Larry Posted February 18, 2014 Share Posted February 18, 2014 This is hard to debug remotely. I'd start by confirming that the Ajax script works when accessing it directly. And I'd make sure there are no errors in the JavaScript console. Link to comment Share on other sites More sharing options...
HartleySan Posted February 18, 2014 Share Posted February 18, 2014 Most browsers these days have a network panel where you can view all outgoing requests and incoming responses. I personally like the one in Chrome. Please let us know what the network panel in your browser is showing, and we can try to debug from there. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts