Error when click on Site configuration or other link

Hi
i have a problem when click on variuos link on my egroupware on promise.
Receive this error and dont’ open the page

Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at HTMLAnchorElement.<anonymous> (fw_pixelegg.min.js?1647000881:40:3588)
at HTMLDivElement.dispatch (jsapi.min.js?1647000880:44:61367)
at HTMLDivElement.elemData.handle (jsapi.min.js?1647000880:44:56168)

(anonymous) @ fw_pixelegg.min.js?1647000881:40
dispatch @ jsapi.min.js?1647000880:44
elemData.handle @ jsapi.min.js?1647000880:44
index.php:1 Refused to run the JavaScript URL because it violates the following Content Security Policy directive: “script-src ‘self’ ‘unsafe-eval’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-…’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.

**If click on **
APP → and varoius link dont’ work, work it only ADD TICKET
the rest gives me the error listed below

In click on ADMIN → Applications → Tracking System → Site Configuration = Work IT

Egroupware version 21.1.2021.07.23 , the problems was the problem was also there in the previous version 21

Hi Andrea.

Please Update.


Is this a standard EGroupware installation based on Docker?

Have you cleared all caches and tried a private browser window or another browser?

Is this the case for all users?

What does the web server error log say?


Stefan

Hi
this is the error log of apache :

[Mon Mar 14 11:41:36.704957 2022] [php7:notice] [pid 16138] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/share/egroupware/tracker/inc/class.tracker_ui.inc.php on line 1590, referer: https://mydomain/egroupware/index.php?cd=yes
[Mon Mar 14 11:41:36.705067 2022] [php7:notice] [pid 16138] #1 /usr/share/egroupware/api/src/Framework/Ajax.php(1147): tracker_ui->index(), referer: https://mydomain/egroupware/index.php?cd=yes
[Mon Mar 14 11:41:36.705085 2022] [php7:notice] [pid 16138] #2 [internal function]: EGroupware\Api\Framework\Ajax::ajax_exec(‘index.php?menua…’), referer: https://mydomain/egroupware/index.php?cd=yes
[Mon Mar 14 11:41:36.705089 2022] [php7:notice] [pid 16138] #3 /usr/share/egroupware/api/src/Json/Request.php(194): call_user_func_array(Array, Array), referer: https://mydomain/egroupware/index.php?cd=yes
[Mon Mar 14 11:41:36.705092 2022] [php7:notice] [pid 16138] #4 /usr/share/egroupware/api/src/Json/Request.php(104): EGroupware\Api\Json\Request->handleRequest(‘tracker.jdots_f…’, Array), referer: https://mydomain/egroupware/index.php?cd=yes
[Mon Mar 14 11:41:36.705095 2022] [php7:notice] [pid 16138] #5 /usr/share/egroupware/json.php(129): EGroupware\Api\Json\Request->parseRequest(‘tracker.jdots_f…’, ‘{“request”:{"pa…’), referer: https://mydomain/egroupware/index.php?cd=yes
[Mon Mar 14 11:41:36.705099 2022] [php7:notice] [pid 16138] #6 {main}, referer: https://mydomain/egroupware/index.php?cd=yes

yes is based from Docker

Yes but the problem persist

Yes for all users

Now go to updare to the last version

Hmmm… Docker-Installations use definitly Nginx as EGroupware Webserver.

Try:

Stefan

but I only download the docker package because it seems to me the most complete, but then I use it in standard mode and I don’t install the docker container

So you have an archive installation on your own web server(?). This has nothing to do with a Docker installation.

Sorry, but it’s hard to support that from a distance. Especially not without further information about your system environment.

The problem you show above is certainly not a general EGroupware problem. The cause lies in your installation.


In the case of PHP problems, the first thing you should do is check your PHP version. This should be the latest PHP 7.4.
We currently deliver in a standard installation PHP 7.4.27:

Optionally, a current 8.0 is also possible. However, minor problems may still occur in rare cases. However, we will change over soon.

Stefan

please update your installation. There was a change in the browsers which caused to stop opening “actions” from sitemenu. It was fixed long ago. So lease update to the actual version.

Birgit