Jump to:

22992 Posts in 11842 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » SS3 + "isDev=1" -> Uncaught SS_HTTPResponse_Exception

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 515 Views
  • vwd
    Avatar
    Community Member
    158 Posts

    SS3 + "isDev=1" -> Uncaught SS_HTTPResponse_Exception Link to this post

    Hi,

    Whenever I do an ?isDev=1 on a "live" SS3 site, I get the following error:

    [Error] Uncaught SS_HTTPResponse_Exception:
    /home/site1/public_html/framework/security/BasicAuth.php:72

    When I programmatically set the site in dev mode (via _ss_environment.php -> define('SS_ENVIRONMENT_TYPE', 'dev')) the issue goes away.

    Actually I notice I get the same error on a SS2.4.6 site, but it continues running. I'm actually trying to profile the site (?debug_profile=1&isDev=1) and even though the SS2.4.6 site logs the uncaught exception, it continues running and displays the debug profile. However, with the SS3 site, I end up getting either a 500 or 503 error from the server

    Does anyone else have any problems with ?isDev=1 on sites which are programatically set to 'live' mode?

    Thanks.
    VWD.

  • t|m
    Avatar
    Community Member
    19 Posts

    Re: SS3 + "isDev=1" -> Uncaught SS_HTTPResponse_Exception Link to this post

    I am having the same issue. Will let you know as soon as I find something!

    Cheers

    515 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.