[drupal-devel] [bug] update.php broken for subdirectory installs

ax drupal-devel at drupal.org
Wed Aug 31 16:43:03 UTC 2005


Issue status update for 
http://drupal.org/node/29051
Post a follow up: 
http://drupal.org/project/comments/add/29051

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
-Priority:     normal
+Priority:     critical
 Assigned to:  mathias
 Reported by:  mathias
 Updated by:   ax
 Status:       patch (ready to be committed)

this link is broken for *all* installs (prominent example [1]). please
apply.
[1] http://drupal.org/update.php




ax



Previous comments:
------------------------------------------------------------------------

Wed, 17 Aug 2005 15:27:49 +0000 : mathias

Attachment: http://drupal.org/files/issues/update-subdir.patch (393 bytes)

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.




------------------------------------------------------------------------

Mon, 29 Aug 2005 20:12:11 +0000 : mathias

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




------------------------------------------------------------------------

Wed, 31 Aug 2005 11:07:38 +0000 : stefan nagtegaal

Attachment: http://drupal.org/files/issues/update-php.patch (431 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!




------------------------------------------------------------------------

Wed, 31 Aug 2005 12:29:17 +0000 : Bèr Kessels

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


+1 for the solution,







More information about the drupal-devel mailing list