Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin Panel Cannot add user or anything, Gives error on console. #52

Closed
kd-s-t opened this issue Sep 20, 2017 · 5 comments
Closed

Admin Panel Cannot add user or anything, Gives error on console. #52

kd-s-t opened this issue Sep 20, 2017 · 5 comments

Comments

@kd-s-t
Copy link

kd-s-t commented Sep 20, 2017

Uncaught Unknown button type: export

admin.js:sourcemap:29229

@kd-s-t kd-s-t mentioned this issue Sep 20, 2017
@shirshak55
Copy link
Contributor

can you tell us to reproduce this issue?

@kd-s-t
Copy link
Author

kd-s-t commented Sep 20, 2017

@bloggervista This link works perfectly the user site: http://cms.simple.local:8888/public/

Then I went here at admin site: http://cms.simple.local:8888/public/auth/login
username: admin@admin.com
password: 123456

Admin Panel showing successfully. Popup show that Google analytics code should be applied then disappear.

Then I added a new user. It did added in the database, but not showing in the admin user table.

Error in console is: Uncaught Unknown button type: export admin.js:sourcemap:29229

Want some images? contact me at kendantinio@gmail.com

@kd-s-t
Copy link
Author

kd-s-t commented Sep 20, 2017

@ozdemirburak How about this, you think you can help me?

@ozdemirburak
Copy link
Owner

Probably admin.js is not being loaded properly, that's why.

If you followed the instructions, then it should've already installed and compiled assets needed. But this error tells you that, it can't find the buttons component of datatables, that's why, it's not being rendered.

@ozdemirburak
Copy link
Owner

@kenntinio Sorry, you were right, if the vendor files of the datatables package don't get published, then one may come across with this error.

I've updated the webpack file now, so server side buttons are included whether you publish the datatables assets or not.

Please reopen the issue if the error still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants