Problem with making a new page template
Permalink<div class="container"> <div class="row"> <div class="col-md-3 col-sidebar"> <?php $a = new Area('Sidebar'); $a->display($c); ?> </div> <div class="col-md-8 col-sm-offset-1 col-content"> <?php $a = new Area('Sidebar'); $a->setAreaGridMaximumColumns(12); $a->display($c); ?> </div>
However I've tried to assign this to my page type and got this error:
"An exception occurred while executing 'select cID from Pages where cParentID in () and cInheritPermissionsFromCID = ': SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and cInheritPermissionsFromCID =' at line 1"
I'm guessing its something to do with my database or am I missing something?