[support] URL changes in 4.7
Alejandro Exojo
suy at kurly.org
Sun Jun 25 23:16:26 UTC 2006
Hi.
I am very worried about upgrading my site to 4.7, and the (complete?) drop of
the "base" element in this version. I agree that "base" is not perfect, and I
am suffering 404 errors in my logs, so a fix is welcome. I copied the site
installation to my local machine, and but I still have two problems:
1. Most URLs are broken.
It seems the update.php has some rules to change URLs written by users in
nodes and comments, but here it didn't worked. The script forgets to change
URLs written like this:
<a href="./foo/bar">something</a>
So here, all my links in the content are broken. I think I can do something
passing sed to a database dump, but still is a horrible pain.
2. The site is a lot less flexible.
Say I have my drupal installation in example.net/, and before I do a real
upgrade, or while I'm testing a theme, I copy it to my local machine, and I
do the changes there. The site is now in localhost/drupal. It worked just
fine in 4.6 or previous, but if URLs now are always absolute, a setup like
this will not work anymore. Or I am missing something?
I am very surprised by this, because there is no explanation in UPGRADING.txt,
nor in the update.php text, nor in the 4.7.0 announcement, and in the new
settings.php is written that $base_url the variable is optional, but I have
it uncommented, and I don't see any changes. :-(
Any suggestions are welcome.
Thanks.
--
Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2
http://barnacity.net/ - Jabber ID: suy at bulmalug.net
More information about the support
mailing list