forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: noja on December 12, 2009, 03:18:04 pm
-
hi all,
i have an older version of coppermine 1.3.2
how do i upgrade this to 1.4.x ?
just download> upload to my server > install ?
and another problem where i struggle whit the last 3 day's is.
where can i change the background color for the thumbs ?
-
Read the docs (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade) and respect Board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.0.html)
-
sorry my bad
-
getting lots of errors traying to update from 1.3.x to 1.4.x so im putting back my backup of 1.3.x :-\
-
what kind of errors ?
-
euh dident right it down.
some mysql and missing php and errors on line stuff.
-
did you follow exactly the upgrading process ?
-
i followd the instructions step by step
-
and if i copy the albums, deinstal coppermine 1.3.x, remove all files from my server, upload most resent stable version and install as if it was the first time and replase the old albums in the directory ?
could that work out ?
-
No, you musn't do so, this way you will lost all database content.
Try this:
-backup your albums and custom theme folders and your config.inc.php, anycontent.php file on your computer
-erase all files from your server
-upload all the new cpg1.4.25 files on your server with a ftp client like filezilla
-replace the server Albums directory with the albums directory you backed up before (the old one)
-Upload the old config.inc.php and anycontent.php files and be sure to replace the existing files
-run the update.php script
This should do the trick.
Warning: do a database backup before...
if you had a custom theme, you must update them to (look into the doc). before, to make sure all is ok, and before starting the upgrade process, make the classic theme as default theme
-
well that is i think one of the problems i hade.
i dont have a config.ini.php, i have only the config.php.
i already trayd what you sayd but also errors, i think couse i don't have those ...ini.php files.
i also trayd to edit the files so the update looks for the config whitout the .ini.
but that messed everthing up :o
-
look into the incluse folder. This file should be there. If not, edit the config.inc.sample.php file, rename it in config.inc.php and put in the correct database connection datas
-
oke ill try agian
-
this is what i get :
Warning: main(include/config.php) [function.main]: failed to open stream: No such file or directory in C:\domains\gs4r.com\wwwroot\modules\coppermine\update.php on line 25
Warning: main(include/config.php) [function.main]: failed to open stream: No such file or directory in C:\domains\gs4r.com\wwwroot\modules\coppermine\update.php on line 25
Warning: main(include/config.php) [function.main]: failed to open stream: No such file or directory in C:\domains\gs4r.com\wwwroot\modules\coppermine\update.php on line 25
Fatal error: main() [function.require]: Failed opening required 'include/config.php' (include_path='.;C:\PHP4\pear') in C:\domains\gs4r.com\wwwroot\modules\coppermine\update.php on line 25
if i look at line 25 in the update.php :
require ('include/sql_parse.php');
require ('include/config.php');
require ('include/update.php');
but when i look at my old version of coppermine. ther is no config in the map include :-\
it is in te map coppermin itself
-
are you sure to have overwrite all old files except the albums folder, the custom theme and the config.inc.php and anycontent.php files with the cpg1.4.25 files ? (sorry to ask this once angain, but it's often not the case...)
-
no worry's betther dubble chek ;)
the albums map i deleted from the update so i cant overright them.
the config.ini.php i dont have in the older version, so that one cant be overright
the new anycontend.php i renamed whit 123anycontend.php so that one cant overright
i dubbel chekt that all files are uploaded.
in the line 25 of the update.php he is looking for the config.php and there is only the config.ini.php.
i trayd to edit it to require ('config.php');
but that dident work
i trayd to edit the config.ini.php to config.php
but that diddent work
-
shall i try to make a copy of the config file thats lokated in the coppermine map and past it in the include map ?
-
i have send you a PM
-
mail on his way
-
The URL http://gs4r.com/modules.php?name=coppermine suggests that you appear to have been using a sort of "module" of some CMS (obviously PHP nuke), which goes unsupported (as in "no support at all"). You have not being using cpg1.3.x, at least not a version that we provide or support. We do not support nuke, as suggested countless times.
-
so your saying that i got coppermine 1.3.x is not the same as cpg 1.3.x ?
thats :o im scruwd than :-[
-
I'm saying that there is no such thing as cpg1.4.x for php-nuke, so yes: stick with what you have.
-
well thnx for all the help anyway