Forums | Mahara Community
Support
/
CAS
31 January 2015, 2:35
Hey
I managed to upgrade using a older database backup up to 1.10.2 on a new server.
But now my CAS has stopped working, When i try to click CAS in Institutions i get an Site unavailiblke message, And yes i copied over the CAS catalog from old server under auth/cas
I can get the CAS login and Everything but cant check the config, and when ppl try to logion via CAS they ar led back to Mahara login page.
Please advise
// Kristoffer
Lund University
31 January 2015, 3:25
More detailed errer on the problem:
THIS IS BAD and should be changed to something extending MaharaException,
unless the exception is from a third party library.
Original trace follows
- pieform_render_element(object(Pieform), array(size 4)) at /data/mahara-1.10.2/htdocs/lib/pieforms/pieform/elements/fieldset.php:102
- pieform_element_fieldset(object(Pieform), array(size 10)) at /data/mahara-1.10.2/htdocs/lib/pieforms/pieform.php:1436
- Pieform->build_element_html(array(size 10)) at /data/mahara-1.10.2/htdocs/lib/pieforms/pieform.php:671
- Pieform->build() at /data/mahara-1.10.2/htdocs/lib/pieforms/pieform.php:163
- Pieform::process(array(size 5)) at /data/mahara-1.10.2/htdocs/lib/pieforms/pieform.php:71
- pieform(array(size 5)) at /data/mahara-1.10.2/htdocs/admin/users/addauthority.php:86
02 February 2015, 7:36
Hi Kristoffer,
which version of the CAS-Plugin do you have installed? Did you check, if there exists a newer version of the plugin?
Tobias
03 February 2015, 8:32
Hi Kristoffer,
the README file from the version I just downloaded says the same. Can you check the version.php (in the same folder, under auth/cas/version.php) in case they forgot to change the README? Mine says:
$config->version = 2014082400;
Tobias
03 February 2015, 21:21
Hi Tobias,
Thank you, i downloaded the stable version, but with MASTER it works and shows what it should.
But now when they try to login CAS wont take the user info with it to MAHARA they just get to the MAHARA login page again, Any ideas?
// Kristoffer
03 February 2015, 22:31
New error after i got CAS login working;
- log_message("ldap_bind(): Unable to bind to server: Operations ...", 8, true, true, "/data/mahara-1.10.2/htdocs/auth/ldap/lib.php", 271) at /data/mahara-1.10.2/htdocs/lib/errors.php:439
- error(2, "ldap_bind(): Unable to bind to server: Operations ...", "/data/mahara-1.10.2/htdocs/auth/ldap/lib.php", 271, array(size 6)) at Unknown:0
- ldap_bind(resource(#56), "admin2", "nhiqmt") at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:271
- AuthLdap->ldap_connect() at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:397
- AuthLdap->get_userinfo_ldap("ehl-kpr", "********") at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:382
- AuthLdap->get_user_info("ehl-kpr") at /data/mahara-1.10.2/htdocs/auth/cas/lib.php:142
- AuthCas->authenticate_user_account(object(stdClass), "not cached") at /data/mahara-1.10.2/htdocs/auth/user.php:1479
- LiveUser->login("ehl-kpr", "********") at /data/mahara-1.10.2/htdocs/auth/lib.php:1472
- login_submit(object(Pieform), array(size 2)) at /data/mahara-1.10.2/htdocs/auth/cas/index.php:121
- log_message("ldap_search(): supplied argument is not a valid ld...", 8, true, true, "/data/mahara-1.10.2/htdocs/auth/ldap/lib.php", 322) at /data/mahara-1.10.2/htdocs/lib/errors.php:439
- error(2, "ldap_search(): supplied argument is not a valid ld...", "/data/mahara-1.10.2/htdocs/auth/ldap/lib.php", 322, array(size 5)) at Unknown:0
- ldap_search(false, "ou=people,dc=lu,dc=se", "(uid=ehl-kpr)", array(size 1)) at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:322
- AuthLdap->ldap_find_userdn(false, "********") at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:413
- AuthLdap->get_userinfo_ldap("ehl-kpr", "********") at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:382
- AuthLdap->get_user_info("ehl-kpr") at /data/mahara-1.10.2/htdocs/auth/cas/lib.php:142
- AuthCas->authenticate_user_account(object(stdClass), "not cached") at /data/mahara-1.10.2/htdocs/auth/user.php:1479
- LiveUser->login("ehl-kpr", "********") at /data/mahara-1.10.2/htdocs/auth/lib.php:1472
- login_submit(object(Pieform), array(size 2)) at /data/mahara-1.10.2/htdocs/auth/cas/index.php:121
- log_message("ldap_read(): supplied argument is not a valid ldap...", 8, true, true, "/data/mahara-1.10.2/htdocs/auth/ldap/lib.php", 415) at /data/mahara-1.10.2/htdocs/lib/errors.php:439
- error(2, "ldap_read(): supplied argument is not a valid ldap...", "/data/mahara-1.10.2/htdocs/auth/ldap/lib.php", 415, array(size 9)) at Unknown:0
- ldap_read(false, false, "objectClass=*", array(size 5)) at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:415
- AuthLdap->get_userinfo_ldap("ehl-kpr", "********") at /data/mahara-1.10.2/htdocs/auth/ldap/lib.php:382
- AuthLdap->get_user_info("ehl-kpr") at /data/mahara-1.10.2/htdocs/auth/cas/lib.php:142
- AuthCas->authenticate_user_account(object(stdClass), "not cached") at /data/mahara-1.10.2/htdocs/auth/user.php:1479
- LiveUser->login("ehl-kpr", "********") at /data/mahara-1.10.2/htdocs/auth/lib.php:1472
- login_submit(object(Pieform), array(size 2)) at /data/mahara-1.10.2/htdocs/auth/cas/index.php:121
04 February 2015, 10:14
Hi Kristoffer,
great, I'm glad it's working now.
You're right, it seems like the stable version is a little behind.
Tobias