Open hanneshier opened 2 years ago
Hello,
Should be fixed on V16.0.2 : https://github.com/Dolibarr/dolibarr/commit/bea16a5256c66584259639eebf1c20891fef0780
Thank you, will check es soon as tuxagasy/docker-dolibarr is updated to 16.0.2
Unfortunately, the problem still exists in 16.0.3
dolibarr | 172.18.0.10 - - [01/Dec/2022:23:35:34 +0000] "POST /core/ajax/check_notifications.php HTTP/1.1" 200 395 "https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0"
dolibarr | [Thu Dec 01 23:35:41.809074 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_CODE_BANQUE in /var/www/html/compta/prelevement/create.php on line 125, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.809142 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_CODE_GUICHET in /var/www/html/compta/prelevement/create.php on line 125, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.825193 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Trying to access array offset on value of type null in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 937, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.839479 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_END_TO_END in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 1839, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.839560 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_USTRD in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 1875, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.839592 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_END_TO_END in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 1839, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.839617 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_USTRD in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 1875, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.839641 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_END_TO_END in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 1839, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.839676 2022] [php:warn] [pid 36] [client 172.18.0.10:59324] PHP Warning: Undefined property: stdClass::$PRELEVEMENT_USTRD in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 1875, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
dolibarr | [Thu Dec 01 23:35:41.840610 2022] [php:error] [pid 36] [client 172.18.0.10:59324] PHP Fatal error: Uncaught TypeError: chmod(): Argument #1 ($filename) must be of type string, resource given in /var/www/html/compta/prelevement/class/bonprelevement.class.php:1694\nStack trace:\n#0 /var/www/html/compta/prelevement/class/bonprelevement.class.php(1694): chmod()\n#1 /var/www/html/compta/prelevement/class/bonprelevement.class.php(1068): BonPrelevement->generate()\n#2 /var/www/html/compta/prelevement/create.php(125): BonPrelevement->create()\n#3 {main}\n thrown in /var/www/html/compta/prelevement/class/bonprelevement.class.php on line 1694, referer: https://verwaltung.innwerk.org/compta/prelevement/create.php?mainmenu=bank
Hello,
Is it still the case on V18 ?
I have the same problem in version 19.0.0. I'm also using tuxgasy's Docker image. When trying to create payment order by direct debit it just links to a blank page with the URL: https://dolibarr.example/compta/prelevement/create.php?type=
Bug
When I try to generate the direct debit SEPA XML file, I just get a blank white page on the url https://dolibarr.example.org/compta/prelevement/create.php?action=create
I´m using the tuxgasy Docker image
Environment Version
16.0.1
Environment OS
Linux 3ac883ff1551 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64
Environment Web server
Apache/2.4.38 (Debian)
Environment PHP
8.1.12
Environment Database
MySQL or MariaDB 10.8.5-MariaDB-1:10.8.5+maria~ubu2204
Environment URL(s)
/compta/prelevement/create.php
Expected and actual behavior
Expected to generate and download SEPA XML file Actually just getting a blank webpage
Steps to reproduce the behavior
Add some RECUR invoices to direct debit, go the direct debit module and create a RECUR new XML file
Attached files
Dolibarr logs: