Page 1 of 1

Email piping: Error in hesk_getEmailMessage()

Posted: Sun Oct 09, 2011 12:06 pm
by mdiehl
Script URL: http://www.esd1.de/hesk/
Version of script: 2.3
Hosting company: self hosted
URL of phpinfo.php: http://www.esd1.de/hesk/phpinfo.php
URL of session_test.php: I cannot find this file
What terms did you try when SEARCHING for a solution: hesk_getEmailMessage, email piping

Write your message below:
Hello from germany,
thanks for the newsletter regarding the update to version 2.3.
I have been using the email piping since the beta version and it worked for me. When I updated to version 2.3 I receive an error message when piping the mail.

Command died with status 255:
"/usr/bin/perl /home/htdocs/web0/html/esd1.de/hesk/mail/hesk_pipe.php".
Command output: PHP Fatal error: Call to undefined function hesk_getEmailMessage() in /home/htdocs/web0/html/esd1.de/hesk/mail/hesk_pipe.php on line 247

Any ideas?
Thanks
Matthias

Re: Email piping: Error in hesk_getEmailMessage()

Posted: Mon Oct 10, 2011 3:40 pm
by Klemen
You still use old hesk_pipe.php file, you need to use the new one instead inside the "inc/mail" folder:
hesk/inc/mail/hesk_pipe.php

Re: Email piping: Error in hesk_getEmailMessage()

Posted: Sun Oct 30, 2011 8:16 pm
by mdiehl
Hello Klemen,
now I receive the error

Code: Select all

Command died with status 255:
   "/usr/bin/perl /home/htdocs/web0/html/domain.de/hesk/inc/mail/hesk_pipe.php".
   Command output:  Warning: require(../../hesk_settings.inc.php): failed to
   open stream: No such file or directory in
   /home/htdocs/web0/html/domain.de/hesk/inc/mail/hesk_pipe.php on line 40
   Fatal error: require(): Failed opening required
   '../../hesk_settings.inc.php'
   (include_path='.:/usr/share/php:/usr/share/pear') in
   /home/htdocs/web0/html/domain.de/hesk/inc/mail/hesk_pipe.php on line 40
But the file /home/htdocs/web0/html/domain.de/hesk/hesk_settings.inc.php does exist and is 666.

Any ideas?

Re: Email piping: Error in hesk_getEmailMessage()

Posted: Sun Oct 30, 2011 8:27 pm
by Klemen
In hesk_pipe.php try changing

Code: Select all

define('HESK_PATH','../../');
to

Code: Select all

define('HESK_PATH','/home/htdocs/web0/html/domain.de/hesk/');

Re: Email piping: Error in hesk_getEmailMessage()

Posted: Sun Oct 30, 2011 9:04 pm
by mdiehl
Hello Klemen,
just a minute ago I found that out :)
It works now