Coppermine installation failure in my New NAS Coppermine installation failure in my New NAS
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Coppermine installation failure in my New NAS

Started by felix_ching, September 20, 2007, 04:02:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

felix_ching

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. ???

Joachim Müller

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.

peergoos

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,


Joachim Müller

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.