| 1 |
lars |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>html2ps/html2pdf error message</title>
|
|
|
4 |
<style>
|
|
|
5 |
body {
|
|
|
6 |
color:#000;
|
|
|
7 |
background-color:#fff;
|
|
|
8 |
margin:10px;
|
|
|
9 |
font-family:arial, helvetica, sans-serif;
|
|
|
10 |
color:#000;
|
|
|
11 |
font-size:12px;
|
|
|
12 |
line-height:18px;
|
|
|
13 |
}
|
|
|
14 |
p,td {
|
|
|
15 |
color:#000;
|
|
|
16 |
font-size:12px;
|
|
|
17 |
line-height:18px;
|
|
|
18 |
margin-top:3px;
|
|
|
19 |
vertical-align: top;
|
|
|
20 |
}
|
|
|
21 |
h1 {
|
|
|
22 |
font-family:arial, helvetica, sans-serif;
|
|
|
23 |
color:#669;
|
|
|
24 |
font-size:27px;
|
|
|
25 |
letter-spacing:-1px;
|
|
|
26 |
margin-top:12px;
|
|
|
27 |
margin-bottom:12px;
|
|
|
28 |
}
|
|
|
29 |
tr.odd {
|
|
|
30 |
background-color: #f0f0f0;
|
|
|
31 |
}
|
|
|
32 |
tr.even {
|
|
|
33 |
background-color: #ffffff;
|
|
|
34 |
}
|
|
|
35 |
td {
|
|
|
36 |
padding: 3px;
|
|
|
37 |
}
|
|
|
38 |
</style>
|
|
|
39 |
</head>
|
|
|
40 |
<body>
|
|
|
41 |
<h1>Error during 'exec'</h1>
|
|
|
42 |
<p>
|
|
|
43 |
Error executing the following command:<br/>
|
|
|
44 |
<code><?php echo $_cmd; ?></code>.
|
|
|
45 |
<p>
|
|
|
46 |
<table>
|
|
|
47 |
<tr class="odd">
|
|
|
48 |
<th width="20%">Problem</th><th>Solution</th>
|
|
|
49 |
</tr>
|
|
|
50 |
<tr class="even">
|
|
|
51 |
<td>'exec' function is disabled (please note that it have nothing to do with the PHP <i>safe mode</i>;
|
|
|
52 |
particular functions can be disabled even when <i>safe mode</i> is OFF).</td>
|
|
|
53 |
<td>Enable 'exec' function in your php.ini (refer your PHP manual or <a href="http://www.php.net">www.php.net</a> for exact instructions)</td>
|
|
|
54 |
</tr>
|
|
|
55 |
<tr class="odd">
|
|
|
56 |
<td>Executable is missing on your server.</td>
|
|
|
57 |
<td>Check and update paths to executable files in script configuration</td>
|
|
|
58 |
</tr>
|
|
|
59 |
<tr class="even">
|
|
|
60 |
<td>Script cannot find path to your executable in system PATH variable.</td>
|
|
|
61 |
<td>Check PATH variable. Please take into account that PHP may run under different user account than yours, so it may have its own PATH value.
|
|
|
62 |
Do not forget to restart Apache after you've made changes to system variables.</td>
|
|
|
63 |
</tr>
|
|
|
64 |
<tr class="odd">
|
|
|
65 |
<td rowspan="2">safe_mode is On and executable is not in your safe_mode_exec_dir.</td>
|
|
|
66 |
<td>Disable safe_mode OR update safe_mode_exec_dir value OR move the executable (and, most probably, its dependent files) to safe_mode_exec_dir.</td>
|
|
|
67 |
</tr>
|
|
|
68 |
</table>
|
|
|
69 |
</body>
|
|
|
70 |
</html>
|