I am working on a production site, moving settings from a development site for a mobile environment. However, I am receiving the above error. I can not figure out what is causing this error. It does not matter what theme I change my jquery mobile environment too. I've checked all the modules and they seem to be the same versions. The only thing I can see that is different is in the development site I can uncheck/check the block cache, on the production environment I can not do this.
I've experienced the same problem installing a drupal 7 web site from a dump.
default folder was provided empty for sizes management.
After pushing in the
settings.php file and the
files directory the
Drupal is not defined error was there.
Originally the developers had two other folders inside the
When restored this folders the error was solved.
As mentioned by @David Thomas, this is an issue with file
misc/drupal.js. Drupal by default puts it into the correct order. So most likely, the file is not accessible by your web server. Create its URL and try accessing it in your browser, and you will see.
In my case, this was due to using PHP-FPM (which runs with user rights similar to
mod_suphp), and forgetting that static files (`png, jpg, css, js etc.) are still served by apache2 in my case. So these needed to be world-readable.