In the ./zp-data/zenphoto.cfg.php file
. . .this may be specified in some "setup" scenario, but I can't find it, other than by editing the file. On the Upload/Images page, there is a drop-down menu from which one should be able to select an "upload to" directory. Unfortunately, I only see an option for the root directory, i.e., "/". I've tried changing the following code to the second construct (now commented out), but if I do, then setup complains that "MySQLi reported: Unknown database '/var/db/mysql/ZenPhoto'".
`
$conf['mysql_database'] = 'ZenPhoto'; // Supply the name of Zenphoto's database
//$conf['mysql_database'] = '/var/db/mysql/ZenPhoto';
`
Is simply 'ZenPhoto' rather than the absolute path correct? . . .apparently so?
Also, I have the following specified:
`
$conf['album_folder'] = '/www/zenphoto/albums/';
$conf['album_folder_class'] = 'std';
`
./albums would be targets for uploads, but I can point to them.
Comments
Also no path for the album folder. You don't need to set that at all unless you want it outside the root. Then us relative `../albums`. That would be a level above the web root of your server. Note that this can cause issues with multimedia items if visitors have browsers that require the flash fallback.