Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When a PHP error occurs in jQuery Mobile, jQuery Mobile issues a popup box that reads "Page Error."

This is great, but not conducive to debugging because I can't see what the error is. How can I see the PHP error in jQuery Mobile?

share|improve this question
Welcome to SQA, David. Are you asking, "How do I use jQuery Mobile to see the PHP error?", or "How do I see the PHP error that jQuery Mobile encountered?" – user246 Feb 24 '12 at 17:43
Thanks, how do I see the PHP error that jQuery Mobile encountered? – David Faux Feb 24 '12 at 17:56
up vote 2 down vote accepted

Check the log

Typically, all php errors are logged. The location of the log depends on your operating system. For example, on Ubuntu and Mac OS the log is located at /var/log/php/errors.log. So, in a terminal just tail /var/log/php/errors.log to see the latest errors.

You can find out where your log is and change the location of the log by searching your php.ini file for error_log option. Here is a tutorial on how to do this on unix-like systems:

share|improve this answer
Thank you, I can see the errors in /var/log/php/errors.log. – David Faux Feb 24 '12 at 17:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.