2 Versions On 1 Database 2 Versions On 1 Database
 

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

2 Versions On 1 Database

Started by sheik28, April 29, 2005, 11:17:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sheik28

Is it possible to have 2 coppermine galleries connected to 1 database? If so how do I go about installing?
I have installed both to different directories but after the 2nd install I get an error message.
Thanks for any help.

I have verison 1.3.3 running on Linux.
Thank you to all who have worked on Coppermine!

poubao

may be change the prefixtable  and cookies to the second gallery  ???
poubao :D
L'incohérence de ceux qui nous dirigent, l'incompétence de ceux qui nous commandent,sont un vibrant hommage pour ceux qui exécutent.
                                          **Général Patton**

sheik28

I didn't try changing the cookies. I did change the table from cpg133_ which is what one gallery is on to cpg134_ I'll try changing the cookies as well. Thanks.

*edit*
There isn't a place to modify the cookies on the install page. Do you know how to go about modifying it?
Thank you to all who have worked on Coppermine!

Nibbler

Using a different table prefix is fine. You set the cookie name in config after installation.

sheik28

Changing the prefix didn't work. I will try again though and post back.
Thank you to all who have worked on Coppermine!

sheik28

Thank you to all who have worked on Coppermine!

poubao

i just doit with your prefixtable (cpg134_) and the second gpg install work fine.
may be your database is limited , i have 6 differents applications on line in the same database and they work fine(3cpg galery, 1phpBB, 1mambo, and 1mx-BB (in test) and i have no probleme.
Poubao :D

(it's take 5 minutes to install gpg galerie ;D )
L'incohérence de ceux qui nous dirigent, l'incompétence de ceux qui nous commandent,sont un vibrant hommage pour ceux qui exécutent.
                                          **Général Patton**

sheik28

Quote from: poubao on May 01, 2005, 10:07:15 AM
i just doit with your prefixtable (cpg134_) and the second gpg install work fine.
may be your database is limited , i have 6 differents applications on line in the same database and they work fine(3cpg galery, 1phpBB, 1mambo, and 1mx-BB (in test) and i have no probleme.
Poubao :D

(it's take 5 minutes to install gpg galerie ;D )
How can I tell if my DB is limited?
Thank you to all who have worked on Coppermine!

Tranz

You should ask your webhost what are the database limitations.

sheik28

I did. I use 1and1 and they told me it should be fine. I am willing to bet that it is a problem on my end. I must be doing something wrong.  I am now waiting for he MYSQL DB to delete and then I am going to set up a new one and try it all over again. Thanks to everyone who has replied, I really appreciate the help.

I will post back with any updates.
Thank you to all who have worked on Coppermine!

poubao

Hi sheik28
The good idea, is install easyphp on your computer, créate a database, and install your differents galery,and you see if it's run without probleme. (you can test every modification on your galery before applying on your "online galery"  ;)
poubao :D
L'incohérence de ceux qui nous dirigent, l'incompétence de ceux qui nous commandent,sont un vibrant hommage pour ceux qui exécutent.
                                          **Général Patton**

Tranz

Yes, good to have a local copy. Especially when you want to make changes or updates, you can test it before finding out on the server that things don't work or look messed up.

sheik28

I have not tried easyphp yet. I am now completely lost. I deleted everything to try and start fresh. I installed version 1.3.3, started a new Database and after having many difficulties I got it to work, partially. When I click apply changes when adding a new album I get unable to display ecards, and when I click ecards I get Script called without the required parameter(s). Also when I change to certain themes I get a blank template. I am at a total loss now.  ???
Thank you to all who have worked on Coppermine!

sheik28

I am convinced that it is some type of database problem.  On the install of coppermine under te 2nd domain after running install.php this is the next page Fatal error: Call to undefined function: cpg_db_connect() in /homepages/10/d116192141/htdocs/wsc116192147/cpg/include/init.inc.php on line 246

I wish I could figure this out.

I also wish I could figure out why when I search for topics I never get any results that are anywhere close to mine.
Am I that unique?? :o
Thank you to all who have worked on Coppermine!

OmegaGOD

Double check that you have the file ./include/functions.inc.php. If you don't then you'll need to DL CPG again and extract that file from the zip.
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

sheik28

#15
Quote from: OmegaGOD on May 02, 2005, 11:55:39 PM
Double check that you have the file ./include/functions.inc.php. If you don't then you'll need to DL CPG again and extract that file from the zip.

*EDIT*

I checked under  the wrong domain. The function file had gotten corrupted during upload. I re-uploaded and

Yes I have that file. I have also chmodded the include and album folders to 777 I also tried 755 (just in case) each time deleting everything  re-uploading and then chmodding and still nothing. Oh well I guess I just keep trying.
Thank you to all who have worked on Coppermine!

sheik28

It seems that WISE-FTP ( or me by way of user error) is corrupting 30-50% of the files. Sizes are getting all messed up. I am in the process of checking and fixing each individual file. I have some fun ahead of me.

I really do appreciate everyone trying to assist.
Thank you to all who have worked on Coppermine!

Tranz

Are the php files being uploaded as ascii or binary? They should be ascii.

sheik28

Well everyone, you may stop scratching your heads. As I stated in my previous post, it was user (possibly ;)) error. I switched FTP programs and both galleries ran smoothly through set up.

Thank you to all who have posted here and those (many are the same) that had posted in so many of the other threads I read.

I'll be back when I try to bridge.  ;D

Thank you to all who have worked on Coppermine!

sheik28

Quote from: TranzNDance on May 03, 2005, 04:45:53 AM
Are the php files being uploaded as ascii or binary? They should be ascii.

I had checked that. I had it set to AUTO. It didn't matter which file it was. GIF's were being corrupted as well. For example if I uploaded 1.gif 2.gif 3.gif and each one had a file size of 12 bytes 1.gif would have 20 bytes 2.gif would have 6 bytes and 3.gif would have 10 bytes. That was happening to ANY file type.
Thank you to all who have worked on Coppermine!