Error In Argument 1 Char 3 Option Not Found
In Register Categories Recent Discussions In this Discussion aToolCrib April 2011 osTicket v1.9.12 (stable), osTicket v1.10-RC.2 (Release Candidate) now available! Go get it now Piping error: Error in argument 1 aToolCrib April 2011 in Troubleshooting and Problems I've jsut installed osTicket, and am having issues getting piping to work. Running on cPanel 11 apache server.- I've set up forwarding as |/home/myroot/public_html/support/api/pipe.php- I've set the persmisisons on pipe.php to 764- I've confirmed the hashbang to be #!/usr/bin/php -qI get the Mail delivery failed: returning message to senderany ideas?part way through the message is this:------ pipe to |/home/myroot/public_html/support/api/pipe.php generated by [email]support@mydomain.com[/email] ------Error in argument 1, char 3: option not foundUsage: php [-q] [-h] [-s] [-v] [-i] [-f ] php [args...] -a Run interactively -C Do not chdir to the script's directory -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse . Implies `-q' -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -v Version number -w Display source with stripped comments and whitespace. -z Load Zend extension . Comments aToolCrib April 2011 Original error fixed...... but still getting an error.The original issue was due to the Hashbang pointing to an incorrect path. Now that that's fixed, here's the current failure message:-------------------------This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/home/toolcrib/public_html/support/api/pipe.php generated by [email]support@atoolcrib.com[/email] local delivery failed ------ This is a copy of the mess
Helpdesk for my helpdesk software Post Reply Print view Search Advanced search 14 posts • Page 1 of 1 johndetlefs Posts: 4 Joined: Sat Jan 07, 2012 1:22 pm Email Piping issue. Quote Postby johndetlefs » Sat Jan 07, 2012 1:30 pm Script URL: http://beachkettlebellworkouts.comVersion of script: 2.3Hosting company: HostgatorURL of phpinfo.php: URL of session_test.php: What terms did you try when SEARCHING for a solution: Write your message below:Has anybody had issues when trying to set up email piping to an addon domain?So when I set up the email piping the path http://osticket.com/forum/discussion/5609/piping-error-error-in-argument-1 looks like /public_html/beachkettlebellworkouts.com/hesk etcDoes the .com in the path stuff things up?I'm getting a local delivery failed return of email every time, and i've tried just about everything I can think of to fix it.The only other thing that I can think of is the path to php in line 1.is #!/usr/bin/php -q correct for Hostgator shared hosting accounts? I gave them a http://developers.phpjunkyard.com/viewtopic.php?t=3877 call and was told to use plain /usr/bin/php but that didn't change anything.If anyone has any ideas they'd be much appreciated!Cheers, and thanks in advance,John Detlefs Top Sponsor Top Klemen Site Admin Posts: 7652 Joined: Fri Feb 11, 2005 4:04 pm Contact: Contact Klemen Website Re: Email Piping issue. Quote Postby Klemen » Mon Jan 09, 2012 4:54 pm The dot shouldn't be the problem if it's in your server path.Check the returned email you get - what exactly does it say? Does it say just "local delivery failed" or is there an additional explanation (details) about the issue? Can you post a sample returned mail you get here (change email addresses of course)? Klemen, PHPJunkyard author Was this response helpful? Find my scripts useful? Why not buy me a drink here. You should follow me on twitter here.These are free php scripts from PHPJunkyard:Help Desk Software (and a Hosted Help Desk option) | Guestbook | Link manager | Click counter | Graphical hit counter | Text hit counter | Random Image | Random TextOther useful info: php hosting | php books | php resources | web
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles only Posted by Member: Separate names with a comma. Newer Than: https://forums.cpanel.net/threads/php-email-piping-not-working-with-cpanel-11.66064/ Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with an entire community of cPanel & WHM users! cPanel Forums > cPanel & WHM® (for Linux® Servers) > E-mail Discussions > This site error in uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. PHP Email Piping not working with cPanel 11 Discussion in 'E-mail Discussions' started by celliott, May 9, 2007. celliott Well-Known Member Joined: Jan 2, 2006 Messages: 460 Likes Received: 0 Trophy Points: 16 Location: United Kingdom Hi, We use email piping for WHMCS on our server error in argument by setting up a forwarder on our support address to: php -q /home/usernme/public_html/clients/pipe/pipe.php Since updating to cPanel 11 the piped emails are all blank, no body information, no subject or from address. We are running CentOS 4.4 with the latest CURRENT build. Any suggestions? #1 celliott, May 9, 2007 pcsmart24 Member Joined: Feb 15, 2006 Messages: 12 Likes Received: 0 Trophy Points: 1 We also have this problem, any help would be appriciated! #2 pcsmart24, May 9, 2007 AlexV. Well-Known Member Joined: Jun 15, 2006 Messages: 212 Likes Received: 1 Trophy Points: 16 Sorry to hear you are having issues with such feature. If you could please open a support ticket, we will look into it accordingly and discuss it with the QA and Developers as needed. Alex Villegas #3 AlexV., May 9, 2007 pcsmart24 Member Joined: Feb 15, 2006 Messages: 12 Likes Received: 0 Trophy Points: 1 Done Thanks Alex #4 pcsmart24, May 9, 2007 AlexV. Well-Known Member Joined: Jun 15, 2006 Messages: 212 Likes Received: 1 Trophy Points: 16 pcsmart24: We received your ticket and we are currently investigating as well as the corre