Drupal log errors from Gallery Embed

rkdesantos

Joined: 2004-02-18
Posts: 20
Posted: Mon, 2008-10-27 18:28

I've upgraded to Gallery 2.3 running on Drupal 5.12. Everything shows as "OK" on the Drupal Gallery module settings and everything I've tested seems to be working (the embedded Gallery shows up, the random image blocks work, etc.) but I am getting the following log errors in Drupal:

Type	gallery
Date	Monday, October 27, 2008 - 9:36am
User	Anonymous
Location	http://www.afana.com/drupal5/index.php?q=gallery&g2_view=search.SearchScan&g2_form[useDefaultSettings]=1&g2_return=%2Fdrupal%2Findex.php%3Fq%3Dgallery%26g2_0%3Dgallery%26g2_page%3D6&g2_returnName=album
Referrer	
Message	Error in function '_gallery_init()' (gallery_base.inc:111):

    * Unable to initialize embedded Gallery. You need to configure your embedded Gallery.
      Error (ERROR_PERMISSION_DENIED) : Invalid URL! The requested URL http://www.afana.com/drupal5/index.php?q=gallery&g2_view=search.SearchScan&g2_form[useDefaultSettings]=1&g2_return=%2Fdrupal%2Findex.php%3Fq%3Dgallery%26g2_0%3Dgallery%26g2_page%3D6&g2_returnName=album tried to insert a redirection to /drupal/index.php?q=gallery&g2_0=gallery&g2_page=6 which is not a part of this Gallery.
          o in modules/core/classes/GalleryUrlGenerator.class at line 842 (GalleryCoreApi::error)
          o in modules/core/classes/GalleryUrlGenerator.class at line 795 (GalleryUrlGenerator::assertIsInternalUrl)
          o in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 61 (GalleryUrlGenerator::initNavigation)
          o in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation)
          o in modules/core/classes/GalleryEmbed.class at line 129
          o in /home/afana/public_html/drupal5/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init)
          o in /home/afana/public_html/drupal5/modules/gallery/gallery_base.inc at line 332
          o in /home/afana/public_html/drupal5/modules/gallery/gallery_menu/gallery_menu.module at line 37
          o in ??? at line 0
          o in /home/afana/public_html/drupal5/includes/module.inc at line 406
          o in /home/afana/public_html/drupal5/includes/menu.inc at line 1221
          o in /home/afana/public_html/drupal5/includes/menu.inc at line 220
          o in /home/afana/public_html/drupal5/includes/menu.inc at line 391
          o in /home/afana/public_html/drupal5/index.php at line 15

Severity	error

and also this (but not at the same time):

Type	gallery
Date	Monday, October 27, 2008 - 6:35am
User	Anonymous
Location	http://www.afana.com/drupal5/v/ade_haw_r15
Referrer	
Message	Error in function '_gallery_init()' (gallery_base.inc:111):

    * Unable to initialize embedded Gallery. You need to configure your embedded Gallery.
      Error (ERROR_MISSING_OBJECT) : Parent 7 path ade_haw_r15
          o in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
          o in modules/core/classes/GalleryCoreApi.class at line 1952 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
          o in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
          o in modules/core/classes/GalleryCoreApi.class at line 1901 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
          o in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
          o in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
          o in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
          o in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 56 (RewriteUrlGenerator::_onLoad)
          o in init.inc at line 166 (ModRewriteUrlGenerator::initNavigation)
          o in modules/core/classes/GalleryEmbed.class at line 129
          o in /home/afana/public_html/drupal5/modules/gallery/gallery_base.inc at line 101 (GalleryEmbed::init)
          o in /home/afana/public_html/drupal5/modules/gallery/gallery_base.inc at line 332
          o in /home/afana/public_html/drupal5/modules/gallery/gallery_menu/gallery_menu.module at line 37
          o in ??? at line 0
          o in /home/afana/public_html/drupal5/includes/module.inc at line 406
          o in /home/afana/public_html/drupal5/includes/menu.inc at line 1221
          o in /home/afana/public_html/drupal5/includes/menu.inc at line 220
          o in /home/afana/public_html/drupal5/includes/menu.inc at line 391
          o in /home/afana/public_html/drupal5/index.php at line 15

Severity	error

My current config is this:

Gallery 2.3:
Gallery URL = http://www.afana.com/gallery2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 apache2handler
Webserver = Apache
Database = mysql 5.0.51a-community, lock.system=database
Toolkits = ArchiveUpload, Getid3, LinkItemToolkit, Thumbnail, Gd, 
NetPBM, Ffmpeg, jpegtran, Exif
Acceleration = none/1800, none/900
Operating system = Linux web2.idleserv.net 2.6.9-67.0.7.ELsmp #1 SMP 
Wed Feb 27 04:48:20 EST 2008 i686
Default theme = floatrix
gettext = enabled
Locale = en_US 

and

Drupal 5.12:

Drupal	5.12
Gallery2 embed v5.x-2.2
File system	Writable (public download method)
GD library	bundled (2.0.34 compatible)
MySQL database	5.0.51a
PHP	5.2.6
PHP register globals	Disabled
Unicode library	PHP Mbstring Extension
Web server	Apache

-Rob de Santos
afana.com

 
rkdesantos

Joined: 2004-02-18
Posts: 20
Posted: Fri, 2009-04-10 03:12

I'm still seeing these errors and if anyone has any advice on tracking them down, it would be appreciated.

Thanks!

-Rob de Santos
afana.com