ID:               27051
 Updated by:       paj...@php.net
 Reported By:      ghoffer at globalscape dot com
-Status:           No Feedback
+Status:           Assigned
 Bug Type:         Feature/Change Request
 Operating System: Windows
 PHP Version:      5.3
 Assigned To:      pajoye
 New Comment:

Stupid auto no feedback.


Previous Comments:
------------------------------------------------------------------------

[2009-09-16 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-09-08 17:58:55] paj...@php.net

Just a quick note about the user profile, it is not set (by design) so
I won't try to access the profile data.

More on the impersonated problem later.

------------------------------------------------------------------------

[2009-09-07 22:42:29] benadler at gmx dot net

I checked using Process Monitor - convert.exe is NOT started by the
correct user:

User: NT AUTHORITY\NETWORK SERVICE
Auth ID: 00000000:000003e4

------------------------------------------------------------------------

[2009-09-07 11:34:10] paj...@php.net

I'm not sure the users environment is set, that's a different thing.

But is it the correct user?

------------------------------------------------------------------------

[2009-09-07 11:17:13] benadler at gmx dot net

Hope I'm not too verbose. Maybe it helps to see that calling this

exec("d:/programme/imagemagick/convert.exe -density $density
$baseDirectory/$bookId/document.pdf -quality 95
$baseDirectory/$bookId/$version/page_%04d.jpg", $output);
print_r($output);

in a script run by the webserver (as above) causes this:

Array
(
    [0] => Error: /invalidfileaccess in --showpage--
    [1] => Operand stack:
    [2] =>    --nostringval--   1   true
    [3] => Execution stack:
    [4] =>    %interp_exit   .runexec2   --nostringval--  
--nostringval--   --nostringval--   2   %stopped_push   --nostringval-- 
 --nostringval--   --nostringval--   false   1   %stopped_push   1905  
1   3   %oparray_pop   1904   1   3   %oparray_pop   1888   1   3  
%oparray_pop   --nostringval--   --nostringval--   2   1   4  
--nostringval--   %for_pos_int_continue   --nostringval--  
--nostringval--   1777   1   9   %oparray_pop   --nostringval--  
--nostringval--
    [5] => Dictionary stack:
    [6] =>    --dict:1155/1684(ro)(G)--   --dict:1/20(G)--  
--dict:75/200(L)--   --dict:75/200(L)--   --dict:106/127(ro)(G)--  
--dict:275/300(ro)(G)--   --dict:22/25(L)--   --dict:4/6(L)--  
--dict:22/40(L)--
    [7] => Current allocation mode is local
    [8] => Last OS error: Bad file descriptor
)

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27051

-- 
Edit this bug report at http://bugs.php.net/?id=27051&edit=1

Reply via email to