WordPress.org

Ready to get started?Download WordPress

Forums

Stylesheet "cannot be found on this server" (6 posts)

  1. webbrewers
    Member
    Posted 1 year ago #

    Style.css Link shows in source code but clicking it gets this:

    <html>
    <head><title> 404 Not Found
    </title></head>
    <body><h1> 404 Not Found
    </h1>
    The resource requested could not be found on this server!<hr />
    Powered By blah blah blah</body></html>

    Initially the site broke with a fatal error caused by the Vitamin plug in, so I reinstalled wp-admin, wp-includes and a default version of wp-content. So there are now no plug ins, the 2011 theme is being used and all required files are there in the right place.
    http://dirinc.us

  2. From the HTML source, I can see that you are using the BizCast theme:

    http://dirinc.us/wp-content/themes/BizCast/lib/css/defaults.css" type="text/css" media="screen, projection" />

    I would try re-installing a fresh copy of that theme or switching to the 2011 theme again. You should also upgrade your WP version while you're at it. Running an old WP version isn't very safe.

  3. webbrewers
    Member
    Posted 1 year ago #

    I switched to a fresh copy of that theme as a test but switched back to 2011. Before updating the WP version I'd like to get it working with 3.4.1 as it was fine for months before.
    What I don't get is the link points to the correct file, the file is there but WP can't find it, no matter what theme is used. So something is not working properly.

  4. Have you tried deactivating all of your plugins? One of them maybe messing things up.

  5. webbrewers
    Member
    Posted 1 year ago #

    I did initially, but that didn't help so as I mentioned above I then removed them all. Permissions are okay and at this point I've replaced everything with default files so it's pretty much a fresh install.

  6. webbrewers
    Member
    Posted 1 year ago #

    Ok, it turns out be the .htacess file which this Vitamin plug in writes stuff to - and doesn't remove of course even when the plug in is deleted. Renaming the .htaccess fixes it but should plug ins even be writing to files outside the plug in folder?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.