php - ImageMagick has issues with some PDFs -


I have a problem with some PDFs when I convert them to 'jpg'; It happens only with some of them when I execute the code with exec () . I am using PHP, but when I execute the same code directly on the server it works great.

This is an error that throws me:

[0] => Error: In / invalidaccess -. Execform1 -

[1] => Operax Stack:

[2] => --dict: 8/17 (L) - - 1 10 4 15 6 18 C2_2 10 - Look: 6/6 (L) - - Appear: 6/6 (L) - Frutger LTS & Roman - Didt: 11/12 (RO) (G) - - - Nostrinvival - CIDFont Object - Dec: 7/7 (L) - - Duct: 7/7 (L) - 725745 - Dect: 7/7 (L) - - Nostrinval - PDFFFNN.com FrutigerLTStd-Roman

[3] => Execution Stack:

[4] =>% interp_exit .runexec2 --nostringval-- -nostringval-- -nostringval-- 2% stop_push --nostringval-- -nostringval-- -nostringval-- false 1% paused - push 1846 1 3% oparray_pop 1845 1 3% oparray_pop 1829 1 3% oparray_pop --nostringval-- -nostringval- - 2 1 1 - -nostringval -% for_pos_int_continue --nostringval-- -nostringval- - nostrimal-- -nostringval -% array_continue --nostringval-- false 1% paused - push --nostringval -% loop_continue - -nostringval-- 9656 - nostringval - 1794 4 11% oparray_pop --nostringval-- wrong 1% paused_ps 1793 4 11% oparray_pop --nostringval-- (gstatetype) --dict: 0/0 (L) - - Nostraggl - False 1% paused - push --nostringval -% loop_continue --nostringval-- 726421 - nottingval - 1794 6 16% oparray_pop --nostringval-- false 1% paused _pash 1793 6 16% oparray_pop --nostringval-- ( Gstatetype) --dict: 4/4 (l) - - nostringwal-- false 1% paused - pipe - nostrante -% loop_continue - nostrige - 725 9 47 - Nostringung - 1794 8 1 9% oparray_pop --nostringval-- wrong 1% paused _pash 1793 8 1 9% oparray_pop --nostringval-- (gstatetype) - -Representation: 1/1 (L) - - Nostringal - false 1% paused _pash - nostrilwal -% loop_continue - nostri ngval ---- nostringval-- -nostringval---- nostringval-- -nostringval---- nostringval -% array_continue --nostringval --- -nostringval-- -nostringval----- nostringval-- --nostringval -

[5] => dictionary stack:

[6] => --dict: 1154 / 1684 (RO) (G) - - Item: 1/20 (G) - - View: 75/200 (L) - - View: 75/200 (L) - - View: 106/127 (RO) (Yes ) - - Dict: 286/300 (ro) (g) - - View: 22/25 (L) - - View: 4/6 (L) - - View: 22/40 (L) - - - View: 1 / 1 (r ) (G) - -Div: 2/5 (L) - -Dakh: 1/1 (RO) (G) - -Direct: 1/1 (RO) (G) - -Dis: 1/1 (RO) (G) - -Discover: 1/1 (RO) (G) - -Direct: 2/5 (L) - - Dict: 1/1 (RO) (G) - -Direct: 1/1 (RO) ( G) - - View: 2/5 (L) - - View: 1/1 (RO) (G) - -Direct: 9/15 (L) - -Direct: 1/1 (RO) (G) - - Show: 1/1 (RO) (G) -

[7] => The current allocation mode is local

Is anyone dealing with this problem?

Errors are from Ghostscript, which version of GS is installed?

Note that illegal permissions may be due to file permissions, trying to execute CIDFonts from your stack, so it may be that there is a permission problem with the font directory. Its only a theory but the fact is that it only fails when you are running under PHP. You probably need to see the permissions of the environment and PHP 'user'


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -