Page 1 of 1

Can't connect to DB Piping error - everything else works

Posted: Tue Feb 04, 2014 9:45 am
by gorsey
Script URL: resume-quickly.com/support
Version of script: 2.5.2
Hosting company: liquidweb
URL of phpinfo.php: resume-quickly.com/support/phpinfo.php
URL of session_test.php: resume-quickly.com/support/session_test.php
What terms did you try when SEARCHING for a solution: can't connect piping / can't connect

Write your message below:

I have setup piping and followed all the instructions. Set the piping file to 755. Tried re-uploading it.

When you email the forwarding email - xxxxxxxxxxxxxx.com - it returns undelivered and the content has;

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/xxxxxxxxxxxxxx/public_html/support/inc/mail/hesk_pipe.php
generated by xxxxxxxxxxxxxx.com

The following text was generated during the delivery attempt:

------ pipe to |/home/xxxxxxxxxxxxxx/public_html/support/inc/mail/hesk_pipe.php
generated by xxxxxxxxxxxxxx.com ------

(REMOVED)

Odd thing is that the DB settings are 100% correct and all other functions of the support admin work....

Re: Can't connect to DB Piping error - everything else works

Posted: Tue Feb 04, 2014 10:51 am
by gorsey
Okay so far I have tried;

Changing the hesk path so that it's 100%
Double check the DB settings are correct and the admin reports the DB connection fine.
Turn the debug settings on

Still returning cannot connect to the DB. Very odd :shock:

Re: Can't connect to DB Piping error - everything else works

Posted: Tue Feb 04, 2014 10:54 am
by gorsey
Humm, what versions of PHP does hesk support?

http://www.resume-quickly.com/support/i ... k_pipe.php

Should that be showing those errors? looks like its using depriciated functions.

Re: Can't connect to DB Piping error - everything else works

Posted: Tue Feb 04, 2014 11:07 am
by gorsey
I've tried getting pop to work and I'm getting a similar error

iconv() doesn't seem to want to work...

Re: Can't connect to DB Piping error - everything else works

Posted: Tue Feb 04, 2014 11:18 am
by Klemen
One possible cause would be that your server is running PHP under a different user when a script is accessed over piping/cron or when run from the browser (over www).

You should be able to get a better error message if you turn Debug mode to ON in settings (admin panel > settings > Help Desk tab > Features) then try email piping again and see what the error message says.

Re: Can't connect to DB Piping error - everything else works

Posted: Tue Feb 04, 2014 12:32 pm
by gorsey
I didn't get much in the way of debug info when I turned it on.

Ended up iconv() needed installing on the server (i thought it was a installed as default)

Anyway all working now :) thanks