Forums | Mahara Community

Support /
"Mahara: Site unavailable"


CIET NCERT's profile picture
Posts: 5

10 November 2017, 23:00

Screenshot from 2017-11-10 14-53-31.png

This is a very common problem with mahara installation. I am continuously getting this error after installing it on server.

I have made all necessary changes in config and updated the package several times but it didn't work.

Please help.

Kristina Hoeppner's profile picture
Posts: 4863

12 November 2017, 19:00

Hello,

This is the generic error message in Mahara. Please check your error log for more information. Without that, it's not possible to know what might be going on.

Thanks

Kristina

 

CIET NCERT's profile picture
Posts: 5

17 November 2017, 17:53

[17-Nov-2017 04:43:37 UTC] [WAR] 43 (lib/errors.php:859) Failed to get a recordset: mysqli error: [1146: Table 'ictmahara.usr_session' doesn't exist] in EXECUTE("SELECT * FROM "usr_session"  WHERE "usr" = 0  AND "session" = ''  LIMIT 2")Command was: SELECT * FROM "usr_session"  WHERE "usr" = ?  AND "session" = ?  and values was (0:0,1:)
[17-Nov-2017 04:43:37 UTC] Call stack (most recent first):
[17-Nov-2017 04:43:37 UTC]   * log_message(string(size 281), integer, true, true) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/lib/errors.php:95
[17-Nov-2017 04:43:37 UTC]   * log_warn(string(size 281)) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/lib/errors.php:859
[17-Nov-2017 04:43:37 UTC]   * SQLException->__construct(string(size 281)) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/lib/dml.php:517
[17-Nov-2017 04:43:37 UTC]   * get_recordset_sql(string(size 64), array(size 2), integer, integer) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/lib/dml.php:336
[17-Nov-2017 04:43:37 UTC]   * get_record_sql(string(size 64), array(size 2), integer) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/lib/dml.php:305
[17-Nov-2017 04:43:37 UTC]   * get_record(string(size 11), string(size 3), integer, string(size 7), string(size 0)) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/auth/lib.php:420
[17-Nov-2017 04:43:37 UTC]   * auth_setup() at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/init.php:389
[17-Nov-2017 04:43:37 UTC]   * require("/home/pindics/public_html/itpdncert.in/ictmahara/h...") at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/index.php:16
[17-Nov-2017 04:43:37 UTC]
[17-Nov-2017 04:43:37 UTC] [WAR] 43 (lib/dml.php:517) Failed to get a recordset: mysqli error: [1146: Table 'ictmahara.usr_session' doesn't exist] in EXECUTE("SELECT * FROM "usr_session"  WHERE "usr" = 0  AND "session" = ''  LIMIT 2")Command was: SELECT * FROM "usr_session"  WHERE "usr" = ?  AND "session" = ?  and values was (0:0,1:)
[17-Nov-2017 04:43:37 UTC] Call stack (most recent first):
[17-Nov-2017 04:43:37 UTC]   * get_recordset_sql(string(size 64), array(size 2), integer, integer) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/lib/dml.php:336
[17-Nov-2017 04:43:37 UTC]   * get_record_sql(string(size 64), array(size 2), integer) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/lib/dml.php:305
[17-Nov-2017 04:43:37 UTC]   * get_record(string(size 11), string(size 3), integer, string(size 7), string(size 0)) at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/auth/lib.php:420
[17-Nov-2017 04:43:37 UTC]   * auth_setup() at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/init.php:389
[17-Nov-2017 04:43:37 UTC]   * require("/home/pindics/public_html/itpdncert.in/ictmahara/h...") at /home/pindics/public_html/itpdncert.in/ictmahara/htdocs/index.php:16
[17-Nov-2017 04:43:37 UTC]

 

these are my error logs. I am still unable to find the solution.

Please help.

Robert Lyon's profile picture
Posts: 773

21 November 2017, 7:05

Looking at your error log it is saying

"Table 'ictmahara.usr_session' doesn't exist"

The usr_session table is the table that holds info about who is logged in. That table should exist from a normal mahara install.

So I'm not sure how it is missing

Cheers

Robert

4 results