-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add data from excel sheet to database #2
Comments
bhu800 |
To avoid ldap login, try this.
|
Can you upload app/Http/middleware/RedirectIfauthenticated.php file |
you asked to comment all ldap authentication code... |
You have to comment only ldap verification part in it. |
Basically you comment from line 27-127 only in the file that you've sent. |
your mysql configuration is causing problems. |
try updating config/database.php and .env files accordingly. |
error resolved but still it is redirecting to same page with being logged in |
problem solved... |
it was due to that i made user email and password from phpmyadmin while app was trying to match hashed password... |
good job. Now you can focus on the actual issue here. Keep going. |
sir tools import export method via excel sheet is now working properly... |
but there is a issue that it only download tools data in xlxs format ... |
also should I do it's styling also... |
also I wanted to ask how is someone assigned admin boolean in our system... as I made myself admin from phpmyadmin... |
Only an admin should be able to make other user an admin. This functionality also needs to be added. I'll make a separate issue for that. Currently, its done by changing value in database. Add tools should only be accessible by a user who has admin privileges. Try verifying this logic by logging by another user who is not an admin. |
yes for normal user(non-admin) it is redirecting to booking calender page.... |
Currently admin has to add tool information one-by-one. The aim is to make this job easier. The admin should be able to update lab equipment information by just uploading an excel sheet containing all lab equipment information in proper format.
https://itsolutionstuff.com/post/laravel-56-import-export-to-excel-and-csv-exampleexample.html
http://www.expertphp.in/article/laravel-5-maatwebsite-import-excel-into-db-and-export-data-into-csv-and-excel
https://www.kodementor.com/laravel-excel-import-and-export-example-from-scratch/
The text was updated successfully, but these errors were encountered: