Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1] 2   Go Down

Author Topic: upgrade problem  (Read 7489 times)

0 Members and 1 Guest are viewing this topic.

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« on: February 08, 2004, 02:27:02 am »

that really works :)

now i have other problem.
How to upgrate 1.1.0>1.2?
i just read (online)FAQ and there was only talking about how to update 1.0 to 1.1
Logged

Nibbler

  • Guest
upgrade problem
« Reply #1 on: February 08, 2004, 02:34:00 am »

It is in the readme under "Upgrading from releases of version 1.1"
Logged

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #2 on: February 08, 2004, 02:44:44 am »

perhaps i'm blind or something but i can't find that. Can you put direct link?
Logged

Nibbler

  • Guest
upgrade problem
« Reply #3 on: February 08, 2004, 02:56:04 am »

Logged

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #4 on: February 08, 2004, 10:38:51 am »

okey
everythig goes right, but now i have have minor problem.
In config.php says the version is still 1.1??
and if i want to made any changes there is no any buttons in the bottom of the page were i can accept them...
And there is a "invalid action" note top of the config page.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
upgrade problem
« Reply #5 on: February 08, 2004, 10:45:40 am »

Hi,

I have split this from the unrelated topic, and placed it in the correct forum.
Please keep to one topic per thread.

On the ugrade problem, did you do all the upgrade steps correctly.

Did you do the step where you browse to /update.php.

Go over them again to check.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #6 on: February 08, 2004, 11:32:27 am »

problem with the big pictures:
when i push the thumbnail i got weird fatal error message:
"Fatal error: Call to undefined function: display_film_strip() "
/displayimage.php on line 582
what i have done
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
upgrade problem
« Reply #7 on: February 08, 2004, 12:04:58 pm »

Quote from: "miikali"
okey
everythig goes right, but now i have have minor problem.
In config.php says the version is still 1.1??
and if i want to made any changes there is no any buttons in the bottom of the page were i can accept them...
And there is a "invalid action" note top of the config page.
seems like you haven't replaced all 1.1 files correctly, as stated in the readme Nibbler referred to...
You have to replace all cpg1.1 files but the ones in /albums and /include/config.inc.php. Your problem sounds like you haven't replaced the files within the include folder...

GauGau
Logged

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #8 on: February 08, 2004, 12:15:13 pm »

yes. I have done everything what the faq told, but do i need to chmod files?
Logged

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #9 on: February 08, 2004, 01:48:31 pm »

chmod is 777 as it be.
there's also error in top of the page "Warning: in_array(): Wrong datatype for second argument "
Logged

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #10 on: February 08, 2004, 02:22:50 pm »

okey i check the ftp. The only files wich has not updated is:
COPYING, readme.htm, config.php, include dir, albums dir, 3. old language files.

I run update.php again and everything seem to be right:
 

Code: [Select]
Performing Database Updates
ALTER TABLE cpg11d_comments add msg_raw_ip tinytext OK
ALTER TABLE cpg11d_comments add msg_hdr_ip tinytext OK
ALTER TABLE cpg11d_pictures add pic_raw_ip tinytext OK
ALTER TABLE cpg11d_pictures add pic_hdr_ip tinytext OK
INSERT INTO cpg11d_config VALUES ('thumb_use', 'any') OK
INSERT INTO cpg11d_config VALUES ('show_private', '0') OK
INSERT INTO cpg11d_config VALUES ('first_level', '1') OK
INSERT INTO cpg11d_config VALUES ('display_film_strip', '1') OK
INSERT INTO cpg11d_config VALUES ('max_film_strip_items', '5') OK
INSERT INTO cpg11d_config VALUES ('comment_email_notification', '0') OK
CREATE TABLE cpg11d_banned ( ban_id int(11) NOT NULL auto_increment, user_id int(11) DEFAULT NULL, ip_addr tinytext DEFAULT NULL, expiry datetime DEFAULT NULL, PRIMARY KEY (ban_id) ) TYPE=MyISAM OK
Upgrade completed
Coppermine is now upgraded and ready to roll.
 

still i got the same error :(
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
upgrade problem
« Reply #11 on: February 08, 2004, 02:43:45 pm »

OK, the language files have changed cosiderably since version 1.  Is there any reason for not changing those files.

If it is because of mods you have put on, I suggest you upload the new language files, and then apply the mods later, if you still need them.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #12 on: February 08, 2004, 03:35:49 pm »

these was a some foreing languages what i don't even use. Now i have remove those and updated again, but still it has no any useful help.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
upgrade problem
« Reply #13 on: February 08, 2004, 03:49:25 pm »

As your error was about the film strip, try setting it to '0'.

Line 582 of displayimage.php should be this;
Code: [Select]
$film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #14 on: February 08, 2004, 04:27:59 pm »

Quote from: "casper"
As your error was about the film strip, try setting it to '0'.

Line 582 of displayimage.php should be this;
Code: [Select]
$film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);

now that's totally weird. it is zero
Code: [Select]

    // Display Filmstrip if the album is not search
    if ($album != 'search') {
        $film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
Logged

Nibbler

  • Guest
upgrade problem
« Reply #15 on: February 08, 2004, 04:40:49 pm »

Did you overwrite all the include files (except config.inc.php) ?
Logged

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #16 on: February 08, 2004, 05:18:00 pm »

this is what i have done:
Code: [Select]
Backup your include/config.inc.php file and your "albums" directoy.
Unpack the archive
If the file config.inc.php exists in the "include" directory, delete it.
If the file install.php exists in the root directory, delete it.
Except for the "albums" directory, upload all of the new files and directories making sure not to overwrite the include/config.inc.php file or the albums directory.
Call the upgrade script http://yousitename/coppermine_dir/update.php
Your upgrade should be complete.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
upgrade problem
« Reply #17 on: February 08, 2004, 09:02:30 pm »

you didn't answer the question: did you upload all files (with the exception of /include/config.inc.php and install.php) from the cpg1.2.0 package to your webserver? Yes or no?

GauGau
Logged

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
upgrade problem
« Reply #18 on: February 08, 2004, 09:20:24 pm »

everything is new except "albums". Do i need to replace it allso?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
upgrade problem
« Reply #19 on: February 08, 2004, 09:23:36 pm »

no
Logged
Pages: [1] 2   Go Up
 

Page created in 0.023 seconds with 18 queries.