LycheeOrg / Lychee-v3

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.

Home Page:https://lycheeorg.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fresh install,Sever error or api not found

iajiao opened this issue · comments

Detailed description of the problem

Sever error or api not found

Steps to reproduce the issue

install

Output of the diagnostics (Settings => Diagnostics)

{description: "Server error or API not found.", params: {…}, response: SyntaxError: Unexpected token < in JSON at position 0
at parse ()
at tt (http://…}
description: "Server error or API not found."
params: {function: "Session::init"}
response: SyntaxError: Unexpected token < in JSON at position 0 at parse () at tt (http://vwjerome.free.fr/Lychee/dist/main.js:1:12632) at n (http://vwjerome.free.fr/Lychee/dist/main.js:3:11797) at XMLHttpRequest. (http://vwjerome.free.fr/Lychee/dist/main.js:3:16973)
proto: Object

Browser and system

chrome
PHP Version 5.6.34

I suppose it could be because of your PHP version? Lychee needs at least 7.1...

No response and old PHP. Closing.