When Drupal is installed in a subdirectory the 'run the database upgrade script' link erroneously points to the root folder.

The fix? Include settings.php so we can properly set the HTML base href using the $base_url variable.

CommentFileSizeAuthor
#2 update-php.patch431 bytesStefan Nagtegaal
update-subdir.patch393 bytesmatt westgate

Comments

matt westgate’s picture

I've verified this to be a problem in Konqueror and not Firefox. Haven't tested IE or Safari.

Stefan Nagtegaal’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new431 bytes

I can verify that the update.php script is broken when drupal is installed in a subdirectory.. I applied this patch and it works perfectly using Safari, Mozilla, IE and Opera..

I rerolled the patch against current HEAD. Because this is a one line patch, I set the status of this patch 'Ready to be committed'..

Please apply!

Bèr Kessels’s picture

I can confirm this. I thought It was my rewrite rules tat broke this.

+1 for the solution,

ax’s picture

Priority: Normal » Critical

this link is broken for *all* installs (prominent example). please apply.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)