Ajax problem

Hello

I have installed the newest Dolibarr Version (3.9.2) on my Webserver Apache with PHP 5.6 and MariaDB.
It is working but i have problem with AJAX, this is not working.
I dont know why. In the Demo Version it is working, so it is no Browser problem.
I cant Delete something or choose the Date, because it needs Ajax.

I will be happy if someone can help me soon :happy:
Thank you a lot.

Try to clear cache of your browser

It is not a browser problem. I have cleared the cash, it does not change anything. On demo site is working. I have reinstalled the software. Same problem.

Can you provide url of your instance with a demo login ?

I have installed on my Synology NAS, it is not reachable of external connection…

I have created a link

http://buehler-amden.synology.me:8080/dolibarr_farb/htdocs/

Username: demo
Password: demo123

For testing e.x. you can create a new proposal and check the date pop up it doesnt work
I have made this account for admin to test something.

Thanks. This is a bug when using language “german - switzerland”.

To fix it, replace the line 1035 of file htdocs/core/lib/lib_head.js.php

	print "var dec='" . $dec . "'; var thousand='" . $thousand . "';\n";    // Set var in javascript

with

	print "var dec='" . dol_escape_js($dec) . "'; var thousand='" . dol_escape_js($thousand) . "';\n";    // Set var in javascript
1 Like

It works!! Thank you very much :slight_smile: