Re: [Bacula-users] Bacula GUI projects

2024-02-06 Thread Marcin Haba
Hello Alexey, Thank you for letting us know that it started working. Great to hear. For Baculum, it is important to have disabled E_DEPRECATED and E_STRICT errors. Rest of the error types can stay enabled and they are even desirable to keep enabled for seeing when something is going wrong. On Tu

Re: [Bacula-users] Bacula GUI projects

2024-02-06 Thread Alexey Chistyakov
Hello Marcin I didn’t have a php.ini file for the baculum api. I created a php.ini file for the api with the correct error_reporting and it was fixed. Thank you! But perhaps I may have new questions. пт, 2 февр. 2024 г. в 04:05, Marcin Haba : > Hello Alexey, > > Thanks for your tests and new tri

Re: [Bacula-users] Bacula GUI projects

2024-02-01 Thread Marcin Haba
Hello Alexey, Thanks for your tests and new tries. I think it is technically impossible that disabled E_DEPRECATED error reporting in PHP config works well on the Baculum level. Theoretically It could happen when error_reporting is enabled back in PHP code but this type of function does not exist

Re: [Bacula-users] Bacula GUI projects

2024-02-01 Thread Alexey Chistyakov
Hello! My php.ini file for Bacula is the same as for the interpreter: [image: Untitled.png] Addition, I checked the error_reporting var, this var is equal to 22527 (E_ALL & ~E_DEPRECATED & ~E_STRICT). Settings in the php.ini file work, but Baculum shows deprecated errors. чт, 1 февр. 2024 г. в 0

Re: [Bacula-users] Bacula GUI projects

2024-01-31 Thread Marcin Haba
Hello Alexey, Running php --ini displays php.ini file used by PHP command line interpreter, not by PHP that executes Baculum scripts. In FreeBSD by default PHP is used as Apache module (mod_php). To see what php.ini file is used with Baculum, you can put to /usr/local/www/baculum/htdocs/index.php

Re: [Bacula-users] Bacula GUI projects

2024-01-31 Thread Alexey Chistyakov
Error_reporting option doesn't work. Same output. I checked my php.ini file with "php --ini" comand and saw this output: > > *Configuration File (php.ini) Path: /usr/local/etc* > *Loaded Configuration File: /usr/local/etc/php.ini* > *Scan for additional .ini files in: /usr/local/etc/php* >

Re: [Bacula-users] Bacula GUI projects

2024-01-31 Thread Marcin Haba
Hello Alexey, Maybe you are looking in the wrong php.ini file. Sometimes there are few php.ini files that are used depending on how PHP is used. The messages that you showed us on screenshots are E_DEPRECATED type errors, so E_DEPRECATED works for PHP in your environment. For the lines from php.

Re: [Bacula-users] Bacula GUI projects

2024-01-31 Thread Alexey Chistyakov
Hello! I had the following options enabled by default: *; error_reporting* *; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED* Enabling your options didn't change anything in the output. ср, 31 янв. 2024 г. в 04:52, Marcin Haba : > Hello Alexey, > > It looks that you need to tune

Re: [Bacula-users] Bacula GUI projects

2024-01-30 Thread Marcin Haba
Hello Alexey, It looks that you need to tune a bit the error reporting option in your PHP configuration. Could you please try with this settings in your php.ini file: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT Good luck. Best regards, Marcin Haba (gani) On Tue, 30 Jan 2024 at 14:18, A

Re: [Bacula-users] Bacula GUI projects

2024-01-26 Thread Marcin Haba
Hello Alexey, Yes, I confirm that Baculum supports PHP 8 (8.0, 8.1 and 8.2). You wrote that after switching to PHP 8.1 Baculum stopped building correctly. Could I ask you about describing what it means, what commands you type and what error you see? It will help us to diagnose where the problem th

Re: [Bacula-users] Bacula GUI projects

2024-01-26 Thread Davide F. via Bacula-users
Hello Alexey, Probably by baculum-web you meant bacula-web right ? I know 3 main Bacuia GUI (web based) projects - Baculum - Bacularis - Bacula-Web (maintained by me) 2nd and 3rd projects does support recent versions of PHP (Bacula-Web for sure) I don't know if Baculum does support PHP