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.

[URGENT] Template Access Setting Returns Wrong Content

February 02, 2012 7:28am

Subscribe [1]
  • #1 / Feb 02, 2012 7:28am

    ajdimac

    11 posts

    This is similar to the thread “2.4 Login problem”. However, this is causing a major problem for the school intranet that I manage. I upgraded to version 2.4 last night and after updating the plugins that are part of the site we realized that there was this problem.

    The Access for the index page is set to redirect to the login page if a user is not signed in. However, that redirect is instead generating what looks like Greeked text. Here’s a link to the site

    http://aceraschool.org/intranet

    I also saw this developer’s error code was generated but I don’t know if it a related issue.

    A third-party add-on is calling $this->load->library(‘security’), which is deprecated as the CI_Security class has been moved to Core, so it is always loaded.

    Thanks,

     

  • #2 / Feb 03, 2012 2:40pm

    Kevin Smith

    4784 posts

    Hi AJ,

    Sorry to see you’ve run into this jam. Don’t worry about the developer’s error code. In this case, it’s more of a warning to the developers of that add-on that they need to update their code, but it doesn’t do anything to harm your system.

    When I click the link above, I’m only seeing a page with lorem ipsum placeholder text, and I’m not redirected anywhere. Is that not what you’re seeing? Also, could you be specific about how you’ve set this template to redirect? Was it using the index of the Template Manager screen or on the edit screen for the particular template itself?

  • #3 / Feb 04, 2012 5:11pm

    ajdimac

    11 posts

    Hey Kevin,

    Thanks for getting back to me.

    The lore ipsum page is the what you are seeing but aren’t supped to. The page you should be redirected to is http://aceraschool.org/intranet/login.

    The template is redirected using the “access” setting on the Template Manager. The setting on the index template is configured to send traffic that is not signed in to the login page. Once you are signed in the rest of the site works as expected. Also, it had been working fine for the last 6 months until this update.

    Checking the access area on the edit page shows the settings to be the same. Plus “Enable HTTP Authentication” is off.

    One thing I did find out was that the redirect goes town about page that isn’t being used right now that was part of the site template. I’ll delete that page to see if it helps.

    Any other information I can provide?

    Thanks,

     

  • #4 / Feb 04, 2012 5:23pm

    ajdimac

    11 posts

    OK. I just made it worse. Now the page comes up blank except for the number 0.

    Oy.

  • #5 / Feb 04, 2012 5:47pm

    ajdimac

    11 posts

    Sorry for the multiple posts. However, this is causing a bit of concern and I’m trying to find a solution.

    For now, I’ve changed the access on the index page to allow all which will make sure users can log in. Not the best but the rest of the site will keep the restrictions on.

    Thanks,

  • #6 / Feb 07, 2012 7:07pm

    Sean C. Smith

    3818 posts

    Hi AJ,

    Could you post a screenshot of your template restrictions? Have you checked the error logs on the server to see what they say?  Also could you go to Admin > System Administration > Output and Debugging and turn on both the Output profiler and Template Debugging and then visit the site and tell me what you see.

    Sean

  • #7 / Feb 07, 2012 7:49pm

    Sean C. Smith

    3818 posts

    Hi AJ,

    I just came across another thread about this same issue and site http://aceraschool.org/intranet/login  by Ralph.M. Are you working together on this? I would like to keep the issue all in one thread and as such am going to close this thread and continue the discussion over at: http://ellislab.com/forums/viewthread/209652/

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

ExpressionEngine News!

#eecms, #events, #releases