Gentleman
I have bought a new NAS (QNAP) and trying to install coppermine as the primary photo gallery but getting "The installer is locked" and "***ERROR***" after I followed all the steps to perform the installation. ???
You have already run the installer. Subsequently, an empty file named include/install.lock" has been created that keeps the installer from being run a second time. If you really want to run the installer another time, delete include/config.inc.php and include/install.lock. I strongly doubt though that you can run Coppermine on a genuine NAS device.
Hello,
I had the same problem installing coppermine 1.4 on my QNAP NAS (TS-209, latest firmware)
Strangely enough someone, a friend of mine, using the same NAS was able to install coppermine without any problems.
The only difference was that I changed the MyPHPadmin password (user root, pw ****) on beforehand.
So maybe that was the issue.
This is how I solved the problem.
After installation you'll see that in the directory /Qweb/cpg1413/include/ a file named config.inc.php.sample is present.
This caused the problem in my case.
Just rename this file into config.inc.php
After that you'll have to change manually (e.g. with Notepad) the contents of this file.
=======begin of text=============================================================
<?php
// Coppermine configuration file
// MySQL configuration
$CONFIG['dbserver'] = 'localhost'; // Your databaseserver
$CONFIG['dbuser'] = 'root'; // Your mysql username
$CONFIG['dbpass'] = '*******'; // Your mysql password <======change here PW
$CONFIG['dbname'] = 'coppermine'; // Your mysql database name
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = 'cpg1410'; <======change here the table prefix
=======end of text=============================================================
The table prefix can be looked up in the actual coppermine database that you have created. Normally this is set ok by the install program, but if you still get error messages when starting coppermine, you can have a look at this.
After this everything worked fine.
Hope this helps,
If the installer wasn't capable to write the genuine config file, then you haven't applied the needed permissions on the include folder. Modifying the sample file is a workaround. If it works for you, then fine.