[wp-trac] [WordPress Trac] #3869: WP-DB Error Message -- CSS / image not loading when installed in subdir

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 25 10:08:43 GMT 2007


#3869: WP-DB Error Message -- CSS / image not loading when installed in subdir
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  anonymous  
     Type:  defect        |      Status:  new        
 Priority:  normal        |   Milestone:  2.1.2      
Component:  General       |     Version:  2.1.1      
 Severity:  minor         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 I have WordPress installed in a folder called `wordpress`, i.e. my files
 are not in my root.

 When I have a database error (for example, when MySQL takes a crap), the
 page is totally unstyled. 99.9% sure it didn't used to be like this. It's
 looking for the CSS at `wp-admin/install.css` rather than `wordpress/wp-
 admin/install.css`.

 I don't see why it shouldn't be possible to figure out where WordPress is
 installed relative to the current URL in order to get the stylesheet and
 image to show up right in most cases.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3869>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list