hello, just installed the zenphoto, everthing work fine but when you try to add a comment to a pic it gives me the following error msg, but it actually post the msg to the server, how do i get rid of the error msg?
Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in hostname\zen\functions.php on line 318
Warning: Cannot modify header information - headers already sent by (output started at hostname\zen\functions.php:318) in hostname\zen\template-functions.php on line 87
Warning: Cannot modify header information - headers already sent by (output started at hostname\zen\functions.php:318) in hostname\zen\template-functions.php on line 95
Comments
Hello,
I believe all you have to do is make sure that the email address in the zp-config.php file is correct:
Lines 54-55
// The email for the admin user. Used to send notification emails.
$conf['admin_email'] = "yourname@domain.com";
If it's not correct, or if your server doesn't use a standard set up for email, then you will get this message. If that doesn't fix it, or if the email is correct, many times the the full server path in the zp-config file on lines 112-113 will fix it:
Uncomment them and write the path as it is for your situation (you will need to check your host knowledge base or faqs or call them)
// define('WEBPATH', '/zenphoto');
// define('SERVERPATH', '/full/server/path/to/zenphoto');
Usually its something like this (but you need to check with YOUR host):
/home/~username/public_html/SUBDOMAIN/
Let us know.
thank you guys
Thanks!