![]() |
#1 |
Junior Member
Join Date: Feb 2011
Posts: 1
![]() |
![]()
Hello,
I am trying to pipe a user email address to a WHMCS script but when I try to configure the pipe as "send to script" ISP keeps telling me: Error: Script does not exist I have verified the file exists. Here is the value I am entering into the "Script" field: Code:
/usr/bin/php -q /var/www/logart/data/www/mydomain.com/www/cms/pipe/pipe.php |
![]() |
![]() |
![]() |
#2 |
ISPsystem team
Join Date: May 2008
Location: ISPsystem
Posts: 588
![]() |
![]()
This field should be one file name to which the message sent through the pipe, and not the command with a list of variables
You need use this command as one file such as .sh files or other executable scripts at first line of PHP-scrtipt #!/usr/bin/php -q and chmod +x pipe.php for run this |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Feb 2011
Posts: 5
![]() |
![]()
Hello all!
My first post here: and let me tell, until now I really love ispmanager ![]() I have the same issue, to create a pipe for hostbill: My code is: Code:
| php -q /var/www/myuser/data/www/mydomain.net/clientes/admin/pipe.php ps: error in attach Thanks |
![]() |
![]() |
![]() |
#4 |
ISPsystem team
Join Date: Oct 2009
Posts: 118
![]() |
![]()
You should create a script like follows:
#!/bin/sh php -q /var/www/myuser/data/www/mydomain.net/clientes/admin/pipe.php Put it inside user's home directory. Let it's name be script.sh. Finally enter "script.sh" in Script field at the window. |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Feb 2011
Posts: 5
![]() |
![]()
Hi,
sorry for late reply. I have create the script, with name "script.sh" or I need and some extension? And in home user directory what to you mean? I but in /var/www/myuser/ and not work. put in /var/www/myuser/data/ not work. Whats is the folder I need put the script? Thanks |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Feb 2011
Posts: 5
![]() |
![]()
Its seems this not what work
![]() I have try with, script.sh and script.sh.php (for name and extension) On attach as the two script. I have but the file(s) in /var/www/myusername/data Please, see if some is wrong Last edited by kanum; 02-18-2011 at 02:53 PM. |
![]() |
![]() |
![]() |
Tags |
email, forward, pipe, script |
Thread Tools | |
|
|