In the readme file it says the following...
Quotein config .inc.php change all to just
<? $cpg_prefix = "cpg_";?>
where cpg_ is your current coppermine prefix
run same steps from install except step 2
Change all WHAT?
I don't have that line in my Coppermine...
Quote from: "TheSwede"In the readme file it says the following...
Quotein config .inc.php change all to just
<? $cpg_prefix = "cpg_";?>
where cpg_ is your current coppermine prefix
run same steps from install except step 2
Change all WHAT?
I don't have that line in my Coppermine...
If your table prefix is not cpg_ for Coppermine you have to change it into the prefix what you use.
Change all means to replace all the code in config.inc.php with that one line.
I'm not a programmer and i have no clue what you are talking about...
I have been using PHPNuke for a couple of years now and never had a problem upgrading any modules so far, but with your replies it becomes even more confusing...
Down below is my config.inc.php please explain what i need to change...cause i still don't understand what you mean...
<?php
// Coppermine configuration file
// MySQL configuration
$CONFIG['dbserver'] = "localhost"; // Your database server
$CONFIG['dbuser'] = "root"; // Your mysql username
$CONFIG['dbpass'] = ""; // Your mysql password
$CONFIG['dbname'] = "test"; // Your mysql database name
// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = "cpg_";
?>
Change it into this:<?php
// Coppermine configuration file
// MySQL TABLE NAMES PREFIX
$cpg_prefix = "cpg_";
?>
Just to confirm before I go ahead with the upgrade:
All I do is change my config.inc.php:
Quote// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] = "cpg_";
to
Quote// MySQL TABLE NAMES PREFIX
$cpg_prefix = "cpg_";
then run the upgrade sql script, migrate over my albums folder and all should be sweet?
yes and run "modules/coppermine/install.php" which is actualy a better choice
wont that overwrite anything?
NO it's a one in all Installer and Updater as mentioned in Installation-english.txt which you have read.
This was left out of the install/upgrade file but should be there.
Upgrade Instructions
On your Server
delete all language files except the ones that came with the distribution (english italian)
delete all themes except the ones that came with the distribution (default)
Using phpnuke 6.9 and cm 1.2.0rc2 for phpnuke, I get the following error trying to use the install.php script:
Coppermine update ERROR
The installer noticed you did not modify your modules/coppermine/include/config.inc.php file
open the file and change: $CONFIG['prefix'] into $cpg_prefix.
Well, my prefix is cpg_ as I used the default prefix to install. No matter what I change it to it seems to be incorrect and getting that error message. I look in my database and it seems that I have a cpg_ as the name of my tables. What is wrong here?
Additionally (maybe this is solved in the install) I notice that in the nuke admin panel there are several items that don't have icons (blank.gif) and this looks like something is erroneous.
http://forum.coppermine-gallery.net/index.php?topic=1504&highlight=config+prefix