Closed (fixed)
Project:
Drupal core
Version:
4.7.3
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2006 at 09:51 UTC
Updated:
17 Oct 2006 at 04:15 UTC
After I setup clean URLs, every time i enter the link that more than 3 levels eg(http://example.com/admin/settings), all links in the source become base on "/admin/'.
Then all .js, .jpg ... ... cannot display.
solutions:
edit includes/common.inc
find out "function base_path() {"
comment out
"#return $GLOBALS['base_path'];"
and add
" return '/';"
then all problems are fixed.
Comments
Comment #1
asimmonds commentedWhat is your php and web server environment?
Do you have $base_url set in settings.php?
Have you made any other custom modifications to Drupal core or .htaccess?
Comment #2
wicka commentedOh Yes.
I have not set the $base_url set in settings.php.
after set that. all problems are gone.
Thanks you very much.
Comment #3
edmund.kwok commentedConsidering this fixed then.
Comment #4
(not verified) commented