Fatal error: Uncaught exception 'Exception' with message 'On the state "insert" you must have post data' in /web/htdocs/xxx/home/demo/criteris/application/libraries/grocery_crud.php:1967 Stack trace: #0 /web/htdocs/xxx/home/demo/criteris/application/libraries/grocery_crud.php(2679): grocery_States->getStateInfo() #1 /web/htdocs/xxx/home/demo/criteris/application/controllers/admin.php(119): grocery_CRUD->render() #2 [internal function]: Admin->glosari('insert') #3 /web/htdocs/xxx/home/demo/criteris/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #4 /web/htdocs/xxx/home/demo/criteris/index.php(202): require_once('/web/htdocs/www...') #5 {main} thrown in /web/htdocs/xxx/home/demo/criteris/application/libraries/grocery_crud.php on line 1967
I have check everything i can think off, global_xss_filtering is set to false
this is the form generated by Grocery
<form action='http://xxx/demo/criteris/admin/glosari/insert' method='post' id='crudForm' autocomplete='off' enctype="multipart/form-data">
this is the controller function
public function glosari() { $this->grocery_crud->set_table('cri_glosari'); $output = $this->grocery_crud->render(); $this->layout_library->set_title('Glosari'); $this->layout_library->add_menu($this->menu_list,'Glosari'); $this->layout_library->view('cms_crud_view', $output, 'cms_crud_layout'); }
I'm kind of ashamed because in my local apache server works like a charm...
Any clue on what I can be missing is more than welcome...
thanks in advance.