bosco07 Posted March 28, 2009 Share Posted March 28, 2009 I'm struggling to get the email piping function to work, but i didn't succeeded 'till now. I have created my support email adress, suport@mycompany.com, and in cPanel i have created a forwarder with the command " | php -q /home/user/public_html/clienti/pipe/pipe.php" wich i copied form WHMCS. I can open tickets as a user, and i can respond to tickets from my WHMCS admin panel with no problems, but the problems appear when the user tries to reply from within its email account not from the Client Area using the built in email form, the Message Delivery Failed email comes right after the reply was sent, even if the reply is actually sent to the system cause it appears in the WHMCS ticket system, so even with the error the reply still arrives. Also if I access my suport email account separately from my email client i dont see any ticket email, and i really want to have the possibility to reply the tickets form other computers or my phone when i'm not logged in the WHMCS panel. I tried all instructions form the Wiki page, but i stii get that Mail Delivery Error message. Here it is The following text was generated during the delivery attempt: ------ pipe to |/home/user/public_html/clienti/pipe/pipe.php generated by suport@mycompany.com ------ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0 How can i fix this ? 0 Quote Link to comment Share on other sites More sharing options...
bosco07 Posted March 31, 2009 Author Share Posted March 31, 2009 Guys i can't get this email piping think to work, I tried several command lines, switched my cPanel theme to X1, chmoded pipe.php with different codes, deleted the first line from pipe.php, i'm out of options, i'm really sick of it, I don't know how to get this thing working, i keep getting Local Delivery failed or different types of errors. I'm desperate, this is the only thing that is stalling me and my business. Please help !! 0 Quote Link to comment Share on other sites More sharing options...
mojowill Posted March 31, 2009 Share Posted March 31, 2009 try the POP import method thats what i use without any issues support tickets can be responded to via emails from either admins or clientsd and support area gets updated accordingly 0 Quote Link to comment Share on other sites More sharing options...
bosco07 Posted March 31, 2009 Author Share Posted March 31, 2009 try the POP import method thats what i use without any issues support tickets can be responded to via emails from either admins or clientsd and support area gets updated accordingly And how will i do that ? Where do i put the command line ? Create a Cron Job with it or ? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 2, 2009 Share Posted April 2, 2009 You need to make pipe.php and pop.php executable. chmod both files in the pipe directory to 744 if using suPHP else if your web server runs as the user "nobody" chmod to 755 That should fix your problem 0 Quote Link to comment Share on other sites More sharing options...
XN-Matt Posted April 2, 2009 Share Posted April 2, 2009 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0 Seems you have apc within your php.ini file but it dosnt actually exist on the server. what does the following give you from SSH?... ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so 0 Quote Link to comment Share on other sites More sharing options...
bosco07 Posted April 2, 2009 Author Share Posted April 2, 2009 I have chmoded both files to 744, my webserver is LiteSpeed, and the OS is CentOS. I have requested SSH access from my hosting company and then i will run the command suggested. I will return with a reply soon. How my pipe.php file should be ? What is your first line in that file guys ? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 2, 2009 Share Posted April 2, 2009 Now that I have re-read the error I think that XN-Matt is on the right track 0 Quote Link to comment Share on other sites More sharing options...
XN-Matt Posted April 2, 2009 Share Posted April 2, 2009 If you're missing that file as I think you are, that error will not stop appearing unless it is either removed from your php.ini (or the file is added). 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 2, 2009 Share Posted April 2, 2009 If you have a reseller account that problem should be fixed by your host. Have you opened a support ticket with them yet? 0 Quote Link to comment Share on other sites More sharing options...
bosco07 Posted April 2, 2009 Author Share Posted April 2, 2009 I did run that command in SSH and i get "No such file or directory" so that means that apc.so file is missing ? 0 Quote Link to comment Share on other sites More sharing options...
XN-Matt Posted April 2, 2009 Share Posted April 2, 2009 Correct. Try commenting out references from your php.ini that point to apc.. Should fix the problem. 0 Quote Link to comment Share on other sites More sharing options...
bosco07 Posted April 2, 2009 Author Share Posted April 2, 2009 Well i don't think i have access to php.ini, i can't find it. I will speak with my hosting support and see what are they saying about that file. 0 Quote Link to comment Share on other sites More sharing options...
XN-Matt Posted April 2, 2009 Share Posted April 2, 2009 Default for Litespeed on Centos is.. /opt/lsws/lsphp5/lib/php.ini 0 Quote Link to comment Share on other sites More sharing options...
bosco07 Posted April 2, 2009 Author Share Posted April 2, 2009 Default for Litespeed on Centos is.. /opt/lsws/lsphp5/lib/php.ini I don't have access to such folder form FTP, is there any way to access it by SSH somehow ? I have sent an email to my hosting company regarding the apc.so file problem, I'm waiting for a reply. 0 Quote Link to comment Share on other sites More sharing options...
XN-Matt Posted April 2, 2009 Share Posted April 2, 2009 It'll be a system file, so I doubt you will. You could try this from SSH. cat /opt/lsws/lsphp5/lib/php.ini | grep 'apc' 0 Quote Link to comment Share on other sites More sharing options...
bosco07 Posted April 2, 2009 Author Share Posted April 2, 2009 Its done, my hosting company solved it, i don't know what they did but the emails are working now, so i guess problem solved, at least for now. P.S : I don't want to open another topic just for that so i'm asking here : Is the Pre-Sales contact form using the same email adress as the WHMCS System Emails adress ? Is there a way to set another email adress for the Pre-Sales Form ? Like contact@company.com ? Because I have system@company.com for WHMCS System Emails wich is an fictional adress and i want contact@company.com for the Pre-Sales Contact Form. Is that possible ? Thank You for you support 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 2, 2009 Share Posted April 2, 2009 Is there a way to set another email adress for the Pre-Sales Form ? Up until V3.8.2 - No.... wait a little longer, you never know what may happen. 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.