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

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
gorsey
Posts: 5
Joined: Tue Feb 04, 2014 9:41 am

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

Post 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....
gorsey
Posts: 5
Joined: Tue Feb 04, 2014 9:41 am

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

Post 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:
gorsey
Posts: 5
Joined: Tue Feb 04, 2014 9:41 am

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

Post 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.
gorsey
Posts: 5
Joined: Tue Feb 04, 2014 9:41 am

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

Post by gorsey »

I've tried getting pop to work and I'm getting a similar error

iconv() doesn't seem to want to work...
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

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

Post 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.
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
gorsey
Posts: 5
Joined: Tue Feb 04, 2014 9:41 am

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

Post 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
Post Reply