Gallery URL Gallery URL
 

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

Gallery URL

Started by LFox, September 14, 2008, 09:44:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LFox

I want to upload my gallery on two different servers but gallery will use one MySQL base... I don't want to install it again, I just want to do double of a gallery on other server, so... tell me please, what I must write in this field>>> "URL of your coppermine gallery folder"?

Joachim Müller

The usage of one mySQL database for two galleries is possible and not related to the URL of the gallery. For that, you will need two different sets of config tables or modify the core code to populate the URL manually (overriding the stuff in the database). Below are the instructions for the later version. However, this will not be the only issue you will have to face: you will have to share the uploaded files (the contents of the "albums"-folder) as well between the two servers, as the files are not being stored inside the database. The database only contains pointers to the uploaded files. Not sure how you're going to handle this.
Back to your question: for one gallery, type in the actual URL of coppermine on that server into the config field (i.e. something like http://your_first_site.tld/the_folder_of_your_first_coppermine_gallery/). For the second gallery, edit include/init.inc.php, find$CONFIG['site_url'] =& $CONFIG['ecards_more_pic_target'];and add before it (into a new line)$CONFIG['ecards_more_pic_target'] = 'http://your_second_site.tld/the_folder_of_your_second_coppermine_gallery/';and edit as you see fit.

LFox