Hi, I built an Automad 1.2.5 site last year on a Mac with XAMPP. I successfully deployed it to my hosting by simply uploading the contents of the “automad-master” directory to the hosting root. (www.binero.se, has perfomance issues when logged in - see other post).
Now I have bought a new Mac and I can't get Automad 1.2.5 to run on it with XAMPP.
So far I have tried:
- Copy files from the old Mac to new Mac (tried both copy files and zipping).
- Download files from the hosting root directory (tried both binary DL and .zip DL)
This is the error message I get on my new Mac:
Fatal error: Uncaught Error: Call to undefined function Automad\Core\imagecreatefromjpeg() in /opt/lampp/htdocs/public_html/automad/core/image.php:299 Stack trace: #0 /opt/lampp/htdocs/public_html/automad/core/image.php(389): Automad\Core\Image->createImage() #1 /opt/lampp/htdocs/public_html/automad/core/image.php(188): Automad\Core\Image->verifyCachedImage() #2 /opt/lampp/htdocs/public_html/automad/core/view.php(459): Automad\Core\Image->__construct('/opt/lampp/htdo...', 1440, false, false) #3 /opt/lampp/htdocs/public_html/automad/core/view.php(650): Automad\Core\View->processFileSnippet('/pages/projects...', Array, '\n\t\t\t\t\t<img\n\t\t\t\t...', '/opt/lampp/htdo...') #4 [internal function]: Automad\Core\View->Automad\Core{closure}(Array) #5 /opt/lampp/htdocs/public_html/automad/core/view.php(521): preg_replace_callback('/((?P<var>(@\{\...', Object(Closure), '\n\t\t<div class="...') #6 /opt/lampp/htdocs/public_html/automad/core/view.php(739): Automad\Core\View->interpret('\n\t\t<div class="...', '/opt/lampp/htdo...' in /opt/lampp/htdocs/public_html/automad/core/image.php on line 299
I also tried installing Automad 1.3.2 on the new Mac from scratch that works without issues.
Help appreciated! Thanks