problems in g2_factorymap

aihugongwu

Joined: 2003-06-05
Posts: 22
Posted: Sat, 2005-03-26 16:02

after i did the latest cvs update, and the upgrade(include the db) finished with no error. but at the first access to my gallery root, i got:

Error Detail - 
Error (ERROR_BAD_PATH) : Invalid path: modules/core/classes/GalleryAlbumItem.clas
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\helpers\GalleryFactoryHelper_simple.class at line 203 (gallerystatus::error) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\GalleryCoreApi.class at line 107 (galleryfactoryhelper_simple::newinstance) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 2115 (gallerycoreapi::newfactoryinstance) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\GalleryStorage\DatabaseStorage.class at line 329 (mysqldatabasestorage::_describeentitymembers) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\GalleryStorage.class at line 113 (mysqldatabasestorage::loadentities) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\helpers\GalleryEntityHelper_simple.class at line 82 (gallerystorage::loadentities) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\GalleryCoreApi.class at line 2055 (galleryentityhelper_simple::loadentitiesbyid) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\GalleryView.class at line 308 (gallerycoreapi::loadentitiesbyid) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\ShowItem.inc at line 44 (showitemview::_getitem) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\modules\core\classes\GalleryView.class at line 198 (showitemview::getthemename) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\main.php at line 293 (showitemview::doloadtemplate) 
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\main.php at line 79
in G:\tadajava\Apache Group\Apache2\htdocs\sejishikong\main.php at line 70

and when i have a check of the "g2_factorymap" table, data in the 'g_implPath' is broken,
something like "modules/core/classes/GalleryAlbumItem.clas" and "modules/core/classes/GalleryUnknownItem.cl", and " modules/core/classes/GalleryAnimationItem. " and ...

a db crash? help please.


Gallery version 2.0-beta-1+
PHP version 4.3.4 apache2handler
Webserver Apache/2.0.45 (Win32) PHP/4.3.4 DAV/2
Database mysql 4.1.10a-nt
Toolkits ImageMagick, NetPBM
Operating system Windows NT LONG1 5.1 build 2600
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; MyIE2; Maxthon)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-03-26 21:06

i have no idea how that could happen, but probably your best bet it to fix those values.. looks like each has enough of the string for you to figure out what it should be.. if any got truncated too far post the values for that whole row and we can help figure it out.