[SOLVED] Moving gallery2 from one server to another

Znuff

Joined: 2005-09-27
Posts: 7
Posted: Wed, 2005-11-09 02:27

Hello,

I just moved all my websites from one server to another, everything is working except gallery2. When I try to access my g2 installation, httpd segfaults.

I tried running it from CLI, and I get this:

PHP Warning: parse_url(http:///gallery2/): Unable to parse url in /domain/linge-ma.ws/www/gallery2/modules/core/classes/GalleryUrlGenerator.class on line 476
Segmentation fault

Any clue how to fix this?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-11-09 06:58

not sure what broke, but you might review the FAQ in case it reveals where things went wrong..
FAQ: How can I move my gallery installation from one server to another?

 
Znuff

Joined: 2005-09-27
Posts: 7
Posted: Thu, 2005-11-10 18:35

Problem is that I don't have acces to the old installation anymore...
And the problem is that nothing changed, everything is the same: path; domain; database, etc.
Everything is the same except the IP of the server...

FAQ only explains what to do before moving the installation...
HELP please?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-11-10 18:37

@CLI
g2 doesn't work in CLI, not yet.

@paths:
are you sure the absolute path didn't change? you knly have control over the path starting from your ftp directory, usually.

 
Znuff

Joined: 2005-09-27
Posts: 7
Posted: Thu, 2005-11-10 18:52

It's my own server, and yes, I'm sure
I kept exactly the same directory structure

edit: I tested CLI just to see why it segfaults

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-11-10 19:02

well, first disable all modules with external dependencies:
imagemagick, netpbm, GD (relies on php GD), multilang (php gettext), dcraw, ffmpeg, archiveupload, zipcart

how?
fire up mysql and edit the g2_PluginMap table and change g_active to 0 for those pluginId s.

then, browse to yourgallery/lib/support/ click cache and delete the db / entity cache etc .

 
Znuff

Joined: 2005-09-27
Posts: 7
Posted: Thu, 2005-11-10 19:07

*bump*

Everything works now... as I am using the CVS version, I tried updating it and it worked

Thanks alot