• Resolved doctoralf

    (@doctoralf)


    I’m having problems with my blog. I was playing around with the theme (Blix), trying to get it to validate (I had one error left) when for some reason it stopped loading the CSS.

    Changing themes doesn’t work. At the moment the blog is set to use the default wordpress theme but, as you can see, there is no stylesheet being loaded.

    Any help would be great (I’m a total noob)

Viewing 12 replies - 1 through 12 (of 12 total)
  • I trid going to your wp-content folder and received a 404. Is this what you set it up to do, or is the entire directory missing?

    This *might* help..
    https://www.vindictivebastard.net/images2/themeplacement.gif

    Should always be like such:
    wp-content/themes/your-theme
    ——————images
    ——————php files
    ——————style.css

    Chmod your folders: 755 too.. ?? I hope this helps ya … ??

    spencerp

    Thread Starter doctoralf

    (@doctoralf)

    silpstream, thats normal. All the wp folders are there and i’ve changed them (and contents to be 666 and 755).

    The folders are fine. Everything is inside of them the way it should be (I backed up my server a week or so ago, but I left the backup on the computer at work).

    Is there anything else that might be causing this problem? I’m hesitant to reinstall wp (I do have a nightly database backup of everything though in case I do have to)

    thanks for your help so far.

    Thread Starter doctoralf

    (@doctoralf)

    Here’s an update, I’m getting these errors at the bottom of my admin page:

    Warning: main(./admin-footer.php) [function.main]: failed to open stream: No such file or directory in /home/doctoral/public_html/wp-admin/index.php on line 171

    Warning: main(./admin-footer.php) [function.main]: failed to open stream: No such file or directory in /home/doctoral/public_html/wp-admin/index.php on line 171

    Fatal error: main() [function.require]: Failed opening required ‘./admin-footer.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/doctoral/public_html/wp-admin/index.php on line 171

    Thread Starter doctoralf

    (@doctoralf)

    oh, and, according to dreamweaver, line 171 is:
    require('./admin-footer.php');

    Thread Starter doctoralf

    (@doctoralf)

    Never mind the last two posts by me, I fixed that problem (simple as deleting the old admin-footer and putting in a new one)

    >> I trid going to your wp-content folder and received a 404.
    > silpstream, thats normal.

    That is the root cause of the problem however; your stylesheets are not accessible by the user so you get an unstyled page.

    For example, go to
    https://doctoralf.com/wp-content/themes/default/style.css

    You get a 404. Can you try to CHMOD 755 this file to make sure it’s not a permission issue?

    Thread Starter doctoralf

    (@doctoralf)

    the themes folder, the Blix folder and all files inside are now 755, but no change.

    Thread Starter doctoralf

    (@doctoralf)

    Any idea why I get this:

    Fatal error: Unknown function: get_header() in /home/doctoral/public_html/wp-content/themes/Blix/index.php on line 1

    when I go to:
    https://doctoralf.com/wp-content/themes/Blix/

    Thread Starter doctoralf

    (@doctoralf)

    okay. i have managed to get the other themes working (no idea how, but they work). Blix (and one or two others actually) still crash and burn when I try to use them but I’ll be happy with what I have for now.

    Thanks for all your help guys ??

    the themes folder, the Blix folder and all files inside are now 755, but no change.

    Looks like that has resolved the original issue now. Can we mark the issue as resolved now?

    Any idea why I get this… when I go to:
    doctoralf.com/wp-content/themes/Blix/

    This is fine and expected behavour; there’s no need to worry. You’re not supposed to navigate to that directory directly; the content in the theme directories are used by WP to feed content and are incapable of being viewed directly on their own.

    Thread Starter doctoralf

    (@doctoralf)

    I dont think it was teh chmod as I only did that for the Blix folder (and it still refuses to load the stylesheet for the Blix theme), and I hadn’t changed the folders’ permissions when the problem started.

    I’m just happy that I have my blog back in some capacity so I’ve marked the support as resolved.

    Thanks again

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘CSS not loading on any theme..!’ is closed to new replies.