Migrating gallery 2 to another server


Joined: 2014-06-26
Posts: 1
Posted: Thu, 2014-06-26 23:42

Hello! because I work with Google Adsense and I have to maintain my code the same I cannot update to gallery 3 (because I don't want to change urls) I'm migrating two Gallery2 sites into other server and I just compressed the whole libraries and then download and upload to the new server... Decompressed it and chance the base_url and the database information. After that the installation wizard comes in and take to some kind of update but I just proceed to set 777 on g2data folder and that's most of it, I just continue the process and then finally it takes to my library. That happened to both sites. The problem is that when I try to see my pictures, there's no one in there.

I copy the url of the picture and it gives a 404 error. When I try to access the folders it also gives me 404 error. Why is this happening? I have URL_MOD rewrite activated and the plug in for url rewrite... It goes perfect in the test. What is wrong?

Gallery version (not just "2"):
PHP version (e.g. 5.1.6):5.4.29
Webserver (e.g. Apache 1.3.33):Couldn't find it.
Database (e.g. MySql 5.0.32): 5.5.37-log
Activated toolkits (e.g. NetPbm, GD): GD
Operating system (e.g. Linux): Debian
Browser (e.g. Firefox 2.0): Chrome, latest

suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2014-06-27 01:03