Getting Error when login- Cannot Connect: Verify that you have typed correctly URL and that your site uses Moodle 2.4

Re: Getting Error when login- Cannot Connect: Verify that you have typed correctly URL and that your site uses Moodle 2.4

by Chris Pratt -
Number of replies: 3

I think I found the solution to this. Debugging was enabled but set to minimal. Changed to none and now can log in. Thanks for all the help.

In reply to Chris Pratt

Re: Getting Error when login- Cannot Connect: Verify that you have typed correctly URL and that your site uses Moodle 2.4

by Swapnil Shinde -



login/token.php

Version: 3.2+ (Build: 20161215)

Encountered same error, when wrong credentials entered it throws following error

Tried Chris' solution, didn't work, any idea?

<br />
<b>Error</b>: <font color="FF0000"><b>Internal script failure</b><br />

In reply to Swapnil Shinde

Re: Getting Error when login- Cannot Connect: Verify that you have typed correctly URL and that your site uses Moodle 2.4

by Swapnil Shinde -

This is from the log



2017/04/12 15:19:47 [error] 15634#15634: *9028 FastCGI sent in stderr: "PHP message: Debugging: The authentication method db is not configured. in
* line 62 of /auth/db/auth.php: call to debugging()
* line 4301 of /lib/moodlelib.php: call to auth_plugin_db->user_login()
* line 52 of /login/token.php: call to authenticate_user_login()

PHP message: PHP Notice:  Undefined property: stdClass::$proxycas in .com/ProductPage/csa/auth/cas/auth.php on line 191
PHP message: PHP Notice:  Undefined property: stdClass::$casversion in .com/ProductPage/csa/auth/cas/auth.php on line 194
PHP message: PHP Notice:  Undefined property: stdClass::$hostname in .com/ProductPage/csa/auth/cas/auth.php on line 194
PHP message: PHP Notice:  Undefined property: stdClass::$port in .com/ProductPage/csa/auth/cas/auth.php on line 194
PHP message: PHP Notice:  Undefined property: stdClass::$baseuri in .com/ProductPage/csa/auth/cas/auth.php on line 194" while reading response header from upstream