I’m just starting to play with an Alpine Linux (latest) container on my Proxmox (latest) server instance. I want to run a few rather small WordPress site, and figured that as Alpine Linux was a really lightweight distro, that would be a good way to ensure I use no more resources than required.
So, I have worked out a procedure to get Nginx, MariaDB, PHP-7, Logrotate and Let’s Encrypt up and running, but am having issues with WordPress installing. I get the dreaded “There has been ac ritical error on this website” message and the following in the nginx/site_error.log:
Stack trace:
#0 /var/www/site.org/wp-includes/blocks/archives.php(115): register_block_type_from_metadata()
#1 /var/www/site.org/wp-includes/class-wp-hook.php(292): register_block_core_archives()
#2 /var/www/site.org/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /var/www/site.org/wp-includes/plugin.php(484): WP_Hook->do_action()
#4 /var/www/site.org/wp-settings.php(560): do_action()
#5 /var/www/site.org/wp-admin/setup-config.php(33): require('/var/www/site.org...')
#6 {main}
thrown in /var/www/site.org/wp-includes/blocks.php on line 203" while reading response header from upstream, client: 10.255.69.101, server: site.org, request: "GET /wp-admin/setup-config.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "site.org"
2021/06/16 19:00:17 [error] 702#702: *17 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function json_decode() in /var/www/site.org/wp-includes/blocks.php:203
I’m stumped at this point and really am unsure where to look next to see what I need to do to get this running…
This is the output from apk info:
alpine-baselayout
alpine-keys
ca-certificates-bundle
libtls-standalone
zlib
scanelf
libc-utils
apk-tools
busybox
libcrypto1.1
libssl1.1
ssl_client
alpine-conf
busybox-suid
busybox-initscripts
alpine-base
musl
ifupdown-ng
openrc
musl-utils
pcre
nginx
nginx-openrc
php7-common
argon2-libs
ncurses-terminfo-base
ncurses-libs
libedit
pcre2
xz-libs
libxml2
php7
ca-certificates
brotli-libs
nghttp2-libs
libcurl
php7-curl
php7-fpm
libxau
libbsd
libxdmcp
libxcb
libx11
libxext
libice
libuuid
libsm
libxt
libxpm
libbz2
libpng
freetype
libjpeg-turbo
libwebp
php7-gd
php7-openssl
php7-mysqlnd
php7-mysqli
php7-opcache
mariadb-common
libaio
libgcc
linux-pam
libstdc++
mariadb
mariadb-openrc
mariadb-client
popt
logrotate
logrotate-openrc
expat
libffi
gdbm
readline
sqlite-libs
python3
py3-ordered-set
py3-appdirs
py3-parsing
py3-six
py3-packaging
py3-setuptools
py3-cparser
py3-cffi
py3-idna
py3-asn1crypto
py3-cryptography
py3-openssl
py3-josepy
py3-pbr
py3-mock
py3-tz
py3-pyrfc3339
py3-chardet
py3-urllib3
py3-requests
py3-requests-toolbelt
py3-acme
py3-configargparse
py3-configobj
py3-distro
py3-distutils-extra
py3-future
py3-parsedatetime
py3-zope-interface
py3-zope-proxy
py3-zope-deferredimport
py3-zope-deprecation
py3-zope-event
py3-zope-hookable
py3-zope-component
certbot
certbot-nginx
icu-libs
php7-intl
oniguruma
php7-mbstring
php7-soap
php7-xml
php7-xmlrpc
libzip
php7-zip
fcgi
php7-cgi
php7-ctype
php7-dom
libintl
php7-gettext
php7-iconv
c-client
php7-imap
php7-json
libsasl
libldap
php7-ldap
libmcrypt
php7-pecl-mcrypt
php7-pdo
php7-pdo_mysql
php7-posix
php7-session
]]>I would like to remove the ‘dater’ from appearing on the blog listings: https://munch.membrana.us.
I have successfully removed it from a single post: https://munch.membrana.us/curiosities/chinese-noodle-dinner
I don’t understand where to remove the ‘dater’ code snippet if I have already removed it from single.php.
Wasted too much time on this already. Would appreciate your help. Thanks!
]]>I am totally new in WordPress and I want to implement my own Theme in WordPress 2.9.
Sir is anybody guide me from where shall I get free manuel of WordPress ? Also give me link from where I get idea about implementing custom there with WordPress.
Thanking you,
Dhaval Dave
]]>New to the forums, have a site I am working on and hoping someone can point me in the right direction for what I am trying to accomplish.
My site is here: www.atlantiagroup.com/tpg, i am specifically working on this page: https://www.atlantiagroup.com/tpg/?page_id=81
I have some custom PHP code that allows the user to search a MYSQL database for listings. I created the PHP file and added it as a template for the specific page, and this seems to work great.
The issue I am having is with the results and subsequent pages from there. I am not sure how to apply the header and footer to the results page without it breaking.
I am in the process of importing the search from my local web server, so some of the links on the pages may still be broken, FYI.
Any help appreciated.
]]>Adding items to the top Menu:
– The top menu features two links: Home and About
– To add more links, use a text editor (i.e: Notepad) to open the header.php file and copy and paste:
– Remember to edit your link title and the destination of your link within href=” “.
I was able to get the third page up but, when I load the blog it fills content from the first 2nd page. When I change the permalink number in the parentaces to 3 or something else it loads the first page. I need help to get it to load a fresh page that I can use.
It is one year I have tried to figure this out I am not a coder so I need some help.
]]>The code in question is:
<?
$_GET['id'] = '11';
include('/home/domains/mysite.com/ad.php');
?>
]]>