I fixed that error - I think the default PHP error reporting was just missing it and the structure of my code was improper. Now I get to the problem of correctly placing and accessing the includes path.
As I said before I have my includes in
And I've set:
include_path = ".:/home/.mahesa/timtastic/interficio.net/lib/php"
in my php.ini, which is in
Now, when I test PHPMailer
I am getting this error:
Warning: main(../class.phpmailer.php): failed to open stream: No such file or directory in /home/.mahesa/timtastic/interficio.net/phpmailer-test/phpmailer_test.php on line 10
Seems to indicate I have used the wrong path for include_path in php.ini. I have tried lots of variants including site root relative and paths relative to php.ini itself, but nothing has yielded results. What am I doing wrong?