![]() |
|
Install Warning : Rename cfg.php? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Install Warning : Rename cfg.php? (/thread-11670.html) |
Install Warning : Rename cfg.php? - VioletStarr - 2014-03-04 Hello. Hoping to find some help here. I have zenphoto up and running on one site without any problems. I'm trying to use it for a work project and when I type everything into the setup.php page and hit save I get the following message: PHP Warning: rename(D:/Sites/mysite.org/htdocs/Galleries/mygallery/zp-data/zenphoto.cfg.php,D:/Sites/mysite.org/htdocs/Galleries/mygallery/zp-data/zenphoto.cfg.bak.php) [function.rename]: File exists in D:\Sites\mysite.org\htdocs\Galleries\mygallery\zp-core\setup\setup-functions.php on line 595 I'm kind of hung up on the D:/ bit. I'm working on a private server vs hosting someplace like Godaddy. Everything seemed to connect just fine for everything else that I've done on Filezilla. Is this a permissions thing? I have not used any 3rd party installation solutions. Any guidance would be much appreciated. Install Warning : Rename cfg.php? - acrylian - 2014-03-04 It seems somehow the script is not allowed to overwrite the backup file of the config script that already exists. That could be permissions but I cannot answer exactly. Zenphoto has two of those within
You can create Install Warning : Rename cfg.php? - VioletStarr - 2014-03-04 Thank you for the help. So first try changing the permissions on:
and otherwise manually create zenphoto.cfg.php. What would I rename the file to? Install Warning : Rename cfg.php? - acrylian - 2014-03-04
Install Warning : Rename cfg.php? - VioletStarr - 2014-03-04 OK, ignore that last post. the cfg file was pretty self explanatory. Still having the same problem, though. The permissions on the folders don't seem to make a difference. I've manually added zenphoto.cfg.php to /zp-core and I get the same string of errors. When I look for zp-data/zenphoto.cfg.bak.php there isn't anything there. I guess these files are suppose to be auto-generated during setup? But I think I should back up a step. I do have one other thing popping up when I try to run the install. On the initial setup screen, I have the following: (red and white circle)PHP MySQLi support [is not installed] Error! Database setup reported: No supported databases. Setup doesn't allow me to chose which database engine to use. I've filed in the cfg file appropriately and was hoping it would populate. No dice. PHP and MySQL were just added to our site. When I look in phpmyadmin everything looks just fine. I ran a php test file on our site and that works just fine. Install Warning : Rename cfg.php? - acrylian - 2014-03-04 If Zenphoot cannot read your config file or you didn't fill in the right credentials for the database you should check your server error log for permission errors. Otherwise those errror are about PHP tp MySQL handlers to simplify it and those are missing. Zenphoto (and pretty much any other CMS with PHP and MySQL) needs those to communicate. You should contact your host about that as this is server configuration. |