SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard Zaggs's Avatar
    Join Date
    Feb 2005
    Posts
    1,051
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem when trying to convert PDF to image

    Hi Guys!

    Im trying to use Imagick to convert a PDF file to an image but i'm getting errors. I know that Imagick is installed on the server because I use it for other stuff.

    Any ideas what could be wrong?

    PHP Code:
    [Mon Sep 17 16:22:09 2012] [error] [client 176.35.1.167malformed header from scriptBad header=-dnamemust be followed by a addclient.phprefererhttp://user.mydomain.co.uk/addclient.php
    [Mon Sep 17 16:22:09 2012] [error] [client 176.35.1.167PHP Fatal error:  Uncaught exception 'ImagickException' with message 'Postscript delegate failed `/tmp/magick-XXzvu5QN'' in /home/user/public_html/classes/admin.class.php:171, referer: http://user.mydomain.co.uk/addclient.php
    [Mon Sep 17 16:22:09 2012] [error] [client 176.35.1.167] Stack trace:, referer: http://user.mydomain.co.uk/addclient.php
    [Mon Sep 17 16:22:09 2012] [error] [client 176.35.1.167] #0 /home/user/public_html/classes/admin.class.php(171): Imagick->readimage('
    /home/user/pu...'), referer: http://user.mydomain.co.uk/addclient.php
    [Mon Sep 17 16:22:09 2012] [error] [client 176.35.1.167] #1 /home/user/public_html/addclient.php(15): Admin->AddNewClient(), referer: http://user.mydomain.co.uk/addclient.php
    [Mon Sep 17 16:22:09 2012] [error] [client 176.35.1.167] #2 {main}, referer: http://user.mydomain.co.uk/addclient.php
    [Mon Sep 17 16:22:09 2012] [error] [client 176.35.1.167]   thrown in /home/user/public_html/classes/admin.class.php on line 171, referer: http://user.mydomain.co.uk/addclient.php 

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,143
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    First two results from a google search point to Imagick not being able to find GhostScript fonts.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •