Loading...
 
Architecture / Installation

Architecture / Installation


File upload fails with php 7.0+

posts: 228 Ukraine

PROBLEM SOLVED!!!!!!!!!!!!!!!!!

I found this post on the 'Dev' site, looks like I'm not the only one having these issues
https://dev.tiki.org/item6600-File-Galleries-File-upload-failed-SyntaxError-Unexpected-token-in-JSON-at-position-0

I suspected it was just some php configuration I did not have enabled, and it turns out I needed to enable the 'fileinfo' extension. Once enabled, file uploading works with php versions higher than 5.6 (I'm currently using php 7.3).

Issue closed :-)

There are no comments at this time.