Open metalgearxd opened 8 years ago
what does ls -l /opt/lampp/htdocs/escaner/
show
in the release notes it mentions giving www-data
certain permissions, however your install seems to use the name daemon
instead
daemon also needs to be in your scanner group or what ever it takes to give daemon access (permission) to your scanner
without knowing what linux release you are using it is not easy to know your exist issue
I use ubuntu 14.03
I did not understand what permits
Can you tell me that I should use permits or commands used to have no problems?
I appreciate your help
how did you install your web server? based on the install directly and user name you did not use the 14.04 repos like the easy installer would have aside from the scanner server you are trying to setup is there any other server functions this computer is doing, if not you can un-install lampp and use the easy installer
but since you are using ubuntu these commands should in theory make it work
sudo adduser daemon lp
sudo mkdir /opt/lampp/htdocs/escaner/scans
sudo mkdir -p /opt/lampp/htdocs/escaner/config/parallel
sudo chown daemon /opt/lampp/htdocs/escaner/scans
sudo chown -R daemon /opt/lampp/htdocs/escaner/config
i say in theory cause i have never installed the base server service the way you did
Hello, you install it on a local server with xampp in ubuntu and cloud (web)
Now when this cloud me another error:
Input data is invalid and most likely an attempt to run malicious code on the server denied
Unable to find any installed language files or documentation. You can edit lines 145 and or 146 of /home/mdcbcgzz/public_html/index.php with the correct location for your system.
This is the site that hosts:
So I have stayed in my xampp
Do you have skype to contact you?
i don't have a skype account
that language error is cause of a missing dependency
https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/blob/master/README#L17-L110
id guess your base server process it missing parts i cent even get it to download itself
i suggest removing xampp/cloud and removing the scanner server and just use the easy install script i linked above
your hp scanner is not even using hplip that is probably the main reason you are having issues
run sudo apt-get install hplip
are you using a minimal ubuntu server install?
Excuse my ignorance friend, you do not speak English and I use google traductr, I am also new to ubuntu.
And download the file for ubuntu install.zip now
How do I install it?
i do speak English and only English
i assume "you do not speak English" was meant to be 'I do not speak English'
extract the install file
then
sudo sh /path/to/install.sh
I put it in some location?
I get this:
sh: 0: Can not open /path/to/install.sh :-(
the command lost in translation
my mistake it is bash
not sh
i am uploading a youtube video for you
edit: https://www.youtube.com/watch?v=EO2SPtJeYPs
OK, I hope your video, ahra I see this in private
Thank you
try it now
if the installer script gave you problems, i just updated/tested them they no longer fail to install the necessary files and try to install anyway automatically and make a mess of things
I get this:
luisangel@luisangel-MS-1454:~$ sudo bash Descargas/install Usage: install /path/to/PHP-Scanner-Server-*.tar.lzma Accepts: .tar.lzma .tar.bz2 .tar.gz and .zip
you are using the install where in the video i used the install from git the install from git downloads the server from the Internet the other installer requires you tell it the full path to the downloaded server archive instead of telling you to download it i'm gonna give you 3 commands to make sure nothing it lost in translation
cd ~/
wget 'https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/archive/master.zip'
sudo bash Descargas/install /home/luisangel/master.zip
edit:there may be a issue with doing that I'll run a quick test
Thank you, I did, but I get this:
Unable to find tesseract-ocr, check your software sources, Ubuntu users make sure Universe in enabled
non fatal error, watch the video i made above and check that box like i did in the 1st 10 seconds
then run sudo apt-get install tesseract-ocr php-fpdf
there is a bug in the install process i just said, to fix it run these commands, the second will give you 2 errors, ignore them
sudo mv /home/www-data/php-scanner/PHP-Scanner-Server-master/* /home/www-data/php-scanner/
sudo mv /home/www-data/php-scanner/PHP-Scanner-Server-master/.* /home/www-data/php-scanner/
sudo rmdir /home/www-data/php-scanner/PHP-Scanner-Server-master
sudo mkdir /home/www-data/php-scanner/scans
sudo chown www-data /home/www-data/php-scanner
edit: the installer will no longer have that error
you need to remove your install of xampp
ok I understand but, if so, then why as your system works without apache xampp server?
it uses apache2 from the repos, if you look up 'apache2' in the 'Software Center' that is the proepr way to install it, not by going to the xampp website and installing it as you would if you were using MS Windows
Having xampp installed and apache2 from the repository will create a conflict as they both use the same port number, they both do the same thing, but xampp takes more effort to setup
One reason it seems your xampp install if having issues is you have the shell_exec
function disabled
if you look up how to enable that your xampp install may actually work
Thanks for your help
I give up and not know what else to do, I have always said that ubuntu is better than window but does not seem true, I presented many problems
Anyway thanks for your help, you are very kind, it is a great system that you have, it hurts only works for linux.
Cheers
If you had just started with the easy installer instead of trying to do it the hard/manual way... i cant even get xampp to install here to try to get it working, the installer just appears to crash i would expect if you were to delete lamp from your /opt directory that would remove it
this should remove everything and allow you to start over
sudo rm -rf /top/lampp
sudo rm -rf /home/www-data
sudo apt-get purge apache2
sudo rm -rf /home/mdcbcgzz/public_html/
sudo reboot
i made another video covering the installer you downloaded https://www.youtube.com/watch?v=EzJxny3EM-w
Hello, your system is well healed
I wonder if you can help me recognize the scanner as scan tells me to try the following:
This is can be cauesed by one or more of the following:
Please read the release notes for more information.
The scanner function and have put the number of the scanner uri but tells me the same
Any idea that can happen?