Syncing fails

Ryanbach - September 22, 2007 - 18:46
Project:Gallery
Version:5.x-2.0-beta1
Component:User Synchronization
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Go to admin/user/gallery and try to sync anywhere, it never seems to work here is the report:

[code]A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
Error in function 'gallery_handle_request()' (gallery_base.inc:144):
Error (ERROR_MISSING_OBJECT) : Parent 7 path users
in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 1853 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
in modules/core/classes/GalleryCoreApi.class at line 1804 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 37 (RewriteUrlGenerator::_onLoad)
in init.inc at line 147 (ModRewriteUrlGenerator::initNavigation)
in main.php at line 180
in main.php at line 94
in modules/core/classes/GalleryEmbed.class at line 179
in /home/werry/username/webdomain.com/sites/all/modules/gallery/gallery_base.inc at line 130 (GalleryEmbed::handleRequest)
in /home/werry/username/webdomain.com/sites/all/modules/gallery/gallery.module at line 377
in ??? at line 0
in /home/werry/username/webdomain.com/includes/menu.inc at line 418
in /home/werry/username/webdomain.com/index.php at line 15
[/code]

Any clue as to where the problem lies? Maybe the the profile module, because I had some errors when trying to enable it... Is there a way to remove all tables related to the profile module so I can reinstall it?

#1

Ryanbach - September 22, 2007 - 19:44

* Gallery2 API version: 7.18 / 1.2
* Overall Status (Installation) [Error]

"Site Admin -> Maintenance -> System information"

Last Run Details:

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 5.2.3 cgi-fcgi
Webserver = Apache/2.0.54 (Unix) PHP/4.4.7 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Database = mysql 5.0.24a-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, Thumbnail, Gd, LinkItemToolkit
Acceleration = none, none
Operating system = Linux dionysus 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+tg+++opt+c8+gr2b-v6.194 #1 SMP Tue Jun 6 15:52:09 PDT 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.6) Gecko/20070730 SUSE/2.0.0.6-10.1 Firefox/2.0.0.6
Rows in GalleryAccessMap table = 19
Rows in GalleryAccessSubscriberMap table = 10
Rows in GalleryUser table = 3
Rows in GalleryItem table = 6
Rows in GalleryAlbumItem table = 2
Rows in GalleryCacheMap table = 0

#2

profix898 - September 23, 2007 - 11:23

The 'System information' from Gallery2 is little helpful in your case. I guess G2 is working fine standalone?! Its most likely an option of embedded gallery you're tripping over. 'Overall Status (Installation) [Error]' tells you that there is something wrong. What does the 'install' page (admin/settings/gallery/install) show? Any errors/warning? Maybe URL Rewrite settings?

#3

sgriffin - September 23, 2007 - 19:49

Object missing in my experience was a missing g2 entity record associated with a g2 user or g2 group.

I think gallery2 can survive without these, but you may see an error if you go to that particular use..

How I would fix it.. is sort your user and groups tables, and check against a sorted entity table. Then insert any missing records.

#4

Ryanbach - September 24, 2007 - 23:03

Thank you both.

"I guess G2 is working fine standalone?!"
Yes, it does you are correct.

"Its most likely an option of embedded gallery you're tripping over. 'Overall Status (Installation) [Error]' tells you that there is something wrong. What does the 'install' page (admin/settings/gallery/install) show? Any errors/warning? Maybe URL Rewrite settings?"

I only enabled one URL Rewrite setting and it is listed here: http://codex.gallery2.org/Integration:Drupal:Installation

Here is the error I get:

    *

      A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
    * Error in function 'gallery_handle_request()' (gallery_base.inc:144):
          o Error (ERROR_MISSING_OBJECT) : Parent 7 path install
                + in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
                + in modules/core/classes/GalleryCoreApi.class at line 1853 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
                + in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
                + in modules/core/classes/GalleryCoreApi.class at line 1804 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
                + in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
                + in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
                + in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
                + in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 37 (RewriteUrlGenerator::_onLoad)
                + in init.inc at line 147 (ModRewriteUrlGenerator::initNavigation)
                + in main.php at line 180
                + in main.php at line 94
                + in modules/core/classes/GalleryEmbed.class at line 179
                + in /home/.name/username/domainname.com/sites/all/modules/gallery/gallery_base.inc at line 130 (GalleryEmbed::handleRequest)
                + in /home/.name/username/domainname.com/sites/all/modules/gallery/gallery.module at line 377
                + in ??? at line 0
                + in /home/.name/username/domainname.com/includes/menu.inc at line 418
                + in /home/.name/username/domainname.com/index.php at line 15

#5

Ryanbach - September 24, 2007 - 23:10

Thank you both.

"I guess G2 is working fine standalone?!"
Yes, it does you are correct.

"Its most likely an option of embedded gallery you're tripping over. 'Overall Status (Installation) [Error]' tells you that there is something wrong. What does the 'install' page (admin/settings/gallery/install) show? Any errors/warning? Maybe URL Rewrite settings?"

I only enabled one URL Rewrite setting and it is listed here: http://codex.gallery2.org/Integration:Drupal:Installation

Here is the error I get:

    *

      A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
    * Error in function 'gallery_handle_request()' (gallery_base.inc:144):
          o Error (ERROR_MISSING_OBJECT) : Parent 7 path install
                + in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 98 (GalleryCoreApi::error)
                + in modules/core/classes/GalleryCoreApi.class at line 1853 (GalleryFileSystemEntityHelper_simple::fetchChildIdByPathComponent)
                + in modules/core/classes/helpers/GalleryFileSystemEntityHelper_simple.class at line 53 (GalleryCoreApi::fetchChildIdByPathComponent)
                + in modules/core/classes/GalleryCoreApi.class at line 1804 (GalleryFileSystemEntityHelper_simple::fetchItemIdByPath)
                + in modules/rewrite/classes/RewriteSimpleHelper.class at line 45 (GalleryCoreApi::fetchItemIdByPath)
                + in ??? at line 0 (RewriteSimpleHelper::loadItemIdFromPath)
                + in modules/rewrite/classes/RewriteUrlGenerator.class at line 103
                + in modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class at line 37 (RewriteUrlGenerator::_onLoad)
                + in init.inc at line 147 (ModRewriteUrlGenerator::initNavigation)
                + in main.php at line 180
                + in main.php at line 94
                + in modules/core/classes/GalleryEmbed.class at line 179
                + in /home/.name/username/domainname.com/sites/all/modules/gallery/gallery_base.inc at line 130 (GalleryEmbed::handleRequest)
                + in /home/.name/username/domainname.com/sites/all/modules/gallery/gallery.module at line 377
                + in ??? at line 0
                + in /home/.name/username/domainname.com/includes/menu.inc at line 418
                + in /home/.name/username/domainname.com/index.php at line 15

#6

sgriffin - September 25, 2007 - 04:21

When I tried to attach a gallery outside of the normal permissions of the domain it didn't work..
Do you have a similar multi-domain server?

If so, you might want to move your whole gallery, into your current domain, and duplicate the db with appropriate user permissions.

Otherwise, you might be digging into to the world of group nobody permissions, to see whats wrong.
URL rewrite is not necessary to embed gallery.
Does it work if you don't enable that?

#7

profix898 - October 29, 2007 - 10:33
Component:User synchronization» User Synchronization
Status:active» closed

Is this still a valid issue? No answer in over a month. I guess Ryanbach gave up and/or is no longer playing the module for some other reason. Closing.

 
 

Drupal is a registered trademark of Dries Buytaert.