snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

500 error when creatiing new Asset model

Open SeanLebeau opened this issue 12 years ago • 3 comments

I am getting a 500 error when I try and create a new asset model. This the the Developement branch I downloaded it yesterday. I see this error message in the logs.

[2014-10-31 13:46:48] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'syntax error, unexpected '[', expecting ')'' in /opt/snipeit/app/storage/views/d2dd2a5792757f60240e882d490dd7b4:37

SeanLebeau avatar Oct 31 '14 16:10 SeanLebeau

hi sean

not sure if this helps, but snipe helped me out. check this link out here.

https://github.com/snipe/snipe-it/issues/307

regards

joseph

joseph707 avatar Oct 31 '14 17:10 joseph707

Thanks I checked and I am running PHP 5.4.34

SeanLebeau avatar Oct 31 '14 17:10 SeanLebeau

I got it to work. I completely removed the app from the server and reinstalled it and it works now. I don't know what the issue was but it is fixed now.

SeanLebeau avatar Oct 31 '14 18:10 SeanLebeau