In a php page you can do it by using:
<?php
ini_set(’display_errors’, 1);
error_reporting(E_ALL);
?>
Now, I’m not sure that it will catch parse errors in MODx but I don’t know. I’m not sure how you will use it on your particular setup. If you email me I can try and help you out a bit when I get time. senica at allebrum.com
Yeah, so bascially that means that MODx cannot find the file allebrumWordpress.inc.php. This is the file that contains the class that it is saying it cannot instantiate.
There is a line like this in the snippets:
if(!class_exists(’AWP’)){
include("assets/snippets/allebrumWordpress/allebrumWordpress.inc.php");
}
Make sure that points to the right location on your server.
Okay, well, you made progress. It seems that it can now find the file. It is strange that you are seeing a parse error though unless you made changes to the file.
I don’t mind taking a look real quick if you send over the user/pass to senica at allebrum.com. Other than that, you’ll have to brush up on a little PHP to track down the parse error.
Hi,
Sent you the access details, let me know your findings.
Cheers!