I have recently installed and sucessfully created a gallery on my local server which is what I use to create off-line sites for debug and test reasons.
I now want to move the created files to the "Live site".
I seem to get the drift reading your forums, that there is no simple way of transfering just the files that are needed. It seems that you have to completely re-install Gallery on the other site.
Is that Correct?
The other problems is that Whilst I use the same MySQL db server on my other site I don't have access to creating extra databases and in any case passwords and username etc. are different from my local site.
The main question is if I want to change my local settings (passwords etc). on my local MYSQL where and how do I change the settings in the Galley?
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.2.2 apache
Webserver = Apache/1.3.26 (Win32) PHP/4.2.1
Database = mysql 4.0.0-alpha-nt
Toolkits = Exif, Gd
Operating system = Windows NT 5.1 build 2600
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705)
Posts: 32509
please folllow these instructions carefully:
FAQ: How can I move my gallery installation from one server to another?
@mysql:
you just have to change config.php which is in your gallery folder. on your new host, change the db username/ db password/ db name if necessary.
Posts: 2
Hi, I have a similar situation. I have read the above article but when I got to step 9 and i chose to run install again, I was stuck at creating the gallery images folder, which was the step just before creating the database. I have a multisite setting, am I missing something? What if I just edit the config.php / embed.php.. etc to reflect the correct directory structures? Thanks.
Posts: 32509
- the instructions ask you to copy the data / g2data folder, not to create it.
- then you should call chmod -R 777 g2data (recursively)
- and you shouldn't create the database, just import the database from the other host (that is, create an empty db and import the mysql dump)
- of course you can just edit config.php etc instead of running the installer. but chances are that things are not ok if you can't run the installer.
Posts: 7
I did read the artical - more than once and eventually got the clone of the remote site working on my loacalhost (to a point). I had already done everything you said in the last mailing but I found that the biggest problem was the broken links to the thumbnails. In every case of a broken link the full image could be selected eventhough the thumbanail images were missing. I spent hours on it trying to find the solution including re-installing G2, with no avail. In the end the only way I could find in returning the thumbnails was to select each individual image (via the thumbnail) and editing the thumbnail crop size - without actually changing anything. This worked without fail but was very tedious with a large gallery.
Whilst I love Gallery2, once it is working, I can waste hours just setting it up. This was the original reason for the original mail. My ISP has lost my data on more than one occasion and when this happens I want an easy way to up load my backuop copy which I want to also run loacal "off-line". It seems the only way I can do this is to keep a copy loacally without running it.
Posts: 32509
as described in the instructions, you have to deactivate and uninstall all modules that depend on external libs/binaries (modules as imagemagick, gd, netpbm, ...) and disable the rewrite module too. only after moving the installation to another server, install and activate these modules again.