ScrltOTara Posted February 24, 2008 Share Posted February 24, 2008 My piping to the support desk was working fine until I upgraded to the latest version. Anyone else have this problem? Email doesnt' bounce, but never opens a ticket. I know it was working before the upgrade. 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted February 24, 2008 Share Posted February 24, 2008 Try checking the permissions on the pipe.php file - same happened to me when I forgot to ensure the file was executable after upgrading. 0 Quote Link to comment Share on other sites More sharing options...
ScrltOTara Posted February 26, 2008 Author Share Posted February 26, 2008 I guess I had reentered the pipe command in cpanel, and since I'm using the x3 theme, it didn't work. I had to switch themes in my cpanel to get it to "take". Seems to be working now 0 Quote Link to comment Share on other sites More sharing options...
brianoz Posted February 29, 2008 Share Posted February 29, 2008 As far as I know, the theme should be irrelevant? 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted February 29, 2008 Share Posted February 29, 2008 The cPanel x3 theme complicated the mail forwarding options. Piping to a script is now a separate option, and it'll reject |/path/to/script.php if you specify that as the 'address' to pipe to. It's also easy to miss the little home icon infront of the 'pipe to script' option indicating that it wants a path relative to your home directory - I always enter the full path before noticing it, again making it reject your input. 0 Quote Link to comment Share on other sites More sharing options...
Tech Entrance Posted March 7, 2008 Share Posted March 7, 2008 The cPanel x3 theme complicated the mail forwarding options. Piping to a script is now a separate option, and it'll reject |/path/to/script.php if you specify that as the 'address' to pipe to. It's also easy to miss the little home icon infront of the 'pipe to script' option indicating that it wants a path relative to your home directory - I always enter the full path before noticing it, again making it reject your input. Can I ask you how do you set it up ? I have mine like this sales@scripteen.com to |/home/user/public_html/clients/pipe/pipe.php But in WHMCS support departments config it says | php -q /home/user/public_html/clients/pipe/pipe.php I can't get the | php -q to be put before the home because cpanel 11 did put the home prefix itself. I can't get piping to work this way ! 0 Quote Link to comment Share on other sites More sharing options...
Nick Posted March 8, 2008 Share Posted March 8, 2008 Doesn't matter too much about the 'php -q' bit - if the pipe file has a shebang at the top of it (which it does by default) and you make sure it's executable then |/path/to/pipe.php should work. 0 Quote Link to comment Share on other sites More sharing options...
Tech Entrance Posted March 8, 2008 Share Posted March 8, 2008 Doesn't matter too much about the 'php -q' bit - if the pipe file has a shebang at the top of it (which it does by default) and you make sure it's executable then |/path/to/pipe.php should work. I forgot to update the thread. I switched back cpanel theme to x2 and added the email forward and switched back to x3 and everything works fine thanks to Joe who helped me through a support ticket. 0 Quote Link to comment Share on other sites More sharing options...
PPH Posted March 8, 2008 Share Posted March 8, 2008 If you are using Mail Manage with Mail Scanner, it is easy to add the entry straight in to the forwards 0 Quote Link to comment Share on other sites More sharing options...
dr2web Posted March 11, 2008 Share Posted March 11, 2008 I am really confused by the piping. Can someone explain to me the best way to do it? What are the advantages to the mail forward? Do I setup a mail forward like in the email section, or is that supposed to be a cron. Right now I have it setup in the cron with the second option that it shows on the support ticket page. It does not work. I am really new to this so step-by-step would be appreciated. Thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted March 11, 2008 WHMCS Developer Share Posted March 11, 2008 I am really confused by the piping. Can someone explain to me the best way to do it? What are the advantages to the mail forward? Do I setup a mail forward like in the email section, or is that supposed to be a cron. Right now I have it setup in the cron with the second option that it shows on the support ticket page. It does not work. I am really new to this so step-by-step would be appreciated. Thanks in advance Hi Mike, Are you using cPanel or DA? That is the only way to use piping. the manual has some information on piping that should be helpful to you 0 Quote Link to comment Share on other sites More sharing options...
dr2web Posted March 11, 2008 Share Posted March 11, 2008 I am using Cpanel... I have looked through the manual, seems to need some clearer wording on some issues. I will look again. 0 Quote Link to comment Share on other sites More sharing options...
dr2web Posted March 11, 2008 Share Posted March 11, 2008 ok I found the article in the manual... Thanks. I was putting commands in to the cron. Seems that the forwarder piping should work better. I will give that a go. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Developer WHMCS Andrew Posted March 11, 2008 WHMCS Developer Share Posted March 11, 2008 Hi, If using x2 theme, you put the command listed in your support department's config page the whole php -q | etc etc If using x3, when you click "create a forwarder" there is a radio box for pipe to a program. All you need to put in here is the path from public_html/ EG Old (x2): php -q | /home/account/public_html/whmcs/pipe/pipe.php New (x3) public_html/whmcs/pipe/pipe.php 0 Quote Link to comment Share on other sites More sharing options...
dr2web Posted March 11, 2008 Share Posted March 11, 2008 I put the entire line including the |php -q into x3. I noticed that when I saved the forward that it removed the unnecessary parts. Everything is working great now. Thanks all for your help. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.