Ok. I am getting mad.
The new 5.7 installation has a $base_url = "http://mydomain/subdir" (in settings.php)
Still, when i use webfm, with FCKEditor, to link an image or a file, i have a relative path "subdir/files/myimage" or "subdir/files/myfile". Subdir is always part of the relative path, even if i change $base_url in settings, nothing changes.
That is a big problem for portability, if I change subdir.
I tried with baseref tag in the template, but then I cannot see images in the editor.
I tried with baseref in the fckeditor settings, with no result.

What's wrong with this $base_url? Or with me?

Comments

giucas’s picture

I have the same problem. Have you resolved it?

ecksley’s picture

In my case I am bootstrapping a php file in my theme directory. Drupal 6, I should add.

For some reason the system thinks the $base_URl is the full path to the theme.

So when I run functions like url() i get broken paths.

Any thoughts would be helpful!