[EXPLAINED] Upgrading from 1.1D to 1.2 RC1/2 Instructions [EXPLAINED] Upgrading from 1.1D to 1.2 RC1/2 Instructions
 

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

[EXPLAINED] Upgrading from 1.1D to 1.2 RC1/2 Instructions

Started by thekingster, November 09, 2003, 08:42:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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

Distl

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.


TheSwede

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'&#93; =                         "localhost";        // Your database server
$CONFIG['dbuser'&#93; =                         "root";        // Your mysql username
$CONFIG['dbpass'&#93; =                         "";                // Your mysql password
$CONFIG['dbname'&#93; =                         "test";        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'&#93; =                "cpg_";
?>

DJMaze

Change it into this:<?php
// Coppermine configuration file

// MySQL TABLE NAMES PREFIX
$cpg_prefix "cpg_";
?>
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

thekingster

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?

DJMaze

yes and run "modules/coppermine/install.php" which is actualy a better choice
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

thekingster


DJMaze

NO it's a one in all Installer and Updater as mentioned in Installation-english.txt which you have read.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

gtroll

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)

slink

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.

DJMaze

There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0