email piping issue . no such file or directory

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
opus_petes
Posts: 7
Joined: Fri Feb 03, 2012 12:33 am

email piping issue . no such file or directory

Post by opus_petes »

Hi,

Have installed this on two completely different servers and the only issue I get with both is the email piping.

The following error is what is received when trying to send en email to it, this occurs on both servers

PHP Warning: require(../../hesk_settings.inc.php): failed to open stream: No such file or directory in /home/servename/hesk/inc/mail/hesk_pipe.php on line 40

I have double checked the path and it is 100% correct, including it being case sensitive. The file is there and chmodded to 644.

So here is what I did

[*]Changed the path in the hesk_pipe.php to the full physical path at line 38
define('HESK_PATH','/home/servername/hesk');

noticed I suddenly got adifferent error this time at line 41 (the next file)

[*]I then placed a / in front of the next line right before the word inc "require(HESK_PATH . '/inc/common.inc.php');"

Sent a further email and did not get any error messages at all . . .fixed!

WRONG

No email arrived and no new ticket was created. (So close)

Now I am stuck. I have changed everything back to the way it was and am with my original error that I got in the first place

PHP Warning: require(../../hesk_settings.inc.php): failed to open stream: No such file or directory in /home/servename/hesk/inc/mail/hesk_pipe.php on line 40

Any ideas on where this error is. Happens on both servers which are completely separate. Would really appreciate getting help to have this feature working as it assists the users in having a simple way of submitting a request to the helpdesk team.
opus_petes
Posts: 7
Joined: Fri Feb 03, 2012 12:33 am

Re: email piping issue . no such file or directory

Post by opus_petes »

Never mind, I solved it

I forgot to add the final '/' at the end of the define statement after the word hesk

Code: Select all

define('HESK_PATH','/home/servername/hesk/');
It works perfectly (once I remembered to CHMOD the attachments directory to 777 :D )
Post Reply