Forums | Mahara Community

Support /
Exception thrown at login after upgrade.


Dylan Hughes's profile picture
Posts: 2

20 May 2010, 8:37 AM

I'm running mahara networked with moodle on a windows 2003 server running wamp. I have just perfomed the upgrade from 1.2.3 to 1.2.4 and now it throws an exception when anyone tries to login.

The error I get is: Fatal error: Exception thrown without a stack frame in Unknown on line 0

I have checked the PHP error logs and I see the following:

[20-May-2010 14:04:51] PHP Fatal error:  Exception thrown without a stack frame in Unknown on line 0

[20-May-2010 14:04:55] [DBG] 54 (C:\wamp\www\mahara\auth\user.php:890) Destroying user with un-committed changes

[20-May-2010 14:04:56] [WAR] 08 (C:\wamp\www\mahara\lib\mahara.php:956) File C:\wamp\www\mahara/\artefact/learning/lib.php did not exist

[20-May-2010 14:04:56] Call stack (most recent first):

[20-May-2010 14:04:56]   * safe_require("artefact", "learning") at C:\wamp\www\mahara\lib\web.php:1960

[20-May-2010 14:04:56]   * mahara_standard_nav() at C:\wamp\www\mahara\lib\web.php:1985

[20-May-2010 14:04:56]   * main_nav() at C:\wamp\www\mahara\lib\web.php:389

[20-May-2010 14:04:56]   * smarty() at C:\wamp\www\mahara\index.php:48

I'm guessing the problem is on the second line where the file path is "C:\wamp\www\mahara/\artefact/learning/lib.php" where there seems to be a forward slash where there shouldn't be. However, I can't find where it's coming from. Can anyone help me get to the bottom of this please?

Dylan Hughes's profile picture
Posts: 2

20 May 2010, 9:49 AM

The plot thickens....

It also seems every forward slash in the javascript generated by mahara is getting a backslash inserted before it. And not just in the filepaths but the html tags too. So I get a \ / wherever there should be just a /

These maybe two separate problems but it seems unlikely they are not related.

2 results