Broken g2 after os upgrade. (SOLVED)

artie

Joined: 2005-03-21
Posts: 3
Posted: Mon, 2005-03-21 18:11

Ok to make a long story short. I was using the latest g2 release on my website. I decided to upgrade my os to the latest version of slackware which broke most everything because I had to reinstall netpbm and some other things. I have a intact copy of my g2data directory, when I try to install gallery2 and use my existing g2data directory the core install errors out because the directorys are already there.

Can I just install a fresh copy of g2 and copy my albums back into it?

Whats my best course of action here?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-03-21 18:27

if the g2data dir and database are intact then the installer should work.. if you're using a new db but old g2data it won't work.. try a new install and use add-from-local-server to load the images from the old g2data/albums dir.

 
artie

Joined: 2005-03-21
Posts: 3
Posted: Mon, 2005-03-21 18:43

Ok I reinstalled using my original g2data and database, heres where I run into the original problem. Netpbm is install but it does not show active under the modules, when I try and activate it I get this error.

Error Detail -
Error (ERROR_COLLISION) : CRC mismatch: 340908721 != 3155881288, or Mime type mismatch: !=
in modules/core/classes/helpers/GalleryToolkitHelper_medium.class at line 114 (gallerystatus::error)
in modules/core/classes/GalleryCoreApi.class at line 1664 (gallerytoolkithelper_medium::registeroperation)
in modules/netpbm/module.inc at line 270 (gallerycoreapi::registertoolkitoperation)
in modules/core/AdminModules.inc at line 108 (netpbmmodule::activate)
in main.php at line 166 (adminmodulescontroller::handlerequest)
in main.php at line 46
in main.php at line 39

System Information
Gallery version 2.0-beta-1
PHP version 4.3.10 apache
Webserver Apache/1.3.33 (Unix) PHP/4.3.10
Database mysql 4.0.24
Toolkits Gd
Operating system Linux saruman 2.4.29 #2 SMP Wed Mar 16 11:51:28 CST 2005 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

 
artie

Joined: 2005-03-21
Posts: 3
Posted: Mon, 2005-03-21 18:50

After some searching I found the fix. Thanks guys.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-03-22 10:52

It's always polite to reference the fix so that others reading the post know what you did :-)

My guess is that you deactivated all of your graphics toolkits, then reactivated them all. Was that it?