I use NGINX with PHP-FPM (Same combination works with 16.1)
The error log from nginx:
==> egw_test.antarean.org.error_log <==
2017/12/06 14:59:32 [error] 4163#4163: *676 FastCGI sent in stderr: "PHP message: An error happened (PDOException): SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "=“
LINE 4: …D A.fs_dir = B.fs_dir AND A.fs_active = 1 && B.fs_active = 0
^
PHP message: #0 /var/www/egw.antarean.org/egroupware/api/src/Vfs/Sqlfs/StreamWrapper.php(1582): PDOStatement->execute(Array)
PHP message: #1 [internal function]: EGroupware\Api\Vfs\Sqlfs\StreamWrapper::get_minimum_file_id(‘sqlfs://default…’)
PHP message: #2 /var/www/egw.antarean.org/egroupware/api/src/Vfs.php(2313): call_user_func_array(Array, Array)
PHP message: #3 /var/www/egw.antarean.org/egroupware/api/src/Vfs.php(2586): EGroupware\Api\Vfs::call_on_backend(‘get_minimum_fil…’, Array)
PHP message: #4 /var/www/egw.antarean.org/egroupware/collabora/src/Wopi.php(125): EGroupware\Api\Vfs::get_minimum_file_id(’/home/admin/CV…’)
PHP message: #5 /var/www/egw.antarean.org/egroupware/collabora/src/Bo.php(246): EGroupware\Collabora\Wopi::get_file_id(’/home/admin/CV_…’)
PHP message: #6 /var/www/egw.antarean.org/egroupware/collabora/src/Ui.php(132): EGroupware\Collabora\Bo::get_action_url(’/home/admin/CV_…’)
PHP message: #7 /var/www/egw.antarean.org/egroupware/index.php(155): EGroupware\Collabora\Ui->editor()
PHP message: #8 {main}
PHP message: # Instance=default, User=admin, Request=GET http://egw_test.antarean.org/index.php?menuaction=collabora.EGroupware%5Ccollabora%5CUi.editor&path=%2Fhome%2Fadmin%2FCV_Joost_Roeleveld.odt&cd=no, User-agent=Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0” while reading response header from upstream, client: 10.55.16.44, server: egw_test.antarean.org, request: “GET /index.php?menuaction=collabora.EGroupware%5Ccollabora%5CUi.editor&path=%2Fhome%2Fadmin%2FCV_Joost_Roeleveld.odt&cd=no HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm.egw.socket:”, host: “egw_test.antarean.org”, referrer: "http://egw_test.antarean.org/index.php?cd=ye
In order to reproduce, add a odt-file (used my CV to test)
Double-click on the file in the filemanager and the error occurs.
the following opens in a new tab (window):
An error happened
SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "="
LINE 4: …D A.fs_dir = B.fs_dir AND A.fs_active = 1 && B.fs_active = 0
From the line mentioned, I am thinking the problem is caused by the “&&”
Also, I am using Postgresql 9.6.6.
PHP version = 7.0.25
NGINX version = 1.12.1
If you need anything else, please let me know.