lennonrich
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorHeya,
1.4.1e works a charm on the two I’ve tested with! Will mark as resolved. Thank you so much for your help!
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorlol, really sorry — saw “Imagick” and just copied the error, apologies!
Will test it out properly!
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorHello,
No problems — I appreciate everything you’re doing ??
This is with 1.4.1d
[12-Apr-2016 14:41:21 UTC] PHP Strict Standards: Non-static method Imagick::getversion() should not be called statically in /home/bathandnortheast/public_html/assets/themes/ccg/functions.php on line 618
Media Library
When I load up the media library, the loading circle just spins and spins and spins. If I press List View, it all loads in about a second. Click the Grid View button again, just nothing, spinning. This could be entirely coincidental, I just wanted to feed it back in case it helps ??Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorHello ??
[12-Apr-2016 14:15:12 UTC] PHP Strict Standards: Non-static method Imagick::getversion() should not be called statically in /home/bathandnortheast/public_html/assets/themes/ccg/functions.php on line 618
Edit:Further, the media library’s stopped working in Grid View since this 1.4.1c. It still works in List view, but not Grid view ??
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorModified ever so slightly:
if ( is_user_logged_in () ){ $v = Imagick::getVersion(); preg_match('/ImageMagick ([0-9]+\.[0-9]+\.[0-9]+)/', $v['versionString'], $v); echo '<!--imagick version: '.$v[1] . '-->'; }
Produces:
<!--imagick version: 6.2.8-->
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorHiya,
Here’ what I did:
- Deleted the existing plugin
- Uploaded the new plugin
- Deactivated the plugin
- Reactivated the plugin
- Went into Options, unchecked using custom dimensions and saved
- Uploaded a PDF
Unfortunately it still fails, with the message:
[12-Apr-2016 13:05:52 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293
Thanks!
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorHiya,
Thanks for the update! Tried with the new version and tested with three different PDFs with no success:
[12-Apr-2016 12:50:45 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293
[12-Apr-2016 12:50:56 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293
[12-Apr-2016 12:51:07 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 293
I’ve also put in a request to the host to update ImageMagick to the latest version.
Thanks so much for your help ??
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorHiya,
So this is the error message:
[12-Apr-2016 08:11:27 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 276
I then tried it with a different PDF, just to test:
[12-Apr-2016 08:17:01 UTC] PHP Fatal error: Call to undefined method Imagick::setImageAlphaChannel() in /home/bathandnortheast/public_html/assets/plugins/pdf-image-generator/pdf-image-generator.php on line 276However, ImageMagick is definitely installed on the server:
Hosted on ImgurCould it be because our wp-content directory has been renamed ‘assets’ for security?
Many thanks again for your assistance!
Forum: Plugins
In reply to: [PDF Image Generator] HTTP errorHello,
Firstly, many thanks for your help so far.
Tried to upload a 5kb PDF and still getting the error, even after applying those fixes. The PHP config is:
memory_limit = 256M upload_max_filesize = 32M post_max_size = 32M
For reference, this is the error we’re getting:
Hosted on ImgurThis is the size of the PDF file we’re trying to update:
Hosted on ImgurAnd if you close the media browser and then re-open it, the file is there, albeit without a thumbnail:
Hosted in ImgurCould this be a permissions issue on the host?
Thanks in advance!