Hi all,
Hopefully the hive mind can help me here.
I'm currently moving a Perch site from one server (Windows 2012 running MAMP) to another (Windows 2019 running MAMP Pro). So far, I've got everything working as it should, with the exception of uploading PDF files via the Assets screen.
I've tested the upload using TXT, PNG, JPG etc, all work fine, however PDF files get uploaded in to the specified folder fine, but the user then gets logged out of the Perch interface. and no entry in to the database takes place. This seems to point to that the thumbnail for the PDF cannot be generated and causes a pretty hard PHP error. However, I'm seeing nothing in the PHP or Apache error logs.
I've been digging around old forum posts, and read that this may be an indication that ImageMagick is not installed on the webserver. When I test for the ImageMagick version using...
$imagick_version_string = $imagick_version['versionString'];
I get this:
ImageMagick 6.8.9-1 Q16 x86 2014-05-08 http://www.imagemagick.org
In the extended diagnostics in Perch, I can see ImageMagick is loaded:
Extensions: Core, bcmath, calendar, com_dotnet, ctype, date, filter, hash, iconv, json, SPL, odbc, pcre, Reflection, session, sockets, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, bz2, SimpleXML, soap, xml, xmlreader, xmlwriter, apache2handler, openssl, curl, fileinfo, gd, intl, mbstring, memcache, mysqli, Phar, pdo_mysql, pdo_sqlite, sqlite3, xsl, exif, imagick
GD: Yes
ImageMagick: Yes
I'm stumped as to how to move forward with resolving this, can anyone help with any suggestions on how to resolve or any PHP to test ImageMagick or any of its dependants are actually working properly?
Thanks in advance,
Stoo