Saturday, September 22, 2012

My answer to "Installation error on VPS"

This is my answer to a Question on Support site for LampCMS project


A little strange.
Basically this error means that your bootstrap.php was found and loaded, the require.php was found and loaded
and the !inc.php was found and loaded.

Unfortunately the way php outputs the trace from exception is pretty crappy.

This is what you should do:

Open !inc.php in lib directory.
Around line 96 find this line:
echo('Got exit signal in error_handler from ' . $e->getTraceAsString());

replace it with this:
echo('Got exit signal in error_handler. Exception: '.get_class($e).' Error ' . $e->getMessage().' in: '.$e->getFile().' line: '.$e->getLine()."\n<br>Trace: ".$e->getTraceAsString());

This will at least give a much clearer error and will point us to the root of the problem. (hopefully)

No comments:

Post a Comment