lovedigit
👽 Chevereto Freak
▶ Reproduction steps
The form spinner animation is shown, and does nothing after that. When error log is enabled, the following trace is logged on the server.
📃 Error log message
Aw, snap! Internal Server Error [debug @ print,error_log] - https://v3-docs.chevereto.com/setup/debug.html
Fatal error [0]: syntax error, unexpected ';'
Triggered in /app/lib/classes/class.sftp.php:50
Stack trace:
#0 unknown file(unknown line): class_autoloader()
#1 /app/lib/classes/class.storage.php(588): spl_autoload_call()
#2 /app/lib/classes/class.storage.php(169): CHV\Storage::requireAPI()
#3 /app/lib/classes/class.storage.php(415): CHV\Storage::uploadFiles()
#4 /app/lib/classes/class.storage.php(473): CHV\Storage::test()
#5 /app/routes/route.json.php(874): CHV\Storage::insert()
#6 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#7 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#8 /app/web.php(471): G\Handler->__construct()
#9 /app/loader.php(299): require_once('/app/web.php')
#10 /index.php(20): include_once('/app/loader.php')" while reading response header from upstream, client: 103.253.150.140, server: domain.com, request: "POST /json HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm-domain.sock:", host: "domain.com", referrer: "https://domain.com/dashboard/settings/external-storage"
- Go to dashboard > settings > External Storage
- Add new storage
- Enter all the details and press submit
The form spinner animation is shown, and does nothing after that. When error log is enabled, the following trace is logged on the server.
📃 Error log message
Aw, snap! Internal Server Error [debug @ print,error_log] - https://v3-docs.chevereto.com/setup/debug.html
Fatal error [0]: syntax error, unexpected ';'
Triggered in /app/lib/classes/class.sftp.php:50
Stack trace:
#0 unknown file(unknown line): class_autoloader()
#1 /app/lib/classes/class.storage.php(588): spl_autoload_call()
#2 /app/lib/classes/class.storage.php(169): CHV\Storage::requireAPI()
#3 /app/lib/classes/class.storage.php(415): CHV\Storage::uploadFiles()
#4 /app/lib/classes/class.storage.php(473): CHV\Storage::test()
#5 /app/routes/route.json.php(874): CHV\Storage::insert()
#6 /lib/G/classes/class.handler.php(230): G\Handler->{closure}()
#7 /lib/G/classes/class.handler.php(130): G\Handler->processRequest()
#8 /app/web.php(471): G\Handler->__construct()
#9 /app/loader.php(299): require_once('/app/web.php')
#10 /index.php(20): include_once('/app/loader.php')" while reading response header from upstream, client: 103.253.150.140, server: domain.com, request: "POST /json HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm-domain.sock:", host: "domain.com", referrer: "https://domain.com/dashboard/settings/external-storage"