Forums | Mahara Community

Support /
Another User now gets the "Site Unavailable" error


anonymous profile picture
Account deleted
Posts: 24

17 May 2011, 19:04

I now have another user getting "A nonrecoverable error occured. This probably means you have encountered a bug in the system"

The user was able to log in yesterday but today not.

The error logs don't appear to real anything.

I am really desparate as we have just introduced our build to the whole school and I need to know how to fix this sort of error.

anonymous profile picture
Account deleted
Posts: 24

17 May 2011, 19:21

So we found some errors

This error was happening before we changed the port so that has nothing to do with it.

[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * LiveUser->login("fqureshi", "MyP@ssw0rd") at /var/www/mahara/htdocs/auth/lib.php:1143, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * login_submit(object(Pieform), array(size 6)) at Unknown:0, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * call_user_func_array("login_submit", array(size 2)) at /var/www/mahara/htdocs/lib/pieforms/pieform.php:512, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * Pieform->__construct(array(size 8)) at /var/www/mahara/htdocs/auth/lib.php:474, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * auth_setup() at /var/www/mahara/htdocs/init.php:246, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * require("/var/www/mahara/htdocs/init.php") at /var/www/mahara/htdocs/index.php:32, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1] , referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1] [WAR] 9d (lib/dml.php:938) Failed to get a recordset: mysql error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?' at line 1] in EXECUTE("DELETE FROM "artefact_internal_profile_email"  WHERE "artefact" = ? "), referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1] [WAR] 9d (lib/dml.php:938) Command was: DELETE FROM "artefact_internal_profile_email"  WHERE "artefact" = ? , referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1] Call stack (most recent first):, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * delete_records("artefact_internal_profile_email", "artefact", null) at /var/www/mahara/htdocs/artefact/internal/lib.php:572, referer: http://eportfolio.rosmini.school.nz:8886/
[Wed May 18 12:16:51 2011] [error] [client 172.16.0.1]   * ArtefactTypeEmail->delete() at /var/www/mahara/htdocs/artefact/internal/lib.php:307, referer: http://eportfolio.rosmini.school.nz:8886/
anonymous profile picture
Account deleted
Posts: 24

17 May 2011, 20:25

Finally worked it out.  The e-mail was not being pulled from LDAP and it was blank in the LDAP's e-mail field.

Took a while but came right :-)

3 results