I have 2 php files that will generate a jtable plugin which when I run without using code igniter works perfectly. But when I put it in codeigniter that's the time the error will show up. here is my file hierarchy
application/
...
views/
system_admin/
PersonActions.php
view_systemadmin_manageprojects.php
When I run it, the base interface of jtable shows up but without a data plus an error.
I have this code in the view file which calls the other php file
<script type="text/javascript">
$(document).ready(function () {
//Prepare jTable
$('#PeopleTableContainer').jtable({
title: 'Table of News and Events',
actions: {
listAction: 'PersonActions.php?action=list',
createAction: 'PersonActions.php?action=create',
updateAction: 'PersonActions.php?action=update',
deleteAction: 'PersonActions.php?action=delete'
},