Drupal Update Problems

I have recently set up a new Drupal site, a private project for my family. In the process of doing this, I had to run the Database update when I moved to my live server. Imagine my surprise when the update wouldn't finish!

I was receiving a little note from Firebug (the world's greatest software plugin) telling me there was a Javascript error - "Access to restricted URI denied" followed by some obfuscated Javascript.

After a bit of searching, I stumbled across a well hidden answer on Drupal.org. If you have Clean URL's enabled, and have expressed a preference for www or no-www in your .htaccess file, you need to ensure that your settings.php file has the same www status in its $base_url variable. If not, you run in to this problem. Once I added the www to the $base_url, the update ran fine.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options