Upgrading question Upgrading question
 

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

Main Menu

Upgrading question

Started by CGPhotos, September 22, 2006, 08:20:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CGPhotos

ok. I have one domain name with version 1.3.  Upgrading was a nightmare!!  Resotred it back.  I have another domain I caould install the newer version on through fantastico.  Its only the 1.4.8.  Here my questions:

1.Can I install the 1.4.9 through fantastico without having to go through the upgrade process?
2.  When I get the new version installed on the new domain whats the easiest and fastest way to get the albums to the new coppermine?
3.  How will all this affect my users? ???

Sami

Quote from: CGPhotos on September 22, 2006, 08:20:52 PM
ok. I have one domain name with version 1.3.  Upgrading was a nightmare!!  Resotred it back.  I have another domain I caould install the newer version on through fantastico.
Don't use autoinstaller script !
you have two options:
- install new version (1.4.9) manualy and then reastore DB backup and files backup from old one
- first upgrade your old one to 1.4.9 (if you do as suggested under upgrading doc you will be just fine) and then move everyting to new domain

Quote from: CGPhotos on September 22, 2006, 08:20:52 PM
1.Can I install the 1.4.9 through fantastico without having to go through the upgrade process?
No ! Personally I didn't see any autoinstaller script that install CPG v 1.4.9

Quote from: CGPhotos on September 22, 2006, 08:20:52 PM
2.  When I get the new version installed on the new domain whats the easiest and fastest way to get the albums to the new coppermine?
reastore DB backup and reastore albums folder and include/config.inc.php and anycontent.php and any other core file that has modification

Quote from: CGPhotos on September 22, 2006, 08:20:52 PM
3.  How will all this affect my users? ???
No effect on users afaik
‍I don't answer to PM with support question
Please post your issue to related board

CGPhotos

I installed on new domain then uploaded my "albums back-up" via ftp ipswicth.  Wen I go to the new gallery there is nothing there.  Did I forget to upload something?


webhigh

Hi - I don't know if I should post this here or not but I have a client that has version 1.1 nstalled and wnats to upgrade to the current version what is the best way to do this. I can't find anything for this on the forum or does the current 1.4.9 handle this ?

Thanks

Nibbler

CGPhotos: You need to upload the database aswell, then make sure include/config.inc.php points to the restored database.

webhigh: Please read the manual.

CGPhotos

Where do I locate the Database that I need to upload?

Nibbler

Export the database from the old server to a .sql file then import it into the new database. You can use phpmyadmin for this.

CGPhotos

Do I need to rename it? Should I zip it?

Nibbler


CGPhotos

I am doing this for the first time, it gives me the option to save as file, do I wan to do this?  Also, when I click go.....I get a bumck of technical garb....what exactly do I do to import to the new onw...I am not finding what to import

CGPhotos

OK, I got the file imported but I still do not have albums in my gallery, What do I do now?


Nibbler

Make sure include/config.inc.php points to the restored database.

CGPhotos

It does.  The database now contains the 133 files and the 149 files, are they confllicting?

Sami

what do you mean by 133 file and 149 file !
‍I don't answer to PM with support question
Please post your issue to related board

CGPhotos

ok, my old database was from a 1.3.3 version.  I have a new domain on a different server that I installed the 1.4.9 version on.  I am trying to get the albums and users moved to the new place

CGPhotos

Is it possible to move the albums from 1.3 to a 1.4.9 version?

Sami

You meen that your database contain two copy of each table one for 1.3.3 and one for 1.4.9?
If yes then you need tho first delete all of it (drop the database) and the re-create a new db and restore your old file , then go to config.inc.php and update the db info (db name,prefix , etc...)
‍I don't answer to PM with support question
Please post your issue to related board

CGPhotos

When I wne to the config.inc.php I get this:

Fatal Error
While executing query "SELECT * FROM cpg149_config" on 0

mySQL error: Table 'wxnjjdkd_copp1.cpg149_config' doesn't exist


Sami

you should download it to your local PC and edit it with a simple text editor such as notepad and change the prefix
‍I don't answer to PM with support question
Please post your issue to related board

CGPhotos

changed it to coppermine_ and reran the upgrade got this:


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wxnjjdkd/public_html/coppermine/update.php on line 47

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/wxnjjdkd/public_html/coppermine/update.php on line 50