Thanks, Allan ... that was the reason, I should&#39;ve see it earlier, but I kept thinking that is something related to the environment where the command is executed by the web interface and there are some lib or something else missing.<br>

<br>Cheers,<br>Cristian. <br><br><div class="gmail_quote">2011/4/7 m. allan noah <span dir="ltr">&lt;<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I&#39;ve never worked with phpSANE, but I can take a guess. PHP scripts<br>
run as the apache user, and the apache user does not have permissions<br>
to talk to the device files. Run scanimage -L as the user apache runs<br>
as, and see if that&#39;s true. If so, look to make some udev or hal rule<br>
changes.<br>
<br>
allan<br>
<div><div></div><div class="h5"><br>
On Thu, Apr 7, 2011 at 11:01 AM, Cristi Lacatus &lt;<a href="mailto:alaskanseaman@gmail.com">alaskanseaman@gmail.com</a>&gt; wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt; I know this is the dist list for the SANE project, but maybe there is<br>
&gt; someone out there that uses phpSANE and can help me out. I am trying to use<br>
&gt; this on my QNAP NAS, linux flavour with apache 2 and php 5 support, but I<br>
&gt; keep getting this error message and the resolution field is highlighted in<br>
&gt; red.<br>
&gt; From what I can tell the problem is when the command is being executed, for<br>
&gt; example when the command &quot;scanimage --help&quot; it&#39;s executed in the CLI,<br>
&gt; usually it outputs the help text but it also gives detailed information<br>
&gt; about the scanners that are connected to the system at that time. When it<br>
&gt; gets executed by the web interface, it only outputs the help text, nothing<br>
&gt; else.<br>
&gt; I also tried with a different command, &quot;scanimage -L&quot; when executed in the<br>
&gt; CLI it outputs &quot;device `pixma:04A91746_01760E&#39; is a CANON Canon PIXMA MP280<br>
&gt; multi-function peripheral&quot;, when executed through phpSANE, it only outputs<br>
&gt; &quot;device `pixma:04A91746&#39; is a CANON Canon PIXMA MP280 multi-function<br>
&gt; peripheral&quot;. I&#39;m exporting the necessary paths, but that doesn&#39;t help<br>
&gt; either.<br>
&gt;<br>
&gt; Any help will be greatly appreciated?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Cristian.<br>
&gt;<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
&gt; <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
&gt; Unsubscribe: Send mail with subject &quot;unsubscribe your_password&quot;<br>
&gt;             to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
&quot;The truth is an offense, but not a sin&quot;<br>
</font></blockquote></div><br>