Xaraya+G2 error on user sync
|
nyback
Joined: 2003-06-15
Posts: 7 |
Posted: Fri, 2006-01-06 00:11
|
|
I started to get errors after upgrading to latest xaraya. I get an error when i try ro syncronize the user data. It has worked perfectly before. Below are two long error messages. I have tries different things but i cannot get it to work. When i upgraded xaraya i also changed xarayas root folder. If i click the gallery2 module config again to re-enter the error is gone and i just get the normal "The current paths seem to be correct. Hit save to synchronize users/groups". I hit "update configuration" (I guess "Hit save" is a bug) to syncronize. Get an error like below and i am back where i started with "[roles module was not hooked..." if i re-enter gallery2 module config. Failed to update G2 user with extId [18]. Here is the error message from G2: <br /> [Error (ERROR_MISSING_OBJECT) : Missing object for 18<ul><li><b>in</b> modules/core/classes/GalleryStorage/DatabaseStorage.class <b>at line</b> 2121 (gallerystatus::error) <li><b>in</b> modules/core/classes/GalleryStorage/DatabaseStorage.class <b>at line</b> 305 (mysqldatabasestorage::_identifyentities) <li><b>in</b> modules/core/classes/GalleryStorage.class <b>at line</b> 118 (mysqldatabasestorage::loadentities) <li><b>in</b> modules/core/classes/helpers/GalleryEntityHelper_simple.class <b>at line</b> 82 (gallerystorage::loadentities) <li><b>in</b> modules/core/classes/helpers/GalleryEntityHelper_simple.class <b>at line</b> 141 (galleryentityhelper_simple::loadentitiesbyid) <li><b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 2225 (galleryentityhelper_simple::loadentitybyexternalid) <li><b>in</b> modules/core/classes/GalleryEmbed.class <b>at line</b> 331 (gallerycoreapi::loadentitybyexternalid) <li><b>in</b> /var/www/nyback.com/htdocs/xaraya/modules/gallery2/xargallery2helper.php <b>at line</b> 351 (galleryembed::updateuser) <li><b>in</b> /var/www/nyback.com/htdocs/xaraya/modules/gallery2/xargallery2helper.php <b>at line</b> 1617 (xargallery2helper::g2updateuser) <li><b>in</b> /var/www/nyback.com/htdocs/xaraya/modules/gallery2/xaradmin/updateconfig.php <b>at line</b> 82 (xargallery2helper::g2xarusergroupimportexport) <li><b>in</b> /var/www/nyback.com/htdocs/xaraya/includes/xarMod.php <b>at line</b> 884<li><b>in</b> /var/www/nyback.com/htdocs/xaraya/index.php <b>at line</b> 93<li><b>in</b> /var/www/nyback.com/htdocs/xaraya/index.php <b>at line</b> 161</ul>] The procedure executed correctly, but the result failed. at g2updateuser(xargallery2helper.php:354) Array [pass] => 3bcaf9c54750292bd576f833275c9c5a ) at g2xarusergroupimportexport(xargallery2helper.php:1617) Array ) at xarmodfunc(xarMod.php:884) Array at xarmain(index.php:93) Second error Funktionen kördes korrekt, men resultatet blev misslyckat. at g2xarusergroupimportexport(xargallery2helper.php:1384) Array ) at xarmodfunc(xarMod.php:884) Array at xarmain(index.php:93) |
|
| Login or register to post comments |

Posts: 32356
please take a look at your database table g2_ExternalIdMap
are there rows for
externalId = 18 and 30?
to what entityIds are they mapped to?
Posts: 7
Right on.
It works now. I had not noticed the externalidmap table before. I deleted some entries in the externalidmap and i got it to work.
It all started when i, after doing the upgrade of xaraya, pressed the "export/import" button to trigger a sync between xaraya and G2. But it timed out after a while. Probably it left something broken between the externalidmap and the user table in G2.
Many thanks. The Xaraya/G2 module is great by the way.
/Andreas
Posts: 32356
good to have such knowledgeable users, makes my job easier
i hope this code will get more stable once we add a progressbar for the synchronization process...