Thanks, Allan ... that was the reason, I should'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"><<a href="mailto:kitno455@gmail.com">kitno455@gmail.com</a>></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'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'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 <<a href="mailto:alaskanseaman@gmail.com">alaskanseaman@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I know this is the dist list for the SANE project, but maybe there is<br>
> someone out there that uses phpSANE and can help me out. I am trying to use<br>
> this on my QNAP NAS, linux flavour with apache 2 and php 5 support, but I<br>
> keep getting this error message and the resolution field is highlighted in<br>
> red.<br>
> From what I can tell the problem is when the command is being executed, for<br>
> example when the command "scanimage --help" it's executed in the CLI,<br>
> usually it outputs the help text but it also gives detailed information<br>
> about the scanners that are connected to the system at that time. When it<br>
> gets executed by the web interface, it only outputs the help text, nothing<br>
> else.<br>
> I also tried with a different command, "scanimage -L" when executed in the<br>
> CLI it outputs "device `pixma:04A91746_01760E' is a CANON Canon PIXMA MP280<br>
> multi-function peripheral", when executed through phpSANE, it only outputs<br>
> "device `pixma:04A91746' is a CANON Canon PIXMA MP280 multi-function<br>
> peripheral". I'm exporting the necessary paths, but that doesn't help<br>
> either.<br>
><br>
> Any help will be greatly appreciated?<br>
><br>
> Thanks,<br>
> Cristian.<br>
><br>
><br>
</div></div>> --<br>
> sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/sane-devel</a><br>
> Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
> to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
"The truth is an offense, but not a sin"<br>
</font></blockquote></div><br>