Daniel Meltzer
Daniel Meltzer
Is everything working as expected here now?
Reading the composer install output makes it pretty clear that the curl and mbstring php extensions are missing from your install.
"[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. ``` 'first_name' => $row[0], 'last_name' => $row[1], 'username'...
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...
Is it more reasonable for components to be able to have serial numbers or for assets to be checked out to assets? My feeling is the former... not sure what...
I'm going to make a few changes that should make it clearer that the "Monitors" and "Unknown" are the names of the category/Asset Model, not the name of the field.
Remove the > on each line (except for in the user permissions one), it should just be the following. ``` $newuser = new User; $newuser->first_name = $item["firstname"]; $newuser->last_name = $item["lastname"];...
Yeah, that should be $newuser->last_name = $item["lastname"];. I corrected it in my thingy above but I didn't point out the difference.
Are you able to pop into the gitter channel? It might be a little easier to talk in real time (https://gitter.im/snipe/snipe-it). I have a few ideas we can play with,...
Which version of snipe-it are you using?