Member
Member
denisl   31-01-2015, 04:12
#1

Hi
Running ubuntu 14.04 LAMP
I had to create the zenphoto.cfg.php file from the zp-core directory. When I add the mysql connection information the webpage goes blank. I noticed if I leave the database name field blank I get to the setup webpage. But as soon as I put "mysql" in the database name field the screen goes blank. The name of the database is the default "mysql" and is not shared.

any ideas? been struggling on this for days, I'm about to give up.
Thanks

Administrator
Administrator
acrylian   31-01-2015, 11:03
#2

If you had to create the config file manually some file/folder permissions are not right.

Your database name is most certainly not "mysql" …

The config file regarding the database looks like this (additional comment:
$conf['db_software'] = "MySQLi"; // database engine handler. "mysql" is deprecated so this if your server has it. See what setup suggests for alternatives as there are several options /** for historical reasons these fields reference mysql even though the database ** ** might be a different software **/ $conf['mysql_user'] = ""; //The database user to access the database $conf['mysql_pass'] = ""; //The database password to access the databaase $conf['mysql_host'] = ""; //The database host $conf['mysql_database'] = """; // Name of the database to use // If you're sharing the database with other tables, use a prefix to be safe. $conf['mysql_prefix'] = "zp_";

Member
Member
denisl   01-02-2015, 04:54
#3

Thanks for the reply acrylian
I created a new database called zenphoto and then updated the conf file and all works now. Thanks

Administrator
Administrator
acrylian   01-02-2015, 10:51
#4

Zenphoto's setup can theoretically create the database as well but virtually no host (especially shared ones) allow it so you have to create it manually in front of installing.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.