The following occured during the final stage of integration crashing the whole site which was just being resetup after the same error occurred in the development site
Gallery2 setup had been completed succesfully
The home page of the main site is now subject to a 404 error and inaccessible
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_init()' (gallery_base.inc:111):
Unable to initialize embedded Gallery. You need to configure your embedded Gallery.
Error (ERROR_MISSING_OBJECT) : 1 GalleryUser
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 124 (gallerycoreapi::error)
in modules/core/classes/GalleryCoreApi.class at line 2298 (galleryentityhelper_simple::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 215 (gallerycoreapi::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 120 (galleryembed::checkactiveuser)
in gallery/gallery_base.inc at line 101 (galleryembed::init)
in gallery/gallery_base.inc at line 332
in gallery/gallery_menu/gallery_menu.module at line 37
in ??? at line 0
in /homepages/36/d186685211/htdocs/RaA/includes/module.inc at line 406
in /homepages/36/d186685211/htdocs/RaA/includes/menu.inc at line 1221
in /homepages/36/d186685211/htdocs/RaA/includes/menu.inc at line 220
in /homepages/36/d186685211/htdocs/RaA/includes/menu.inc at line 391
in /homepages/36/d186685211/htdocs/RaA/index.php at line 15
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_init()' (gallery_base.inc:111):
Unable to initialize embedded Gallery. You need to configure your embedded Gallery.
Error (ERROR_MISSING_OBJECT) : 1 GalleryUser
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 124 (gallerycoreapi::error)
in modules/core/classes/GalleryCoreApi.class at line 2298 (galleryentityhelper_simple::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 215 (gallerycoreapi::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 120 (galleryembed::checkactiveuser)
in gallery/gallery_base.inc at line 101 (galleryembed::init)
in gallery/gallery_base.inc at line 273
in gallery/gallery_menu/gallery_menu.module at line 111
in gallery/gallery_menu/gallery_menu.module at line 42
in ??? at line 0
in /homepages/36/d186685211/htdocs/RaA/includes/module.inc at line 406
in /homepages/36/d186685211/htdocs/RaA/includes/menu.inc at line 1221
in /homepages/36/d186685211/htdocs/RaA/includes/menu.inc at line 220
in /homepages/36/d186685211/htdocs/RaA/includes/menu.inc at line 391
in /homepages/36/d186685211/htdocs/RaA/index.php at line 15
Comments
Comment #1
profix898 commentedThere is something wrong with the user mapping between G2 and Drupal. Did you have this G2 instance integrated with another system before (not necessarily a Drupal install)? Please check the "externalidmap" table in G2 for existing entries and/or empty the table before proceeding.
Comment #2
rogerwebb commentedThe error message also prevents further entry into the whole site - so I've had to rebuild from scratch and am unabe to check the "externalidmap"
There were no previous connections. G2 was loaded anew and this was the first initiation
i assume the table you speak to is in the databases back at the host.
I have set g2 up again without the links but would vastly prefer to have it linked in properly because i am a bif user of og groups
Comment #3
profix898 commentedDo you have URL Rewrite enabled? If so, can you please try again with rewrite disabled (or skip the step during embedded configuration)? You may also check your Drupal .htaccess for this problem: http://codex.gallery2.org/Integration:Drupal:Troubleshooting#Error_.28ER...
Comment #4
himerus commentedI'm having a similar problem...
when I tried to complete the final stage of configuration of the gallery module (the standalone site is working great) (fresh install), now I get the following messages, can't access the module page to disable the modules unless I go in and manually delete all the entries.
warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/virtual/site7/fst/var/www/html/includes/menu.inc on line 415.
Status
* Overall Status (Installation) [Error]
* Gallery2 API version: 7.18 / 1.2
I really need to get this working... I've tried every #@#$ image package available for Drupal, and they all suck in my opinion, and this looks like a great standalone product, and getting it integrated properly would be a huge bonus for what I'm trying to accomplish.
Thanks!
Comment #5
profix898 commented@himerus: I cant see how your problem is related here ... please create a new issue and dont hijack this one unless you are really experiencing the same problem as rogerwebb. Thx.
However, as a general guide you should try to 1. disable URL Rewrite in G2 and 2. disable all Gallery* modules (except the main module, of course). Then visit the "Install" tab and re-configure embedded gallery.
Comment #6
profix898 commentedCan you please get the latest -dev version (or update gallery_install.inc) and try again? I just committed a bugfix that should fix the issue. Please reopen if the problem persists.
Note that this problem does only exist if GalleryMenu is enabled during initial configuration of the embedded gallery.
Comment #7
rogerwebb commentedI'm away from home until the end feb but qill try as you ask as soon as i can
Roger
Comment #8
rogerwebb commentedHave tried your bugfix but the usersync still doesn't work
The integration goes just fine with the address of gallery2 being
/modules/gallery2/
The set up of gallery2 seems to be ok but as it is empty can give you admin access under
username: rogerwebb
password; pictures
As the site is undergoing total rebuild at present i can give you temporary webmaster access to
www.retiredbutactive.org under
username; gallery2
password; pictures
to see the problem.
You might note that og-groups is activated and this might be causing the problem
Thanks in advance
Roger
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.