Jump to content

Export does not work: "The requested URL was rejected. " (flexigrid, bootstrap)

export flexigrid bootstrap

  • Please log in to reply
1 reply to this topic

#1 anna



  • Members
  • Pip
  • 2 posts

Posted 08 May 2016 - 09:30 PM

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


Below is the controller function:



    public function customers()
            $crud = new grocery_CRUD();

            $output = $crud->render();


        }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!



#2 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 12 May 2016 - 10:31 AM

Check the request output in network console - fix the issues ... else if there are only warnings and u dont wana fix it ... switch the mode from development to production.


Hope that solves your problem


Happy GCing :)

Also tagged with one or more of these keywords: export, flexigrid, bootstrap

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users