Install issue - blank page when connected to mysql

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

Comments

  • acrylian Administrator, Developer
    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_";
    `
  • Thanks for the reply acrylian
    I created a new database called zenphoto and then updated the conf file and all works now. Thanks
  • acrylian Administrator, Developer
    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.
Sign In or Register to comment.