Cpanel 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 message, including all the headers. ------ aToolCrib April 2011 Fixed.OK - here's the solution.The forwarding command in cPanel needs to be:/usr/bin/php -q /home/myroot/public_html/support/api/pipe.phpand th
were blocked are:Questionable hosthame, access denied (HN-0156).
Your IP, Domain Name http://osticket.com/forum/discussion/5609/piping-error-error-in-argument-1 (if resolvable), the referring page (if any), QUERY, POST, User Agent, time of access, and date have been logged and flagged for admin review. Please either 1. http://developers.phpjunkyard.com/viewtopic.php?t=3877 Stop the bad behavior, or 2. Cease accessing this system.Your connection details: Record #: 232509 Time: Sun, 02 Oct 2016 18:46:38 +0000 Running: 0.4.10a3 / MS-77g / D30-2014-11a / BADHOST-2015-02a / BADIP-2015-02a / COOK-2015-02a Host: hosted-by-i3d.net IP: 31.204.154.30 Post: Query: t=3877 Stripped Query: t=3877 Referer: User Agent: Mozilla/5.0 (Windows; Windows NT 5.0) Gecko/20101221 Firefox/3.8.0 (.NET CLR 2.5.30) Reconstructed URL: http:// developers.phpjunkyard.com /viewtopic.php?t=3877 Generated by ZB Block 0.4.10a3 / MS-77g / D30-2014-11a / BADHOST-2015-02a / BADIP-2015-02a / COOK-2015-02aThat Might Keep you from Going Gray Donate $1 now to see this question answered quickly Sponsored questions offer a monetary incentive to answerers to produce quality responses. Be intelligently matched with 5 likely answerers who will be alerted to help. 2Contributors 2Replies 4Views 5 YearsDiscussion Span 5 Years Ago Last Post by meleo 1 5 Years Ago After spending abut 8 hours frustrated (and growing very grumpy) :) I found a solution and wanted to share. On my site, I use cPanel. I found a couple of posts that saved me some serious headaches so I decided to share them here to hopefully help someone else. I had a very, very basic script for email piping which at the moment really only sends an email...no parsing yet, but I kept getting delivery failure notifications.... Then I came across this post on the cpanel forum: ...I feel that my contribution is of great value since this is still a very common issue. ... The correct steps are: -make sure that the hashbang is actually in the top of your script and IS NOT behind your -Make sure that you save the file in UNIX format so YES there is a difference in how files are saved, programs like notepad will add a "windows newline" character which will appear as "^M" in linux. The script will then simply crash and not do anything + bounceback. To remove windows-enters please save your files with editplus or notepad++ (and be sure to set the file format to UNIX). This The script will then simply crash and not do anything + bounceback. was exactly what was happening to me. So I did two things, I opened up Notepad++ and copied the script there, saving it and I uploaded in Ascii format with WS_FTP Pro....began getting the bounce but ALSO the script response....onto somethin