PHP version

alonzo

Well-known member
You are using DaDaBIK version 8.1-Lerici enterprise, installed on 02.10.2017, the latest version of DaDaBIK is 8.2-Lerici released on 19.12.2017
You are not running the last release of DaDaBIK, the release you are running might have bugs and security holes, see the official change log for further information. You can upgrade DaDaBIK here.
PHP Version: 5.5.38
mysql version: 5.0.92-enterprise-gpl-log
Web server: Apache
Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.3


Nel mio Hosting Linux su Aruba ho sia Dadabik 8.1 che Joomla 3.8.4.
Il lato amministrativo di Joomla mi dice in continuazione: abbiamo rilevato che il tuo server sta utilizzando PHP 5.5.38 che è obsoleto e non riceve più aggiornamenti di sicurezza dai propri sviluppatori. Il progetto Joomla! raccomanda di aggiornare il proprio sito a PHP 5.6 o successivi, che riceveranno aggiornamenti di sicurezza almeno fino al 31-12-2018...


Inoltre, sul manuale Dadabik ho letto quanto segue, riferito al PHP:
PHP version >= 5.3.11 (PHP 7 is OK!). DaDaBIK can also work with PHP >= 5.2 but contact us for details.

MA...

Se setto PHP su 5.6.x e apro Dadabik ottengo questo:
[06] Error: during database connection. Please check $host, $user, $pass and $db_name in your config.php, set $debug_mode to 1 in your config.php to get further error information
Fatal error: Call to a member function query() on null in /web/htdocs/www.prevenzioneonline.info/home/CU/include/db_functions_pdo.php on line 116

Se setto PHP su 7.0.x e apro Dadabik ottengo questo:
[06] Error: during database connection. Please check $host, $user, $pass and $db_name in your config.php, set $debug_mode to 1 in your config.php to get further error information
Fatal error: Uncaught Error: Call to a member function query() on null in /web/htdocs/www.prevenzioneonline.info/home/CU/include/db_functions_pdo.php:116 Stack trace: #0 /web/htdocs/www.prevenzioneonline.info/home/CU/include/db_functions_pdo.php(591): execute_db('SELECT TABLE_NA...', NULL) #1 /web/htdocs/www.prevenzioneonline.info/home/CU/include/business_logic.php(916): get_tables_list(1) #2 /web/htdocs/www.prevenzioneonline.info/home/CU/include/common_start.php(140): build_tables_names_array(0, 0) #3 /web/htdocs/www.prevenzioneonline.info/home/CU/index.php(19): include('/web/htdocs/www...') #4 {main} thrown in /web/htdocs/www.prevenzioneonline.info/home/CU/include/db_functions_pdo.php on line 116

...lo fa anche con Dadabik 8.2
 

eugenio

Administrator
Staff member
Molto strano: l'errore e' un semplice errore di connessione quindi sembra che i parametri in config.php non siano corretti, però mi confermi che con lo stesso config.php e PHP 5.5.38 DaDaBIK funziona? Il fatto che non dia errori non e' significativo perche' potrebbe dipendere da come e' impostata quella particolare versione di PHP sul tuo hosting, mi interessa capire se in effetti funziona.

Ciao
 

alonzo

Well-known member
Confermo, tutte le mie versioni Dadabik funzionano sino a quando non alzo i settaggi Php...
php_aruba.jpg
 

eugenio

Administrator
Staff member
Potrebbe essere che nelle versioni piu' recenti su Aruba non abbiano abilitato il supporto a PDO?
 
Top