Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New install: admin stylesheets/images not loading


spinach

Recommended Posts

Posted

I'm new to osCommerce/PHP/mySQL so this is probably a dumb question, but ...

 

I've installed the latest download (v2.2 RC 2a) and set up the database OK, reset permissions according to the documentation via SSH, and the storefront looks fine.

 

However, when I go to the admin side, from the login screen onward, neither the stylesheet nor any associated images are displaying, so it's difficult trying to interact with these pages. Clicking View Source confirms that the line <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> exists in the header, the stylesheet is there on the server in the admin/includes folder, and looks fine when I check its contents, but for some reason it's not modifying the display.

 

Ideas anyone?

Posted

If there is a .htaccess file in the /admin/includes folder rename it to text.htaccess

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thanks. That did the trick.

 

Just so's I can understand, can you tell me why the .htaccess file was preventing the stylesheet working?

Posted

It contained directives that were improperly coded or not applicable in that context.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...