Forums / Install & configuration / blank page after installing 3.8.0 or 3.7.5
Marko Faber
Monday 22 May 2006 3:25:34 pm
I tried several times to install ez_publish.
Everytime the installation works great and than, when i log in as admin or as user, i get a blank page. in the error.log is written [ Mai 23 2006 00:06:26 ] [xxx.xxx.xx.xx] eZMySQLDB: Connection error: Couldn't connect to database. Please try again later or inform the system administrator.Access denied for user 'root'@'localhost' (using password: NO)
I've no idea why, because in my settings/siteaccess/name_of_my_site/site.ini.append.phpi see the correct user and password and not "root".
in a old topic i read that there are some problems with php 4.4.2. so i installed php 4.4.1 but it doesn't help.
any idea?
Björn X
Monday 22 May 2006 8:06:08 pm
are there any database settings in setttings/override/site.ini.append.php?
if so, remove them.
Tuesday 23 May 2006 5:07:12 am
No, there are no settings in that file.
I think it is a port/socket problem.If i start
netstat -a
ther is no mysql service.I run a vserver from 1&1 with plesk and if i look at the database-server info from plesk i see:
Host name or IP address * localhost Port number (local connection) Database server type MySQL Use this server as default for MySQL Yes
so there is no port number. As i know i can use for the MySQL server communication port 3306 or unix socket. I now tried to connect the mysql server via socket. So i edit the site.ini.append.php.it now looks like
[DatabaseSettings] DatabaseImplementation=ezmysql Server=localhost User=***** Password=***** Database=ez_publish Charset= Socket=enabled SQLOutput=enabled
Now i don't get that blank page, but a page with a error message:
Connection error: Couldn't connect to database. Please try again later or inform the system administrator. Can't connect to local MySQL server through socket 'enabled' (2)
luis muñoz
Wednesday 24 May 2006 5:16:00 am
Socket is the path to the socket, something like:
Socket=/tmp/mysql.sock
Wednesday 24 May 2006 7:34:10 am
fixed it.
the problem was quite simple.i have a vhost and the RewriteRule need a index.php in
../httpdocs/
and i had the ez_files in
../httpdocs/ez_publish-3.7.5/
!thats all. no everything works fine.