Hi all,
I love GroceryCRUD! I have installed it, but I am facing the following problem:
The export function does not work in Bootstrap and Flexigrid themes. It opens a new tab that presents the message:
"The requested URL was rejected.
Ref: 14871480822686978822"
However, it works ok in the Datatables theme.
I have checked the Firefox developers tool, and I see no related error.
Note, that there is a Syntaxerror that appears in the web console for the Datatables and Flexigrid themes, but I don't think it affects the export function.
SyntaxError: expected expression, got '<' jquery.noty.config.js:1:0
admin-CodeIgniter/assets/grocery_crud/js/jquery_plugins/config/jquery.noty.config.js
Below is the controller function:
--------------
public function customers()
{
try{
$crud = new grocery_CRUD();
$crud->set_theme('flexigrid');
$crud->set_table('V2_customers');
$crud->set_subject('Customer');
$output = $crud->render();
$this->_example_output($output);
}catch(Exception $e){
show_error($e->getMessage().' --- '.$e->getTraceAsString());
}
}
-----------
I would really appreciate any help/comment on this issue. I would use the Datatable theme (since the export function works), but I have another problem with this theme (the validations do not work, but I will create another post for it).
thank you so much for your time reading my post!
Anna