News:

Looking for documentation? Take a look on our wiki

Main Menu

Product Details - Blank Page

Started by j12345, April 26, 2018, 16:29:18 PM

Previous topic - Next topic

j12345

I am running joomla 3.8.5 w/ php 5.6 and VM 3.2.0 inside a docker container.

When I click to view a product, I get a blank page (EVEN with error reporting set to max in my joomla config AND debugging and developer mode set in the VM configuration).
I am running a php5.6-apache container. One of my pages shows up completely blank. When I check the logs using docker logs -f mycontainer, I get these errors:

sh: 1: compgen: not found
ls: cannot access /usr/bin/convert: No such file or directory
ls: cannot access /usr/local/bin/convert: No such file or directory

I know these relate to imagemagick, which is installed via the dockerfile below and used on some site pages for thumbnails; however, in the product details page, I get the blank page issue.

My dockerfile:

FROM php:5.6-apache
RUN docker-php-ext-install mysqli

RUN apt-get update \
    && apt-get install -y --no-install-recommends \
        libmagickwand-dev \
    && rm -rf /var/lib/apt/lists/*

RUN pecl install imagick-3.4.1 \
    && docker-php-ext-enable imagick

RUN a2enmod rewrite
RUN a2ensite default-ssl
RUN a2enmod ssl

EXPOSE 443
EXPOSE 80

Things that did not work: Using RUN apt-get install imagemagick throws an error saying that imagemagick is not a package.