Hi all!
I'm trying to set up postfixadmin to manage the mailboxes but I get an error when I try to create a new domain. The error is "The domain already exists!" even if the database is empty.
I went to the logs and I found apache user trying to access the postfixadmin database which is not supposed to happen.
[Wed Oct 10 15:40:41 2007] [error] [client 192.168.2.122] PHP Warning: mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: Access denied for user 'apache'@'localhost' (using password: NO) in /var/www/html/postfixadmin/functions.inc.php on line 131, referer:
http://192.168.2.253/postfixadmin/ad...ate-domain.php
[Wed Oct 10 15:40:41 2007] [error] [client 192.168.2.122] PHP Warning: mysql_real_escape_string() [<a href='function.mysql-real-escape-string'>function.mysql-real-escape-string</a>]: A link to the server could not be established in /var/www/html/postfixadmin/functions.inc.php on line 131, referer:
http://192.168.2.253/postfixadmin/ad...ate-domain.php
This happens using mysql database_type in config.inc.php and if I use mysqli the logs change to:
[Wed Oct 10 15:49:15 2007] [error] [client 192.168.2.122] PHP Warning: mysqli_real_escape_string() expects exactly 2 parameters, 1 given in /var/www/html/postfixadmin/functions.inc.php on line 132, referer:
http://192.168.2.253/postfixadmin/ad...ate-domain.php
I tried to uninstall postfixadmin and then reinstall it and still the same.
Any hints?
Recent comments
12 hours 11 min ago
12 hours 16 min ago
17 hours 14 min ago
23 hours 55 min ago
1 day 44 min ago
1 day 1 hour ago
1 day 6 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 18 hours ago