Ver 1.6 ST
Clean install.
All web functions are working.
Piped email gets to /api/pipe.php which includes api.inc.php which includes main.inc.php
main.inc.php throws the following two errors to the error_log:
PHP Warning: session_start() : Cannot send session cookie - headers already sent in /home/domain/support/main.inc.php on line 48
PHP Warning: session_start() : Cannot send session cache limiter - headers already sent in /home/domain/support/main.inc.php on line 48
...which apparently causes the config file to not load (line 75), resulting in the error "Unable to connect to the database" from line 142.
main.inc.php does NOT do this when submitting a ticket via the web form (included from client.inc.php).
I had a similar test install working perfectly with piped emails a couple days ago. The only difference it that the working one was in support.domain.com and this is in domain.com/support/.
The question is, why is this happening when main.inc.php is included from api.inc.php?