Problem with activating my members

bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Mon, 2009-10-19 18:56

Hi there,

I have to activate my members as the admin. But when I try to the following error message appears:

Error (ERROR_COLLISION)
in modules/core/classes/GalleryUser.class at line 149 (GalleryCoreApi::error)
in modules/register/classes/GalleryPendingUserHelper.class at line 333 (GalleryUser::create)
in modules/register/AdminSelfRegistration.inc at line 67 (GalleryPendingUserHelper::createGalleryUser)
in main.php at line 250 (AdminSelfRegistrationController::handleRequest)
in main.php at line 104
in main.php at line 88
System Information
Gallery version	 2.3
PHP version	 5.2.10 apache2handler
Webserver	 Apache/2.2
Database	 mysqli 5.0.32-Debian_7etch11-log
Toolkits	 Thumbnail, Gd
Operating system	 Linux wp189 2.6.30.2-he-xeon-64gb+4 #1 SMP Sat Aug 15 15:25:21 CEST 2009 i686
Browser	 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Iron/3.0.197.0 Safari/532.0

Can anybody help me?

 
bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Mon, 2009-10-19 19:11

I found out that there are also problems with the registration. An error occurs (not specified) but the members appear in my list.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-10-19 19:19

Put gallery into debug mode, try to activate a user, and copy and paste the debug output from the same page you have the error on into a text file, zip it and attach to this thread.
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Mon, 2009-10-19 19:27

I did so. See the result:

AttachmentSize
debog-log.pdf96.41 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-10-19 19:32

Sorry, don't need the smarty debug popup, but the debug output on the main page.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Mon, 2009-10-19 19:32

There were two windows appearing...

AttachmentSize
debug-log2.pdf88.19 KB
 
bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Mon, 2009-10-19 19:35

Got it now, sorry.

Debug Output

file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter session.lifetime for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/core/0/0/0.inc) getParameter session.inactivityTimeout for core plugin
(mysqli): SET NAMES "utf8"  
(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1  
(mysqli): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='46717792b35965e4c23d64f24cd391f8'  
controller register.AdminSelfRegistration, view Loading plugin core Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/module.inc) core plugin successfully instantiated file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/versions.dat) file(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/versions.dat, ) [1255980884] can't guarantee 5 -- extending! file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/0/0/6.inc) Loading plugin register Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/register/module.inc) register plugin successfully instantiated Check the version of the register plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the register plugin is ok file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/register/AdminSelfRegistration.inc) getParameter id.adminGroup for core plugin
(mysqli): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=6 AND g_groupId=3 LIMIT 1  
getParameter session.siteAdministrationTimeout for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/1/4/1408.inc)
(mysqli): SELECT g2_User.g_id FROM g2_User WHERE g2_User.g_userName = 'a145543' LIMIT 1  
getParameter id.adminGroup for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/httpauth/module.inc) getParameter default.theme for core plugin Loading plugin carbon Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/themes/carbon/theme.inc) carbon plugin successfully instantiated Check the version of the carbon plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the carbon plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter smarty.compile_check for core plugin getParameter id.adminGroup for core plugin realpath(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/classes/../../../) realpath(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/)
(mysqli): SELECT g_mimeType, g_toolkitId, g_priority FROM g2_TkOperatnMimeTypeMap WHERE g_operationName='thumbnail' ORDER BY g_mimeType ASC, g_priority ASC  
getParameter id.rootAlbum for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/0/0/7.inc) getParameter default.theme for core plugin Loading plugin carbon carbon plugin successfully instantiated Check the version of the carbon plugin The version of the carbon plugin is ok file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) is_dir(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) is_writeable(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon/v_14) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/theme/_all/localUrlMap.txt) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/lib/javascript/local/BlockToggle.js) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/../../themes/carbon/local/theme.css)
 
bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Tue, 2009-10-20 04:10

Is this the correct debug file now?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-10-20 11:50

It looks right, but is that all of it? Seems to be quite a bit shorter than it should be.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Fri, 2009-10-23 16:33

It only looks more in gallery2, seems so. Below there' no LF.

Debug Output

file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter session.lifetime for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/core/0/0/0.inc) getParameter session.inactivityTimeout for core plugin
(mysqli): SET NAMES "utf8"  
(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1  
(mysqli): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='c4894d936a12709b9fe017767c3c4296'  
controller register.AdminSelfRegistration, view Loading plugin core Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/module.inc) core plugin successfully instantiated file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/versions.dat) file(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/versions.dat, ) [1256315369] can't guarantee 5 -- extending! file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/0/0/6.inc) Loading plugin register Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/register/module.inc) register plugin successfully instantiated Check the version of the register plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the register plugin is ok file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/register/AdminSelfRegistration.inc) getParameter id.adminGroup for core plugin
(mysqli): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=6 AND g_groupId=3 LIMIT 1  
getParameter session.siteAdministrationTimeout for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/1/4/1408.inc)
(mysqli): SELECT g2_User.g_id FROM g2_User WHERE g2_User.g_userName = 'a145543' LIMIT 1  
getParameter id.adminGroup for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/httpauth/module.inc) getParameter default.theme for core plugin Loading plugin carbon Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/themes/carbon/theme.inc) carbon plugin successfully instantiated Check the version of the carbon plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the carbon plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter smarty.compile_check for core plugin getParameter id.adminGroup for core plugin realpath(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/classes/../../../) realpath(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/)
(mysqli): SELECT g_mimeType, g_toolkitId, g_priority FROM g2_TkOperatnMimeTypeMap WHERE g_operationName='thumbnail' ORDER BY g_mimeType ASC, g_priority ASC  
getParameter id.rootAlbum for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/0/0/7.inc) getParameter default.theme for core plugin Loading plugin carbon carbon plugin successfully instantiated Check the version of the carbon plugin The version of the carbon plugin is ok file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) is_dir(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) is_writeable(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon/v_14) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/theme/_all/localUrlMap.txt) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/lib/javascript/local/BlockToggle.js) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/../../themes/carbon/local/theme.css)
 
bastelkoenig

Joined: 2009-10-19
Posts: 8
Posted: Fri, 2009-10-23 16:40

There must be bigger problems. I even get an error message, when I try to put my gallery2 into maintenance mode.
My files are writable as well.

Warning: fopen() [function.fopen]: Filename cannot be empty in /is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/classes/GalleryPlatform.class on line 373

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/classes/GalleryPlatform.class:373) in /is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/classes/GalleryPhpVm.class on line 142
Platform Error
An error has occurred while interacting with the platform.

The exact nature of the platform error is unknown. A common cause are insufficient file system permissions. This can happen if you or your webhost changed something in the file system, e.g. by restoring data from a backup.
Back to the Gallery

Error Detail -
Error (ERROR_PLATFORM_FAILURE) : Can't write to the versions file
in modules/core/classes/helpers/MaintenanceHelper_simple.class at line 155 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 3298 (MaintenanceHelper_simple::setMaintenanceMode)
in modules/core/AdminMaintenance.inc at line 95 (GalleryCoreApi::setMaintenanceMode)
in main.php at line 250 (AdminMaintenanceController::handleRequest)
in main.php at line 104
in main.php at line 88
System Information
Gallery version	 2.3
PHP version	 5.2.10 apache2handler
Webserver	 Apache/2.2
Database	 mysqli 5.0.32-Debian_7etch11-log
Toolkits	 Thumbnail, Gd
Operating system	 Linux wp189 2.6.30.2-he-xeon-64gb+4 #1 SMP Sat Aug 15 15:25:21 CEST 2009 i686
Browser	 Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Iron/3.0.197.0 Safari/532.0
Debug Output

file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter session.lifetime for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/core/0/0/0.inc) getParameter session.inactivityTimeout for core plugin
(mysqli): SET NAMES "utf8"  
(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1  
(mysqli): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='c4894d936a12709b9fe017767c3c4296'  
controller core.AdminMaintenance, view Loading plugin core Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/module.inc) core plugin successfully instantiated file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/versions.dat) file(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/versions.dat, ) [1256315787] can't guarantee 5 -- extending! file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/0/0/6.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/AdminMaintenance.inc) getParameter id.adminGroup for core plugin
(mysqli): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=6 AND g_groupId=3 LIMIT 1  
getParameter session.siteAdministrationTimeout for core plugin Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok Update versions file with maintenance mode file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data) is_dir(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data) Error: Can't write to versions file getParameter id.adminGroup for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/httpauth/module.inc) getParameter default.theme for core plugin Loading plugin carbon Class not defined, trying to include it. file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/themes/carbon/theme.inc) carbon plugin successfully instantiated Check the version of the carbon plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the carbon plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter smarty.compile_check for core plugin getParameter id.adminGroup for core plugin realpath(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/classes/../../../) realpath(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/)
(mysqli): SELECT g_mimeType, g_toolkitId, g_priority FROM g2_TkOperatnMimeTypeMap WHERE g_operationName='thumbnail' ORDER BY g_mimeType ASC, g_priority ASC  
getParameter id.rootAlbum for core plugin file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/entity/0/0/7.inc) getParameter default.theme for core plugin Loading plugin carbon carbon plugin successfully instantiated Check the version of the carbon plugin The version of the carbon plugin is ok file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) is_dir(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) is_writeable(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/smarty/templates_c/%%667035169/carbon/v_14) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/g2data/cache/theme/_all/localUrlMap.txt) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/lib/javascript/local/BlockToggle.js) file_exists(/is/htdocs/wp1161507_3KCGNSNFAT/www/galerie/modules/core/../../themes/carbon/local/theme.css)
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-23 16:43
Quote:
Error (ERROR_PLATFORM_FAILURE) : Can't write to the versions file

Double check your permissions on your g2data directory and it's sub-directories and files.

FAQ: I get a ERROR_PLATFORM_FAILURE, what should I do?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here