Author Topic: Can't get to Listmailpro administration login box?  (Read 2012 times)

altonsanders

  • Posts: 14
    • View Profile
Can't get to Listmailpro administration login box?
« on: October 12, 2008, 07:56:10 am »
I moved Listmailpro to a new sever. Setup my config.php file. Setup a MySQL database. I type
Listmailpro URL into explorer address field and I am getting this:

Warning: main(./config.php): failed to open stream: No such file or directory in /hsphere/local/home/nfacnews/n-fac.com/mail/login.php on line 6

Warning: main(): Failed opening './config.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/share/pear') in /hsphere/local/home/nfacnews/n-fac.com/mail/login.php on line 6

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/nfacnews/n-fac.com/mail/admin.php on line 2953
Could not connect to MySQL. Please check your MySQL database, username, password, and permissions and set up ListMail's config.php
MySQL Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Why am I not directed to Listmailpro password login box?

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Can't get to Listmailpro administration login box?
« Reply #1 on: October 23, 2008, 12:34:54 pm »
Quote
Warning: main(./config.php): failed to open stream: No such file or directory in /hsphere/local/home/nfacnews/n-fac.com/mail/login.php on line 6

It looks like ListMail cannot find the config.php file.  Once edited (as config.php.txt) it should be renamed to config.php.  I like to do this remotely via FTP.
Quote
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/nfacnews/n-fac.com/mail/admin.php on line 2953

This may mean there is a problem with the MySQL server or you need to change the MySQL "hostname" in ListMail's config.php to match the value provided by your web host.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting