Jump to:

1160 Posts in 2632 Topics by 409 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » Upgrade 2.3.3 -> 2.3.5 breaks admin interface over SSL

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1773 Views
  • chrschn
    Avatar
    Community Member
    7 Posts

    Upgrade 2.3.3 -> 2.3.5 breaks admin interface over SSL Link to this post

    Hi.

    Since I upgraded the SilverStripe site to the newest version, I am not able to access the admin interface through a secure connection anymore. All I get is a blank page. Here is what happens:

    1. I open the URL https://mysite/admin.
    2. An HTTP basic-auth dialog pops up.
    3. I enter my credentials.
    4. My browser is redirected to https://mysite/Security/login, the page asks me for my credentials again.
    5. I enter my credentials.
    6. My browser is redirected to https://mysite/admin, but I see a blank page.
    7. If I then manually open the URL https://mysite/Security/login, it reads "You're logged in as <me>".

    If I do the same with the non-secured connection, i.e. http://mysite/admin, everything works as expected: I only see one authentication dialog and can then access the admin interface. SSL itself works fine, as I can view any regular page via HTTPS, e.g. https://mysite/some-page/.

    Additionally, when I open the URL https://mysite/admin, the Apache error logs contain the following entries:

    PHP Warning: No current controller available in /srv/www/htdocs/silverstripe-2.3.5/sapphire/core/control/Controller.php on line 343
    PHP Fatal error: Call to a member function getSession() on a non-object in /srv/www/htdocs/silverstripe-2.3.5/sapphire/core/Session.php on line 60

    This error already occured to me when I tried to upgrade from 2.3.3 to 2.3.4, so I rolled back to 2.3.3 and didn't invest to much time into troubleshooting.

    Any suggestions?

    -Christian

  • chrschn
    Avatar
    Community Member
    7 Posts

    Re: Upgrade 2.3.3 -> 2.3.5 breaks admin interface over SSL Link to this post

    As I didn't receive any reply yet, I've opened a ticket for this bug: http://open.silverstripe.org/ticket/5030

    1773 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.