uniuuu/zotprime

Sync with client fails. Call to undefined function ctype_digit()

Closed this issue · 2 comments

When starting from a fresh biliography and adding this article as a first item, sync with Windows client fails.

grafik

The relevant dataserver log is:

zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:06 +0200] "GET /users/1/settings?since=11 HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:06 +0200] "GET /users/1/collections?format=versions&since=11 HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:06 +0200] "GET /users/1/searches?format=versions&since=11 HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:06 +0200] "GET /users/1/items/top?format=versions&since=11&includeTrashed=1 HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:06 +0200] "GET /users/1/items?format=versions&since=11&includeTrashed=1 HTTP/1.1" 200 2 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:06 +0200] "GET /users/1/deleted?since=11 HTTP/1.1" 200 98 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
zotprime-app-zotprime-dataserver-1  | [Sun Apr 30 18:44:06.896049 2023] [php:notice] [pid 29] [client 172.18.0.1:33874] Call to undefined function ctype_digit() in /var/www/zotero/model/Utilities.inc.php:84 (Version: 6.0.27.SOURCE.2f0d41c0c POST /users/1/items) (3c45a4bf86)
zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:06 +0200] "POST /users/1/items HTTP/1.1" 500 17 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
zotprime-app-zotprime-dataserver-1  | 172.18.0.1 - - [30/Apr/2023:18:44:08 +0200] "POST /users/1/items HTTP/1.1" 412 73 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Zotero/6.0.27.SOURCE.2f0d41c0c"
uniuuu commented

This issue is blocked by #6 and #7

uniuuu commented

Hi @jgerster-wetec

Than you for your update.
The issue has been fixed. Now it is possible to upload PDF file.

Screenshot_2023-05-10_23-21-28

Please use next beta release v2.5.0-beta
Note the other possible issue/fix with client in case client was linked with previous server is described on link #3 (comment) .