When sending email this error appears :
mod_fcgid: stderr: PHP Warning: unlink() [<a href='function.unlink'>function.unlink</a>]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/vhosts/nz-photo.com/:/tmp/) in /var/www/vhosts/nz-photo.com/httpdocs/app/cache.inc.php on line 37, referer:http://www.nz-photo.com/contac...
Where are they getting that error? Unless they know something that I don't, that "notice" may occur when opening the page (contact), but has nothing to do with sending the email itself. Furthermore, as discussed earlier, this "notice" appears because your server has
open_basedir restriction enabled as shown in your check page
http://nz-photo.com/check/ ... Imageuve can't bypass a restriction in your server that prevents scripts from being able properly write/unlink files. The effect of this is currently considered harmless ..
How exactly did they "test your problem" I wonder? Did you forward the diagnostic that I posted in my previous post? The mail error you are getting, is passed directly from the extensive PHPmailer
https://github.com/PHPMailer/PHPMailer.
nz-photo wrote:Well I used that settings in late december after they have shutdown the phpmail function and it was working.
Doesn't that prove that either your mail settings are incorrect now or they changed something on your server (again)?
2015-02-06 14:10:31 SMTP ERROR: Failed to connect to server: Network is unreachable (101)
2015-02-06 14:10:31 SMTP connect() failed.
Message could not be sent.Mailer Error: SMTP connect() failed.
The above code should make it clear that it is a connection error to SMTP server, and nothing going "wrong" in the local application.
nz-photo wrote:Does it help and let you think about something ?
Unfortunately no, and your hosting support doesn't seem constructive. This is not an error native to Imagevue.
nz-photo wrote:Should I have to re-upload some part od the X3 that might have been corrupted ?
Nothing just gets randomly corrupted in Imagevue, apart from possibly your settings file ... Furthermore, the error we are diagnosing is not an Imagevue error ... It's a connection error.
My best guess
SMTP ERROR: Failed to connect to server: Network is unreachable (101)
The phpmailer script is clearly trying to connect and send the email, but is getting a connection error plain and simple. In fact, it seems like somehow using "localhost" as host setting must be at least pointing to a mail server, or else it wouldn't even get this far. What I am curious about, is why is it trying to connect to
smtp.gmail.com:25? That is not even in your X3 settings and must mean the localhost is somehow redirecting ... what it is doing or why I don't know ...
We could set up an isolated instance of
https://github.com/PHPMailer/PHPMailer on your server and test the same settings, but I assume it would just show the exact same error. Imagevue is essentially just forwarding your settings into the PHPmailer anyway, and the errors displayed are clearly outside the scope of Imagevue.
I'm gonna be honest with you ... These "hosting" things annoy me, because it is not something we want to deal with on a per-client basis because of clumsy servers. Once you find out that this is not related to X3 (like previously), then may I ask why you would wish to have to deal with time-consuming issues like this again and again? Ultimately, you shouldn't be having to deal with these issues in the first place ...
Tip
Why why I am wondering, are you trying to use the mail services native to your host when they seem so below par? Why not just set up a GMAIL account and use that for sending emails?