Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

SS3 + "isDev=1" -> Uncaught SS_HTTPResponse_Exception


Go to End


2 Posts   1651 Views

Avatar
vwd

Community Member, 166 Posts

4 September 2012 at 5:34am

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.

Avatar
t|m

Community Member, 19 Posts

31 October 2012 at 11:09am

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

Cheers