Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I visit some internal pages with IE I recive 404 errors with the thickbox_ie.css file.
I have found this code:
drupal_set_html_head('<!--[if IE]><link type="text/css" rel="stylesheet" media="all" href="'. $path .'/thickbox_ie.css'.'" /><![endif]-->');
That should be:
drupal_set_html_head('<!--[if IE]><link type="text/css" rel="stylesheet" media="all" href="/'. $path .'/thickbox_ie.css'.'" /><![endif]-->');
See the / before the $path.
This change solves all my 404 errors
Comments
Comment #1
oriol_e9gSolved in 6.x-1.x-dev with other approach.