Pages: 1
Hello,
I am having difficulty installing Piwigo. My server is running and I'm able to submit the installation form after which the screen goes blank and then I see the following in the error.log.
2023/03/06 00:15:50 [error] 1002#1002: *8 FastCGI sent in stderr: "PHP message: PHP Warning: Trying to access array offset on value of type null in /data/n...n/photos/admin/include/plugins.class.php on line 383PHP message: PHP Warning: Trying to access array offset on value of type null in /data/n...n/photos/admin/include/plugins.class.php on line 383PHP message: PHP Fatal error: Uncaught Error: Class "DOMDocument" not found in /data/n...n/photos/include/emogrifier.class.php:406
Stack trace:
#0 /data/n...n/photos/include/emogrifier.class.php(233): Emogrifier->createXmlDocument()
#1 /data/n...n/photos/include/functions_mail.inc.php(951): Emogrifier->emogrify()
#2 /data/n...n/photos/include/functions_mail.inc.php(849): move_css_to_body()
#3 /data/n...n/photos/install.php(520): pwg_mail()
#4 {main}
thrown in /data/n...n/photos/include/emogrifier.class.php on line 406" while reading response header from upstream, client: x.x.x.x, server: ____.xyz, request: "POST /photos/install.php?language=en_US HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "____.xyz", referrer: "https://_____.xyz/photos/install.php?language=en_US"
Here are the versions of pertinent software:
mysql Ver 8.0.32-0ubuntu0.22.04.2 for Linux on x86_64 ((Ubuntu))
PHP 8.1.2-1ubuntu2.11 (cli) (built: Feb 22 2023 22:56:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2-1ubuntu2.11, Copyright (c), by Zend Technologies
php8.1-gd
nginx version: nginx/1.18.0 (Ubuntu)
Piwigo 13.6.0
Additional Info:
MySQL has the db set up and the mysql User has been created for it. I then entered those details into the Piwigo installation form. For the rest of the form, the admin stuff, I entered new info - was it supposed to be based off of admin details I set up elsewhere?
Last edited by wharton_koala (2023-03-06 02:03:11)
Offline
I was able to get past this via:
sudo apt-get install php-dom
However now I face:
2023/03/06 03:44:50 [error] 3627#3627: *1 FastCGI sent in stderr: "PHP message: PHP Warning: Trying to access array offset on value of type null in /data/n...n/photos/admin/include/plugins.class.php on line 383PHP message: PHP Warning: Trying to access array offset on value of type null in /data/n....n/photos/admin/include/plugins.class.php on line 383PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in /data/n....n/photos/include/emogrifier.class.php:434
Stack trace:
#0 /data/n....n/photos/include/emogrifier.class.php(411): Emogrifier->getUnifiedHtml()
#1 /data/n....n/photos/include/emogrifier.class.php(233): Emogrifier->createXmlDocument()
#2 /data/n....n/photos/include/functions_mail.inc.php(951): Emogrifier->emogrify()
#3 /data/n....n/photos/include/functions_mail.inc.php(849): move_css_to_body()
#4 /data/n....n/photos/install.php(520): pwg_mail()
#5 {main}
thrown in /data/n.....n/photos/include/emogrifier.class.php on line 434" while reading response header from upstream, client: x.x.x.x, server: ______.xyz, request: "POST /photos/install.php?language=en_US HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.1-fpm.sock:", host: "_____.xyz", referrer: "https://_____.xyz/photos/install.php?language=en_US"
Offline
This was solved by:
sudo apt-get install php-mbstring
Looks like installation worked! The website is not rendering any images only text, is this because I don't have ImageMagick?
Offline
Pages: 1