HESK e-mail piping public BETA (test version)
Moderator: mkoch227
Windows 2003 server version
Hi,
I want to thank you all trying and testing this software. But i ask if i can use HESK on windows 2003 server edition.
Kindly tell me where to find articles to setup it in the test Environment.
I want to thank you all trying and testing this software. But i ask if i can use HESK on windows 2003 server edition.
Kindly tell me where to find articles to setup it in the test Environment.
Re: HESK e-mail piping public BETA (test version)
Please keep this thread focused on e-mail piping beta.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: HESK e-mail piping public BETA (test version)
Hi from germany,
i testet HESK and the email piping script and it works basically.
I had to fill in the absolute HESK PATH otherwise the script would not work. I found out that attachments are not yet supported in this BETA version of the script. A ticket is created and an attachment with the correct name is created, but when you click on it, it has a size of 0 bytes.
Keep up the good work. If HESK would be able to handle incoming mails it would be perfect.
Thanks
Matthias
i testet HESK and the email piping script and it works basically.
I had to fill in the absolute HESK PATH otherwise the script would not work. I found out that attachments are not yet supported in this BETA version of the script. A ticket is created and an attachment with the correct name is created, but when you click on it, it has a size of 0 bytes.
Keep up the good work. If HESK would be able to handle incoming mails it would be perfect.
Thanks
Matthias
-
- Posts: 26
- Joined: Sat Oct 31, 2009 2:14 pm
Re: HESK e-mail piping public BETA (test version)
Wow thanks for that feedback, yes attachments are definitely a must.
I'll be able to set this up and test it only after 15th December, due to current workloads. I have a shared server with my own cpanel, so hopefully will be able to give you great feedback. Keep up the good work.
I'll be able to set this up and test it only after 15th December, due to current workloads. I have a shared server with my own cpanel, so hopefully will be able to give you great feedback. Keep up the good work.
Caz Livingstone
General Manager
http://www.ugogo.info
Free Classified Ad Site
General Manager
http://www.ugogo.info
Free Classified Ad Site
Re: HESK e-mail piping public BETA (test version)
Hi Klemen, your suggestion was perfect. I forwarded your suggestion to my shared host and he fixed the error under 10 minutes. This was their response:
Thank you Klemen.
For those looking for an easy time deploying HESK I highly recommend Hawk Host. I have asked Hawk Host to recommend HESK as well, since your software and their servers now work so perfectly together!I've fixed the error thats interesting cgi version was only one with an issue. There was no problem with the web servers PHP or the CLI version. Anyways should be fixed.
------------------------------
Tony Baird
Chief Executive Officer, Hawk Host
Thank you Klemen.
Re: HESK e-mail piping public BETA (test version)
Matthias - do attachments work normally when you submit a ticket usign the web interface?
3ajs - glad you got it working!
3ajs - glad you got it working!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: HESK e-mail piping public BETA (test version)
Operating system: Linux
PHP version: 5.3.3
MySQL version: 5.0.91-community
Description of bug: not posting tickets
Exact steps to reproduce the bug:
Ive set everything up exactly as per the instructions and get two things happen.
1. A bounced email when sending from a certain email address, part of the bounced email is below. I can PM you the headers if you want them.
2. No ticket is submitted.
This is the top part of the bounced email I get.
PHP version: 5.3.3
MySQL version: 5.0.91-community
Description of bug: not posting tickets
Exact steps to reproduce the bug:
Ive set everything up exactly as per the instructions and get two things happen.
1. A bounced email when sending from a certain email address, part of the bounced email is below. I can PM you the headers if you want them.
2. No ticket is submitted.
This is the top part of the bounced email I get.
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/xxxxxxnet/public_html/support/inc/mail/hesk_pipe.php
generated by support@xxxxxxx.info
The following text was generated during the delivery attempt:
------ pipe to |/home/xxxxxxxnet/public_html/support/inc/mail/hesk_pipe.php
generated by support@xxxxxxx.info ------
Usage: php [options] [-f] <file> [--] [args...]
php [options] -r <code> [--] [args...]
php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
php [options] -- [args...]
php [options] -a
-a Run interactively
-c <path>|<file> 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 <file> Parse and execute <file>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-B <begin_code> Run PHP <begin_code> before processing input lines
-R <code> Run PHP <code> for every input line
-F <file> Parse and execute <file> for every input line
-E <end_code> Run PHP <end_code> after processing all input lines
-H Hide any passed arguments from external tools.
-s Output HTML syntax highlighted source.
-v Version number
-w Output source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin
--ini Show configuration file names
--rf <name> Show information about function <name>.
--rc <name> Show information about class <name>.
--re <name> Show information about extension <name>.
--ri <name> Show configuration for extension <name>.
Re: HESK e-mail piping public BETA (test version)
Try changing the top line of hesk_pipe.php from to just
Code: Select all
#!/usr/bin/php -q
Code: Select all
#!/usr/bin/php
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: HESK e-mail piping public BETA (test version)
Thanks Klemen, no error now but its still not posting the ticket?
Any ideas..?
Any ideas..?
Re: HESK e-mail piping public BETA (test version)
Is your PHP at usr/bin/php or somewhere else?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: HESK e-mail piping public BETA (test version)
My mistake, when I said the 'mail return' error had gone it was due to me removing the forward. Its still there!
I have changed the path a few times back and forth.. my host has it as: /usr/local/bin/php
its very puzzling! If you'd like access to come and have a look please let me know..
I have changed the path a few times back and forth.. my host has it as: /usr/local/bin/php
its very puzzling! If you'd like access to come and have a look please let me know..
Re: HESK e-mail piping public BETA (test version)
It's as if PHP doesn't accept STDIN on your server.
Could you upload the phpinfo file to your sever so I can see how your PHP is setup please (just upload the phpinfo.php file into the Hesk folder and link to it here.)?
http://www.phpjunkyard.com/extras/phpinfo.zip
Could you upload the phpinfo file to your sever so I can see how your PHP is setup please (just upload the phpinfo.php file into the Hesk folder and link to it here.)?
http://www.phpjunkyard.com/extras/phpinfo.zip
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: HESK e-mail piping public BETA (test version)
Thanks Klemen, I have PM'd you the URL!
Re: HESK e-mail piping public BETA (test version)
Didn't find any problems in your php settings.
Are you on a dedicated server or shared hosting?
You have Cpanel I presume?
Let's see if we can get PHP to pipe to a simple script. Please follow these steps:
1. Save this code in a plain text file and call it "pipe_test.php"
2. Upload it to the server and CHMOD it to 755
3. Set up e-mail piping to this script
4. Send an e-mail. You should receive a bounced e-mail - it's OK, just check if you can find the "PIPING TEST - SCRIPT IS EXECUTING" text inside the bounced e-mail.
5. If not try using a few different PHP paths (one per time):
#!/usr/bin/php-cgi
#!/usr/bin/php-cgi -q
#!/usr/bin/php -q
6. Does the bounced mail when testing for any of these paths contain "PIPING TEST - SCRIPT IS EXECUTING" text in the bounced mail?
Are you on a dedicated server or shared hosting?
You have Cpanel I presume?
Let's see if we can get PHP to pipe to a simple script. Please follow these steps:
1. Save this code in a plain text file and call it "pipe_test.php"
Code: Select all
#!/usr/bin/php
<?php
error_reporting(E_ALL);
echo "PIPING TEST - SCRIPT IS EXECUTING";
?>
3. Set up e-mail piping to this script
4. Send an e-mail. You should receive a bounced e-mail - it's OK, just check if you can find the "PIPING TEST - SCRIPT IS EXECUTING" text inside the bounced e-mail.
5. If not try using a few different PHP paths (one per time):
#!/usr/bin/php-cgi
#!/usr/bin/php-cgi -q
#!/usr/bin/php -q
6. Does the bounced mail when testing for any of these paths contain "PIPING TEST - SCRIPT IS EXECUTING" text in the bounced mail?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: HESK e-mail piping public BETA (test version)
Hello Klemen, thanks for all your help with this. I have tried all of the requests and didn't get any mention of: "PIPING TEST - SCRIPT IS EXECUTING" in any of the bounced emails.
However, I did get some kind of response when using:
#!/usr/bin/php-cgi -q
#!/usr/bin/php -q
However, I did get some kind of response when using:
#!/usr/bin/php-cgi -q
#!/usr/bin/php -q
I can send you the headers if you need themThis 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/xxxxxxxx/public_html/support/inc/mail/test_pipe.php
generated by support@xxxxxxxx.info
The following text was generated during the delivery attempt:
------ pipe to |/home/xxxxxxxxx/public_html/support/inc/mail/test_pipe.php
generated by support@xxxxxxxxx.info ------
Error in argument 1, char 3: option not found
Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
php <file> [args...]
-a Run interactively
-b <address:port>|<port> Bind Path for external FASTCGI Server mode
-C Do not chdir to the script's directory
-c <path>|<file> 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 <file> Parse <file>. 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 <file> Load Zend extension <file>.
-T <count> Measure execution time of script repeated <count> times.
------ This is a copy of the message, including all the headers. ------