Insert query fails to execute, cannot debug; gives error 500 page
I cannot insert the debug statement after the execute statement because the execute fails to execute.
$InsertQuery->saveInSession("");
echo 'error1';
$InsertQuery->execute();
echo 'error2';
The page is blank but says error1. I've been at this for 5 hours.....