-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
500 error when uploading user csv #2233
Comments
Stack trace from /app/storage/logs |
"[2016-07-08 09:32:59] production.ERROR: ErrorException: Undefined offset: 7 in /var/www/snipeit/app/controllers/admin/UsersController.php:844" It looks like the importer is expecting eight columns, but not finding them.
|
It looks like the 'phone' column is missing. The index is 0 based, so it should actually be eight columns (I mislead earlier). First, Last, User, Email, Location, Phone, Job Title, Employee Num. |
We both learned something today...BOOM! Worked great, thanks for the quick response!! |
Expected Behavior (or desired behavior if a feature request)
When uploading a usr csv in the format given, I instantly receive a 500 error. I upload the file, click "this CSV has a header row" and straight to 500. There's nothing in the logs that point to an issue.
Actual Behavior
Please confirm you have done the following before posting your bug report:
Please provide answers to these questions before posting your bug report:
app/storage/logs
and your webserver's logs.The text was updated successfully, but these errors were encountered: