after i filled the setuppage, sql, user i receive the following error.
.
I'am using Piwigo 13.8.0 on Debian with php 8.2 and use chrome as web
this is a part of the NGINX errolog.
Stack trace:
#0 /piwigo/install.php(328): fputs()
#1 {main}
thrown in /piwigo/install.php on line 328" while reading response header from upstream, client: 192.168.1.1, server: xxxyyy.be, request: "POST /install.php?language=nl_NL HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock:", host: "xxx.yyy.be", referrer: "https://xxx.zzz.be/install.php"
2023/12/01 11:18:13 [error] 189540#189540: *14 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function set_charset() on null in /piwigo/include/dblayer/functions_mysqli.inc.php:88
Stack trace:
#0 /piwigo/install.php(261): pwg_db_check_charset()
#1 {main}
thrown in /piwigo/include/dblayer/functions_mysqli.inc.php on line 88" while reading response header from upstream, client: 192.168.1.1, server: xxx.yyy.be, request: "POST /install.php?language=nl_NL HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock:", host: "xxx.yyy.be", referrer: "https://xxx.zzz.be/install.php?language=nl_NL"
2023/12/01 11:19:53 [error] 189540#189540: *14 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: fputs(): Argument #1 ($stream) must be of type resource, bool given in /piwigo/install.php:328
I changed the name of the host in this log for security reasons
someone a idea
Srr for very bad english, i'am dutch
Tx
Offline
Hi,
I think your SQL settings may be wrong, check, and try again.
Offline
"member function set_charset() on null" means PHP mysqli couldn't be instantiated. You probably don't have the PHP mysqli extension installed/enabled.
Offline
... and I can tell you Piwigo 13 won't work fine on PHP 8.2. Need Piwigo 14 to be compatible with PHP 8.2+
Offline
tx fot the answers
TOnin : sql is good, i use the username and database as a test in a node-red script and had no problem
erAck : i checked and PHP mysqli is installed.
What i did
removed al the files in the root directory and manual recopied in the root folder van de webserver.
Reloaded nginx and php-fpm
Login to the install pagina and filled al the fields in the form, even those preinstalled as localhost and database-prefix
For some weird reason al was going well. Porblaly i did something verry wrong the first time
But now my webpagina is repeateling blurred with following errors
Deprecated: Creation of dynamic property Smarty_Internal_Template::$compiler is deprecated in /www/public/piwigo/include/smarty/libs/sysplugins/smarty_internal_template.php on line 719
Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /www/public/piwigo/_data/templates_c/p6jhns^e51eae470ca51026be55979a21f2c915f43eb129_0.file.photos_add_direct.tpl.php on line 493
Deprecated: Creation of dynamic property CssAtMediaStartToken::$MediaTypes is deprecated in /www/public/piwigo/include/cssmin.class.php on line 34
Offline
PLG, then i have a big problem, because when i go to the download page of piwigo the only version i see is 13.8.0
:-(
Offline
You can give a try to the release candidate #2 from here https://piwigo.org/forum/viewtopic.php?id=33231
Offline
Tx TOnin, i installed the 14.0.0RC2 and for the moment i don't have problems.
Offline