Context: My organisation uses react to create custom blocks, but there is one block that would be better written using alpine instead. As such, I’m trying to assess what to be aware of before implementing any changes.
I am currently using a docker setup with 7.4-fpm-alpine as my linux distribution in a docker container. I want to edit images inside of WordPress, but the warning tells me “Image rotation is not supported by your web host.”.
I have tried to add php-gd like here Gideon-php-gd, but with the supported packages for alpine in my php.dockerfile by adding the commands, but it did not change anything.
php.dockerfile:
FROM php:7.4-fpm-alpine
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql
RUN apk update \
&& apk add \
build-base \
imagemagick \
gd \
If you need the docker-compose.yml or anything else tell me. I am quite new to Docker, so maybe there is an easy fix, but I am to blind to see.
Thanks in Advance!
]]>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
]]>Right now I’ve found ‘instagram_photo_number’ in the alpinebot-display.php but there is no option to change.
https://www.ads-software.com/plugins/alpine-photo-tile-for-instagram/
]]>If you have a look at the link below you can see the preview images for 4 separate portfolios I’ve created. All the preview images are sized the same in the media library….1500×1000
The problem is that one of those images does not seem to be the same size as all the rest. Can anyone here see any obvious reasons or how I can fix this by simply viewing the page source?
Link to page is here. It’s under the installations section. I’ve attached a screen capture to assist. Your help is much appreciated.
Thank you
https://sandbox.digitaldieselstudio.com/blog/
https://www.dropbox.com/s/5gt37msugq9l5qy/Screenshot%202016-04-06%2014.33.19.png?dl=0
]]>THX
https://www.ads-software.com/plugins/alpine-photo-tile-for-instagram/
]]>https://mahirsayar.com/instagram/
https://www.ads-software.com/plugins/alpine-photo-tile-for-instagram/
]]>Warning: array_key_exists() expects parameter 2 to be array, string given in /home/content/26/11316626/html/wp-content/plugins/alpine-photo-tile-for-instagram/gears/alpinebot-display.php on line 90
I’ve tried disabling other plugins one by one and can’t find anything that way. I can’t disable all other plugins on the live site, but I’m downloading a copy and a database backup so I can test it out on an offline version, and can also try with other themes etc, but has anyone else managed to fix this problem?
https://www.ads-software.com/plugins/alpine-photo-tile-for-instagram/
]]>The following came up as errors during validation. Please update:
Thanks!
https://www.ads-software.com/plugins/alpine-photo-tile-for-instagram/
]]>The Term of Use says: “You shall not: Display more than 30 Instagram photos or videos per page in your application or use an unreasonable amount of bandwidth.”
Which to me reads: You can show all the images you want in your application but only 30 at a time.
So is there a way to get the next 30?
Thanks,
-max
https://www.ads-software.com/plugins/alpine-photo-tile-for-instagram/
]]>