forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: miikali 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
-
It is in the readme under "Upgrading from releases of version 1.1"
-
perhaps i'm blind or something but i can't find that. Can you put direct link?
-
here (http://www.ic-gallery.com/base/docs/README.html#11)
-
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.
-
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.
-
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
-
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
-
yes. I have done everything what the faq told, but do i need to chmod files?
-
chmod is 777 as it be.
there's also error in top of the page "Warning: in_array(): Wrong datatype for second argument "
-
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:
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 :(
-
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.
-
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.
-
As your error was about the film strip, try setting it to '0'.
Line 582 of displayimage.php should be this;
$film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
-
As your error was about the film strip, try setting it to '0'.
Line 582 of displayimage.php should be this;
$film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
now that's totally weird. it is zero
// Display Filmstrip if the album is not search
if ($album != 'search') {
$film_strip = display_film_strip($album, (isset($cat) ? $cat : 0), $pos, true);
-
Did you overwrite all the include files (except config.inc.php) ?
-
this is what i have done:
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.
-
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
-
everything is new except "albums". Do i need to replace it allso?
-
no
-
okey..i'll do everythig again with this way:
packing up "albums" and "include/config.inc.php" deleting "install.php" overwriting files, uploading old "config.inc.php" running "update.php"
is this correct?
-
yes, at least it won't do no harm if you do it twice. Just to be sure, backup your files and databse (you never know :wink: )...
GauGau
-
i'll got the "albums" and "include" directories in my HD
-
WO-HOOO!
everythig rolling and working. I don't know what i have done wrong but that's not really matter anymore.
Thanks to all of you guys!
-
Just in case other people have this same problem... it is caused by not updating "config.php" .. which is easy to get wrong if you've read "config.inc.php" in the update instructions.
The only file you need to save and keep is "config.inc.php" (and your album folder)