Discussion on Josh - Laravel Admin Template + Front End + CRUD

jyostna

jyostna supports this item

Supported

This author's response time can be up to 1 business day.

1063 comments found.

paejan

paejan Purchased

Got this error on the Login attempt :

TokenMismatchException in VerifyCsrfToken.php line 68: in VerifyCsrfToken.php line 68 at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49 at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137 at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33 .......

Happen after i transfer my app to the server operated in centOS 7 tons of solution got from net but it didnt help..

Pls help me.

Hello,

you are not getting error in localhost?

yes.. just after tranfers to live server (by ip address) the error happen

please check in .env file

whether APP_KEY exists

then modify APP_URL with your website url/ip

A really useful function for the CRUD module would be “user definable CRUD location”. For example I would like some of the CRUD to be stored under “admin” but I would also like some stored under “pages” or any other user-created folder. If this is possible, I would really appreciate some advice on how to do this.

No, I mean within the Laravel structure i.e. /resources/views/.... so, /resources/views/admin/ and /resources/views/pages/ etc..

oh.. with current code we can’t do that dynamically.

because we are storing configuration and processing files as per that.

may be we can plan that later.

Thanks, thats what I thought… anyway could be useful

I have a problem with Datatable. I start from the example “Laravel Examples/Ajax Datatable” to load the data from database in the table and it works. Then I try to add the buttons: print, pdf and CSV. I include the js libraries of the example Datatables/Advanced Data Tables and assign to table id=”table1” But I have an error Uncaught TypeError: Cannot read property ‘_colReorder’ of undefined at new ColReorder (dataTables.colReorder.js:375) at HTMLDocument.<anonymous> (table-advanced.js:16) at j (app.js:2) at Object.fireWith [as resolveWith] (app.js:2) at Function.ready (app.js:2) at HTMLDocument.J (app.js:2)

If id=”table2” I have the error: Datatables warning: table id=table2 – Cannot reinitialise DataTable

Thanks

Hello, that usually happens when you have different number of columns in each row

or you are trying to re-initialize datatables() function more than once.

by
by
by
by
by
by