You should really redirect before you start page output

You should really redirect before you start page output

by Danny Wu -
Number of replies: 1

Hi I'm new to moodle and I encountered this error when it tries to use SSO to login. Does anyone might know the cause of this problem or have already encountered something similar? It seems to be connecting after I click the (continue), but I'd rather not see that message.

You should really redirect before you start page output

-line 591 of /lib/outputrenderers.php: call to debugging()

-line 2375 of /lib/weblib.php: call to core_renderer->redirect_message()

-line 40 of /auth/ldap/ntlmsso_attempt.php: call to redirect()

Attempting Single Sign On via NTLM...

(Continue)

Error output, so disabling automatic redirect.

 

Average of ratings: -
In reply to Danny Wu

Re: You should really redirect before you start page output

by Itamar Tzadok -

The cause is a (old) "fix" in the code to work around redirect issues in IE 6 and FF 3.

It should probably be worthwhile to browse the tracker for a related issue and open an issue it none exists.

With debugging off you shouldn't see such messages.

hth smile

Average of ratings: Useful (1)