I’m getting the following error:
Fatal error: Maximum execution time of 30 seconds exceeded in D:\defaultsite\modx-0.9.5\manager\includes\document.parser.class.inc.php on line 1296
when I make a Ditto call inside my template:
[[Ditto? &tpl=`DittoTemplate` &displayArchive=`0`]]
DittoTemplate:
<h5><a href="[~[+id+]~]">[+title+]</a></h5>
<div>[+summary+]</div>
<p>[+link+]</p>
Line 1295 & 1296:
$sql= "INSERT INTO " . $this->getFullTableName("event_log") . "(eventid,type,createdon,source,description,user) " .
"VALUES($evtid,$type," . time() . ",’$source’,’$msg’,’" . $this->getLoginUserID() . "’)";
I get the same error on making the following calls:
[[Ditto? &startID=`[[!UltimateParent!]]`]]
[[Ditto]]
If I remove Ditto, the error is gone.
How many documents are you asking Ditto to retrieve? What is your server config, version of Ditto, and MODx version?