Server reconfiguration

Garrard
Garrard's picture

Joined: 2007-01-24
Posts: 22
Posted: Mon, 2009-10-19 23:42

Gallery 2 installed and working properly for a few years. Web host recently moved domain to new server. Existing albums appear fine. Process of uploading new photos works as usual. New photos, however, appear in album as broken gif. Checked by FTP and confirm that there's no problem with uploaded new photo file itself. Does Gallery need to be reinstalled?


Gallery version = 2.2.3 core 1.2.0.5
PHP version = 5.2.9 apache
Webserver = Apache
Database = mysqlt 4.1.22-standard, lock.system=flock
Toolkits = ArchiveUpload, LinkItemToolkit, NetPBM, SquareThumb
Acceleration = none, none
Operating system = Linux web21c40 2.6.31 #4 SMP Mon Sep 14 17:41:16 EDT 2009 i686
Default theme = seattle
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0

HGC :: manuscript editor

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-10-20 00:04

Need to make sure this was followed, double check permissions.

FAQ: How can I move my gallery installation from one server to another?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Garrard
Garrard's picture

Joined: 2007-01-24
Posts: 22
Posted: Tue, 2009-10-20 00:43

Many thanks. I'm not clear, however. The webhost migrated the entire website to a new server and transferred all data and the database. You're saying that I still need to reinstall Gallery?

I did check and chmod 777 the g2data directory.

HGC :: manuscript editor

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-10-20 01:19

The paths need to be exactly the same, exactly, the database server needs to be at the same host name, etc.

Double check the paths and database information in config.php and see if everything looks right.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Garrard
Garrard's picture

Joined: 2007-01-24
Posts: 22
Posted: Tue, 2009-10-20 01:51

I went through the (re) installation and all seemed well. Paths are the same. On going to maintenance to rerun everything, the regenerating of thumbnails failed, 3 times.

Memory used: 12083588, total: 128M
Error (ERROR_MISSING_OBJECT) : Missing object for 604
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 2075 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 98 (GalleryStorageExtras::_identifyEntities)
in modules/core/classes/GalleryStorage.class at line 298 (GalleryStorageExtras::loadEntities)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 71 (GalleryStorage::loadEntities)
in modules/core/classes/GalleryCoreApi.class at line 2259 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/core/classes/BuildDerivativesTask.class at line 119 (GalleryCoreApi::loadEntitiesById)
in modules/core/AdminMaintenance.inc at line 90 (BuildDerivativesTask::run)
in ??? at line 0 (AdminMaintenanceController::runTask)
in modules/core/classes/GalleryTemplateAdapter.class at line 915
in /services7/webpages/util/s/e/seattle.site.aplus.net/galleryvault/smarty/templates_c/%%3986715930/%%D1^D1C^D1C5CD21%%theme.tpl.php at line 122 (GalleryTemplateAdapter::trailer)
in lib/smarty/Smarty.class.php at line 1258
in modules/core/classes/GallerySmarty.class at line 61 (Smarty::fetch)
in modules/core/classes/GalleryTemplate.class at line 209 (GallerySmarty::fetch)
in main.php at line 473 (GalleryTemplate::display)
in main.php at line 94
in main.php at line 83

I have zero idea of what to do next.

Thanks in advance.