Drypal 4.7 + G2 and Bad Path Error

stenjo

Joined: 2006-03-17
Posts: 6
Posted: Sat, 2006-09-23 22:21

Hi!
I'm integrating the Gallery2 into Drupal 4.7 at the site http://test.kinflicks.no/?q=gallery
- well, actually I'm moving it from a PHPBB integration to the Drupal site, and I keep getting the following error:

Error

An error has occurred.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PATH) : Invalid path: modules/newitems/classes/NewItemsSortOrder.class

* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 208 (gallerycoreapi::error)
* in modules/core/classes/helpers/GalleryFactoryHelper_medium.class at line 59 (galleryfactoryhelper_simple::newinstance)
* in modules/core/classes/GalleryCoreApi.class at line 126 (galleryfactoryhelper_medium::newinstancebyid)
* in modules/core/classes/helpers/GalleryChildEntityHelper_simple.class at line 665 (gallerycoreapi::newfactoryinstancebyid)
* in modules/core/classes/helpers/GalleryChildEntityHelper_simple.class at line 245 (gallerychildentityhelper_simple::_getorderinfo)
* in modules/core/classes/helpers/GalleryChildEntityHelper_simple.class at line 117 (gallerychildentityhelper_simple::_fetchchilditemids)
* in modules/core/classes/GalleryCoreApi.class at line 2477 (gallerychildentityhelper_simple::fetchchilditemids)
* in modules/core/classes/GalleryTheme.class at line 875 (gallerycoreapi::fetchchilditemids)
* in modules/core/classes/GalleryView.class at line 325 (stempelhobbytheme::loadtemplate)
* in main.php at line 386 (showitemview::doloadtemplate)
* in main.php at line 87
* in modules/core/classes/GalleryEmbed.class at line 192
* in /hsphere/local/home/kinflick/test.kinflicks.no/modules/gallery/gallery.module at line 206 (galleryembed::handlerequest)
* in ??? at line 0
* in /hsphere/local/home/kinflick/test.kinflicks.no/includes/menu.inc at line 418
* in /hsphere/local/home/kinflick/test.kinflicks.no/index.php at line 15

System Information
Gallery version 2.1.2
PHP version 4.4.3 apache
Webserver Apache/1.3.36 (Unix) PHP/4.4.3 mod_throttle/3.1.2 FrontPage/5.0.2.2623 mod_psoft_traffic/0.1 mod_ssl/2.8.27 OpenSSL/0.9.7a
Database mysql 4.1.21-log
Toolkits ImageMagick, Gd
Operating system Linux serve031.servetheworld.net 2.6.9-42.0.2.ELsmp #1 SMP Wed Aug 23 00:17:26 CDT 2006 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

This error seem to appeat when I try and visit one of the albums on the root level. Two of them works fine, but the third fails, creating this error.
Anyone able to give me a clue as to what is happening?

/Sten

 
kiz_0987

Joined: 2005-02-27
Posts: 189
Posted: Mon, 2006-09-25 11:29

Does this happen in the standalone gallery or only via drupal?

Note that going from an old phpBB-embedded gallery to a drupal one with the old database will cause some issues. Gallery2 maps the embed ap userid to the gallery2 one. This will be different for you phpBB users vs your drupal users. I recommend removing the old phpbb users from the database in the g2_ExternalIdMap. I doubt that this is causing the error above though -- it would just introduce errors in the user mapping.

 
stenjo

Joined: 2006-03-17
Posts: 6
Posted: Mon, 2006-09-25 14:40

Thanks for your suggestion. The problem persists also in standalone.
I'll follow up on your suggestion to remove the g2_ExternalIdMap.

/Sten