Adding/Editing Assets
Thanks for creating such a cool software, i installed the software all seems fine except I cannot add or edit assets. I have debug enabled and this is what i get.
Symfony \ Component \ Debug \ Exception \ FatalErrorException syntax error, unexpected '[', expecting ')' open: /var/www/app/storage/views/0d5dac40091b7d84e8bea1f6b127436b
<!-- CSRF Token -->
<input type="hidden" name="_token" value="<?php echo csrf_token(); ?>" />
I had this issue as well check what version of PHP you have installed. You need 5.4 or later.
I have the latest version of PHP installed, i did fix the problem by deleting the contents in folder app/storage/views then set permissions(777) to that folder.
Sounds like that cached view was created before PHP had been upgraded. At any rate, glad you got it sorted.
This has come up a few times recently, so I've added a note to the common issues section of the docs: http://docs.snipeitapp.com/installation/common_issues.html