Problem migrating gallery2 to new server

txoof
txoof's picture

Joined: 2006-01-15
Posts: 45
Posted: Fri, 2009-10-16 02:12


Gallery version (not just "2"): gallery-2.3-typical-en
PHP version (e.g. 5.1.6): 5.2.6-3ubuntu4.2
PHPInfo Link (see FAQ): -not available to outside connections- see below
System Linux gorecanyon 2.6.28-15-server #52-Ubuntu SMP Wed Sep 9 11:34:09 UTC 2009 x86_64
Build Date Aug 21 2009 21:20:43
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2
Loaded Configuration File /etc/php5/apache2/php.ini
Scan this dir for additional .ini files /etc/php5/apache2/conf.d
additional .ini files parsed /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/mcrypt.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*

Webserver (e.g. Apache 1.3.33): Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch
Database (e.g. MySql 5.0.32): 5.0.75-0ubuntu10.2
Activated toolkits (e.g. NetPbm, GD): - not available currently
Operating system (e.g. Linux): Linux Ubuntu 9.04
Browser (e.g. Firefox 2.0): Any

I am moving my gallery2 installation to a new server. I have complete directories and databases. I restored the DB, copied over the g2data directory and unpacked a fresh copy of gallery2.3. I browsed to the gallery2 directory, rand the installer and completed with no errors or warnings. When I browse to the gallery, however, I get the following error:

Error

An error has occurred.

Back to the Gallery

After switching debug mode to buffered I get pages and pages of debug information, but the errors displayed in the drop down box are as follows:

Error (ERROR_BAD_PATH) : Invalid path: modules/httpauth/classes/HttpAuthPlugin.class

* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 171 (GalleryCoreApi::error)
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 201 (GalleryFactoryHelper_simple::newInstance)
* in modules/core/classes/GalleryCoreApi.class at line 175 (GalleryFactoryHelper_simple::newInstanceById)
* in init.inc at line 182 (GalleryCoreApi::newFactoryInstanceById)
* in main.php at line 197
* in main.php at line 104
* in main.php at line 88

Attached is the complete output of the debug screen.

I'm not sure where to go from here. I've deleted the g2data cache directory, but have not touched anything else. Any advice is greatly appreciated! Thanks!

---
I see a 'Strong ba' in there, but it's getting eaten by
some Linux or something.
-Strong Bad

Txoof

AttachmentSize
error.txt3.84 KB
 
txoof
txoof's picture

Joined: 2006-01-15
Posts: 45
Posted: Fri, 2009-10-16 16:24

I followed one of the howtos and ran an SQL command to deactivate the HTTP auth module, but things are still quite broken. I can still access a running version of the gallery on the old server. Is there something I should do to the running version before making a backup?
---
I see a 'Strong ba' in there, but it's getting eaten by
some Linux or something.
-Strong Bad

Txoof

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-16 16:45

Hey txoof!

On the old server I'd try uninstalling any and all unused and non-critical plugins and make sure you are following these steps:
FAQ: How can I move my gallery installation from one server to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here