ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Site stylesheets not working when logged in...

April 05, 2012 5:42pm

Subscribe [2]
  • #1 / Apr 05, 2012 5:42pm

    TheBronzePatriot

    25 posts

    I’m running into an issue where if I am logged into the CP area and I try and load my site up in another tab, the stylesheets fail to load and it looks all garbled.  Any idea what may be causing this?

    When I logout everything is fine, just only when I’m logged in.

    Any help would be great thanks.

    Here is an example of how it looks while Viewing Source:

    <link rel="stylesheet" type="text/css" media="all" href="http://url-to-my-site.com//S=ca0faa2321f99774ec91941f9ec2a41dfe751752/?css=styles/reset" />

    when it should look like:

    <link rel="stylesheet" type="text/css" media="all" href="http://url-to-my-site.com/?css=styles/reset" />
  • #2 / Apr 05, 2012 10:33pm

    glenndavisgroup

    436 posts

    Hi TheBronzePatriot,

    What version of EE are you using?

    Do you have any third party addons installed?

    Are you using htaccess to remove your index.php?

    Mike

  • #3 / Apr 06, 2012 12:17am

    TheBronzePatriot

    25 posts

    I’m using:

    EE v2.4.0 - Build: date 20120123

    I have a bunch of add-ons that I use and I am using the htaccess file posted on ee-garage for NSM htaccess generator (which I use).  What would be best to post to help figure this out?

  • #4 / Apr 06, 2012 2:32pm

    Kyle Cotter

    730 posts

    Hey TheBronzePatriot,

    That’s odd indeed.

    I just tried to replicate on my own ExpressionEngine 2.4 setup, and couldn’t.

    Can you post the relevant part of your template that contains your stylesheet link?

    Also, can you list all the add-ons you have in use here.

    Thanks! And thanks Mike for the assist!

  • #5 / Apr 06, 2012 3:59pm

    TheBronzePatriot

    25 posts

    Sure thing.  My stylesheet tags look like this:

    <link rel="stylesheet" type="text/css" media="all" href="{stylesheet='styles/global'}" />

    Here is a list of my settings / addons:

    ExpressionEngine 2.4.0 Build 20120123
    MSM not installed
    Extensions installed
    jQuery 1.7.1
    MySQL 5.1.50
    Server Apache/1.3.42 (Unix) mod_auth_tkt/2.1.0 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8r

    PHP Info:

    version 5.2.17
    register_globals on
    safe_mode off
    open_basedir
    max_execution_time 300
    upload_max_filesize 2M
    max_input_time 60
    memory_limit 16M
    session_save_path writable

    Modules:

    Assets 1.1.4
    Ce Cache 1.6
    Channel 2.0.1
    Comment 2.2
    Cx Disqus 1.2.0
    Deeploy Helper 2.0.3
    Field Editor 1.0.2
    Forms 2.0.4
    Freeform 3.1.3
    Low Variables 2.1.1
    M62 Backup 1.8.4
    Member 2.1
    Mountee 2.1
    Mx Google Map 1.3.5
    Navee 2.2.4
    Nsm Live Look 1.2.3
    Playa 4.1.0.3
    Rss 2.0
    Sitemap 2.5
    Structure 3.2.3
    Wygwam 2.4.0.2
    Zenbu 1.5.3
    Zoo Flexible Admin 1.4

    Extensions:

    Nsm Htaccess Generator 1.1.5
    Nsm Live Look 1.2.3
    Nsm Twitter 1.0.2
    Quicksave 1.4.1

    Plugins:

    CE Image 2.3.3
    ez_image_resize 1.5.3
    GWcode Categories 1.8.7
    Low Replace 2.0.3
    Low Title 2.1
    Low Yearly Archives 2.2
    Magpie RSS Parser 1.3.5
    XML Encode 1.3

    That should be it.

    I look forward to your response.

  • #6 / Apr 10, 2012 12:36pm

    Shane Eckert

    7174 posts

    Hi TheBronzePatriot,

    That’s a lot of Add-Ons! Nice. I apologize for the delay in getting back to your case.

    There is a lot here to try and sift through. Can you move aside the LiveLook and the custom .htaccess stuff to test? Are all of these up to date? Can you check on that?

    I do not want to have you removing Add-Ons one at a time to try and see if that is the root cause here because you will lose data with some Add-Ons if you remove them. In fact, just to be safe, before you do anything else I would suggest a full DB backup.

    Can you recall when you first started to notice this? Was it after an Add-On was installed, or maybe a system update to your web server, anything like that. Heh, I sound like a Cop on a forensics show. “Did you have any prior contact with the suspect?” “Do you recall anything about the crime scene that might be relative for this investigation?” 😊

    We will get to the bottom of this. Please try few things I mentioned and we can go from there.

    Cheers,

  • #7 / Apr 15, 2012 11:14am

    TheBronzePatriot

    25 posts

    Turned out that when I was at my wits end that I got the latest EllisLabs newsletter on removing index.php and for kicks I tried that method and it fixed my issue.  Must have been related then to the htaccess default settings from NSM htaccess generator.  Thanks for the help and the great video.

  • #8 / Apr 18, 2012 1:40pm

    Shane Eckert

    7174 posts

    Hey TheBronzePatriot,

    Thank you for letting us know!

    That is Kyle’s awesome work. I will let him know you enjoyed it and that it helped.

    If you need anything else, please just let us know by opening a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases