Email piping: Error in hesk_getEmailMessage()

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
mdiehl
Posts: 17
Joined: Sun Nov 14, 2010 6:22 pm

Email piping: Error in hesk_getEmailMessage()

Post 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
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email piping: Error in hesk_getEmailMessage()

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
mdiehl
Posts: 17
Joined: Sun Nov 14, 2010 6:22 pm

Re: Email piping: Error in hesk_getEmailMessage()

Post 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?
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: Email piping: Error in hesk_getEmailMessage()

Post 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/');
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
mdiehl
Posts: 17
Joined: Sun Nov 14, 2010 6:22 pm

Re: Email piping: Error in hesk_getEmailMessage()

Post by mdiehl »

Hello Klemen,
just a minute ago I found that out :)
It works now
Post Reply