[Resolved] Unable to login after upgrade

Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Mon, 2007-04-30 20:34

I've just upgraded to version 2.2.1. And after having problems with the installation I finally got the gallery to work again (see thread http://gallery.menalto.com/node/63959). However, I am faced with another problem now, I can not login anymore.

I've read the FAQ http://codex.gallery2.org/Gallery2:FAQ#I_can.27t_login_anymore.2C_what_can_I_do_now.3F but none of that helped me. Any clues as to what I can do?

BR Ironhook

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-04-30 20:47

please explain what happens when submit the login form.
do you get a warning? an error?
already tried to login with debug mode set to "buffered" ? any errors shown?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Mon, 2007-04-30 22:42

After clearing the cache as shown in the FAQ all that happens as I try to login is that I get sent back to the top page, but I remain not logged in. Before I cleaned the cache, when I tried to login, I got the login screen with the two fields to fill in; user: and passord: but I also got the "auto generated number screen" and was asked to fill in that number in the subsequent field.

When I try with debug mode on I get this info:

When clicking on the login link:

Debug Output
file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter session.lifetime for core plugin file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/core/0/0/0.inc) getParameter session.inactivityTimeout for core plugin (mysql): SET NAMES "utf8" file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/_all/0/0/GalleryStorage_describeMap.inc) (mysql): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='617a2c39f456c59783f2230100d7f419' controller , view core.UserAdmin Loading plugin core Class not defined, trying to include it. file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/module.inc) core plugin successfully instantiated file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/versions.dat) file(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/versions.dat, ) getParameter id.anonymousUser for core plugin [1177972675] can't guarantee 5 -- extending! file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/entity/0/0/5.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/UserAdmin.inc) getParameter acceleration for core plugin getParameter id.anonymousUser for core plugin getParameter acceleration for core plugin getParameter id.anonymousUser for core plugin (mysql): SELECT g2_Group.g_id, g2_Group.g_groupName FROM g2_UserGroupMap, g2_Group WHERE g2_Group.g_id = g2_UserGroupMap.g_groupId AND g2_UserGroupMap.g_userId = 5 ORDER BY g2_Group.g_groupName LIMIT 2147483647 (mysql): SELECT g_module, g_permission, g_description, g_bits, g_flags FROM g2_PermissionSetMap (mysql): SELECT DISTINCT g2_AccessMap.g_accessListId FROM g2_AccessMap WHERE g2_AccessMap.g_userOrGroupId IN (5,4) AND g2_AccessMap.g_permission & 1 = 1 (mysql): SELECT g_value FROM g2_CacheMap WHERE g_key='ef6415d40ce540405a36d03d0484aeeb' AND g_type='page' AND g_userId=5 AND g_timestamp >1177969075 AND g_isEmpty=0 getParameter id.anonymousUser for core plugin getParameter id.adminGroup for core plugin (mysql): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=5 AND g_groupId=3 LIMIT 1 getParameter id.rootAlbum for core plugin file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/entity/0/0/7.inc) getParameter default.theme for core plugin Loading plugin carbon Class not defined, trying to include it. file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/themes/carbon/theme.inc) carbon plugin successfully instantiated Check the version of the carbon plugin file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the carbon plugin is ok file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/theme/carbon/0/0/0.inc) Loading plugin register Class not defined, trying to include it. file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/register/module.inc) register plugin successfully instantiated Check the version of the register plugin The version of the register plugin is ok getParameter id.anonymousUser for core plugin Loading plugin watermark Class not defined, trying to include it. file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/watermark/module.inc) watermark plugin successfully instantiated Check the version of the watermark plugin The version of the watermark plugin is ok getParameter id.anonymousUser 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 getParameter id.anonymousUser for core plugin getParameter id.adminGroup 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 Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core 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 file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/UserLogin.inc) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../themes/local/carbon) getParameter misc.markup for core plugin file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/search/Preloads.inc) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/Preloads.inc) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/albumselect/Preloads.inc) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/Preloads.inc) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/comment/Preloads.inc) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/icons/classes/IconsImpl.class) getParameter iconpack for icons plugin file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/icons/0/0/0.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok (mysql): SELECT g_parentSequence FROM g2_ItemAttributesMap WHERE g_itemId=7 (mysql): SELECT g2_AccessSubscriberMap.g_itemId, BIT_OR(g2_AccessMap.g_permission) FROM g2_AccessMap, g2_AccessSubscriberMap WHERE g2_AccessSubscriberMap.g_itemId IN (7) AND g2_AccessSubscriberMap.g_accessListId = g2_AccessMap.g_accessListId AND g2_AccessMap.g_userOrGroupId IN (5,4) GROUP BY g2_AccessSubscriberMap.g_itemId Loading plugin register register plugin successfully instantiated Check the version of the register plugin The version of the register plugin is ok getParameter id.anonymousUser for core plugin Loading plugin useralbum Class not defined, trying to include it. file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/useralbum/module.inc) useralbum plugin successfully instantiated Check the version of the useralbum plugin The version of the useralbum plugin is ok file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/useralbum/0/0/0.inc) getParameter id.anonymousUser 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 getParameter id.adminGroup for core plugin getParameter id.anonymousUser for core plugin file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/smarty/templates_c/%%3986650884) is_dir(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/smarty/templates_c/%%3986650884) file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/smarty/templates_c/%%3986650884) is_writeable(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/smarty/templates_c/%%3986650884) file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/smarty/templates_c/%%3986650884/v_12) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/local/theme.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/theme.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/theme.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../modules/core/data/local/gallery.css) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../modules/albumselect/local/dtree.css) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../modules/icons/iconpacks/paularmstrongdesigns/local/icons.css) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../modules/search/local/SearchBlock.js) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../modules/albumselect/local/dtree.js) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/../../themes/carbon/local/theme.css) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../themes/carbon/local/theme.css) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../images/local/galleryLogo_sm.gif) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/local/ads.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/ads.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/ads.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/local/SystemLinks.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/SystemLinks.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/SystemLinks.tpl) Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core 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 Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core 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 file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/local/BreadCrumb.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/BreadCrumb.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/BreadCrumb.tpl) getParameter id.rootAlbum for core plugin getParameter misc.markup for core plugin file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/local/admin.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/admin.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//themes/carbon/templates/admin.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/local/UserAdmin.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/UserAdmin.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/UserAdmin.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/local/NavigationLinks.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/NavigationLinks.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/NavigationLinks.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/local/UserLogin.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/UserLogin.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/UserLogin.tpl) Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core 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 validation.level for core plugin file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/captcha/classes/CaptchaValidationPlugin.inc) getParameter failedAttemptThreshold for captcha plugin file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/captcha/0/0/0.inc) getParameter failCount-core.UserLogin. for captcha plugin Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/classes/../../../images/local/gallery.gif) Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin Loading plugin core core plugin successfully instantiated getParameter id.adminGroup for core plugin file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/local/GuestPreview.tpl) file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/GuestPreview.tpl) stat(/mnt/w0111/d39/s34/a000lbb7/www/gallery2//modules/core/templates/blocks/GuestPreview.tpl)

And when I try to enter username and password:

Debug Redirect
Not automatically redirecting you to the next page because we're in debug mode
Continue to the next page

file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
Unimplemented: GalleryUrlGenerator
getParameter session.lifetime for core plugin
file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/core/0/0/0.inc)
getParameter session.inactivityTimeout for core plugin

(mysql): SET NAMES "utf8"

file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/_all/0/0/GalleryStorage_describeMap.inc)

(mysql): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp,
g_modificationTimestamp, g_data FROM g2_SessionMap WHERE
g_id='51eb89f9a9543d2cae3c7efc49d9d02a'

controller core.UserLogin, view
Loading plugin core
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/module.inc)
core plugin successfully instantiated
file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/versions.dat)
file(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/versions.dat,
)
getParameter id.anonymousUser for core plugin
[1177972513] can't guarantee 5 -- extending!
file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/entity/0/0/5.inc)
Loading plugin core
core plugin successfully instantiated
Check the version of the core plugin
file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
The version of the core plugin is ok
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/core/UserLogin.inc)

(mysql): SELECT g_count, g_lastAttempt FROM g2_FailedLoginsMap WHERE
g_userName='admin'

(mysql):
SELECT
g2_User.g_id
FROM
g2_User
WHERE
g2_User.g_userName = 'admin'

file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/entity/0/0/6.inc)
getParameter validation.level for core plugin
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/captcha/classes/CaptchaValidationPlugin.inc)
getParameter failedAttemptThreshold for captcha plugin
file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/captcha/0/0/0.inc)
getParameter failCount-core.UserLogin.admin for captcha plugin
Loading plugin albumselect
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/albumselect/module.inc)
albumselect plugin successfully instantiated
Loading plugin comment
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/comment/module.inc)
comment plugin successfully instantiated
Loading plugin customfield
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/customfield/module.inc)
customfield plugin successfully instantiated
Loading plugin hidden
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/hidden/module.inc)
hidden plugin successfully instantiated
Loading plugin imageblock
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/imageblock/module.inc)
imageblock plugin successfully instantiated
Loading plugin linkitem
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/linkitem/module.inc)
linkitem plugin successfully instantiated
Loading plugin password
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/password/module.inc)
password plugin successfully instantiated
Loading plugin permalinks
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/permalinks/module.inc)
permalinks plugin successfully instantiated
Loading plugin rating
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/rating/module.inc)
rating plugin successfully instantiated
Loading plugin rss
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/rss/module.inc)
rss plugin successfully instantiated
Loading plugin sizelimit
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/sizelimit/module.inc)
sizelimit plugin successfully instantiated
Loading plugin thumbnail
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/thumbnail/module.inc)
thumbnail plugin successfully instantiated
Loading plugin useralbum
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/useralbum/module.inc)
useralbum plugin successfully instantiated
Loading plugin watermark
Class not defined, trying to include it.
file_exists(/mnt/w0111/d39/s34/a000lbb7/www/gallery2/modules/watermark/module.inc)
watermark plugin successfully instantiated
Loading plugin core
core plugin successfully instantiated
getParameter loginRedirect for useralbum plugin
file_exists(/mnt/w0504/d39/s34/a000lbb7/www/gallery2/g2data_apankuk/cache/module/useralbum/0/0/0.inc)

(mysql): DELETE FROM g2_FailedLoginsMap WHERE g_userName='admin'

(mysql): DELETE FROM g2_SessionMap WHERE
g_id='51eb89f9a9543d2cae3c7efc49d9d02a'

getParameter cookie.domain for core plugin
getParameter cookie.path for core plugin
getParameter session.lifetime 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
getParameter id.anonymousUser for core plugin

(mysql): INSERT INTO g2_SessionMap (g_id, g_userId, g_remoteIdentifier,
g_creationTimestamp, g_modificationTimestamp, g_data) VALUES
('617a2c39f456c59783f2230100d7f419',6,'a:2:{i:0;s:14:\"81.216.131.105\";i:1;s:32:\"3de5aa901fb8a9ddec2e189e3449cea1\";}',1177972514,1177972514,'a:7:{s:13:\"core.language\";s:5:\"en_US\";s:15:\"core.navigation\";a:10:{s:9:\"x60bfd49b\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:1:{s:9:\"x6aac2546\";b:1;}}s:9:\"x6aac2546\";a:2:{s:4:\"data\";a:3:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:0:\"\";s:11:\"returnNavId\";s:9:\"x60bfd49b\";}s:7:\"nextIds\";a:1:{s:9:\"x0319d8c4\";b:1;}}s:9:\"x0319d8c4\";a:2:{s:4:\"data\";a:3:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:0:\"\";s:11:\"returnNavId\";s:9:\"x6aac2546\";}s:7:\"nextIds\";a:1:{s:9:\"xf9be311e\";b:1;}}s:9:\"xf9be311e\";a:2:{s:4:\"data\";a:3:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:0:\"\";s:11:\"returnNavId\";s:9:\"x0319d8c4\";}s:7:\"nextIds\";a:1:{s:9:\"xa356b3c8\";b:1;}}s:9:\"xa356b3c8\";a:2:{s:4:\"data\";a:3:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:0:\"\";s:11:\"returnNavId\";s:9:\"xf9be311e\";}s:7:\"nextIds\";a:1:{s:9:\"xc122906a\";b:1;}}s:9:\"xc122906a\";a:2:{s:4:\"data\";a:3:{s:9:\"returnUrl\";s:85:\"/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2_navId=x60bfd49b\";s:10:\"returnName\";s:0:\"\";s:11:\"returnNavId\";s:9:\"xa356b3c8\";}s:7:\"nextIds\";a:0:{}}s:9:\"x8e69a171\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:24:\"/main.php?g2_itemId=5330\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:0:{}}s:9:\"x1ba41020\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:0:{}}s:9:\"xdf6be464\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:1:{s:9:\"xd40abc66\";b:1;}}s:9:\"xd40abc66\";a:2:{s:4:\"data\";a:3:{s:9:\"returnUrl\";s:9:\"/main.php\";s:10:\"returnName\";s:0:\"\";s:11:\"returnNavId\";s:9:\"xdf6be464\";}s:7:\"nextIds\";a:0:{}}}s:15:\"core.lastViewed\";a:2:{i:7;i:72716;i:5330;i:396;}s:15:\"permissionCache\";a:6:{i:0;a:7:{s:9:\"core.view\";a:1:{i:7;i:1;}s:16:\"core.viewResizes\";a:1:{i:7;i:1;}s:15:\"core.viewSource\";a:1:{i:7;i:1;}s:12:\"core.viewAll\";a:1:{i:7;i:1;}s:10:\"rating.add\";a:1:{i:7;i:1;}s:11:\"rating.view\";a:1:{i:7;i:1;}s:10:\"rating.all\";a:1:{i:7;i:1;}}i:1;a:7:{s:9:\"core.view\";a:1:{i:7;i:1;}s:16:\"core.viewResizes\";a:1:{i:7;i:1;}s:15:\"core.viewSource\";a:1:{i:7;i:1;}s:12:\"core.viewAll\";a:1:{i:7;i:1;}s:10:\"rating.add\";a:1:{i:7;i:1;}s:11:\"rating.view\";a:1:{i:7;i:1;}s:10:\"rating.all\";a:1:{i:7;i:1;}}i:2;a:7:{s:9:\"core.view\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:16:\"core.viewResizes\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:15:\"core.viewSource\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:12:\"core.viewAll\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:10:\"rating.add\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:11:\"rating.view\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:10:\"rating.all\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}}i:3;a:7:{s:9:\"core.view\";a:1:{i:7;i:1;}s:16:\"core.viewResizes\";a:1:{i:7;i:1;}s:15:\"core.viewSource\";a:1:{i:7;i:1;}s:12:\"core.viewAll\";a:1:{i:7;i:1;}s:10:\"rating.add\";a:1:{i:7;i:1;}s:11:\"rating.view\";a:1:{i:7;i:1;}s:10:\"rating.all\";a:1:{i:7;i:1;}}i:4;a:7:{s:9:\"core.view\";a:6:{i:5331;i:1;i:5335;i:1;i:5338;i:1;i:5341;i:1;i:5344;i:1;i:5347;i:1;}s:16:\"core.viewResizes\";a:6:{i:5331;i:1;i:5335;i:1;i:5338;i:1;i:5341;i:1;i:5344;i:1;i:5347;i:1;}s:15:\"core.viewSource\";a:6:{i:5331;i:1;i:5335;i:1;i:5338;i:1;i:5341;i:1;i:5344;i:1;i:5347;i:1;}s:12:\"core.viewAll\";a:6:{i:5331;i:1;i:5335;i:1;i:5338;i:1;i:5341;i:1;i:5344;i:1;i:5347;i:1;}s:10:\"rating.add\";a:6:{i:5331;i:1;i:5335;i:1;i:5338;i:1;i:5341;i:1;i:5344;i:1;i:5347;i:1;}s:11:\"rating.view\";a:5:{i:5331;i:1;i:5335;i:1;i:5338;i:1;i:5341;i:1;i:5344;i:1;}s:10:\"rating.all\";a:5:{i:5331;i:1;i:5335;i:1;i:5338;i:1;i:5341;i:1;i:5344;i:1;}}i:5;a:7:{s:9:\"core.view\";a:1:{i:7;i:1;}s:16:\"core.viewResizes\";a:1:{i:7;i:1;}s:15:\"core.viewSource\";a:1:{i:7;i:1;}s:12:\"core.viewAll\";a:1:{i:7;i:1;}s:10:\"rating.add\";a:1:{i:7;i:1;}s:11:\"rating.view\";a:1:{i:7;i:1;}s:10:\"rating.all\";a:1:{i:7;i:1;}}}s:14:\"core.authToken\";s:12:\"34e6b3c35b10\";s:11:\"captcha.key\";s:6:\"390076\";s:11:\"core.status\";a:0:{}}')

getParameter session.lifetime 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
getParameter session.lifetime for core plugin

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Sun, 2007-05-06 11:01

Anyone got a clue as to how I shall be able to access my gallery again?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-05-06 12:33

did you clear your browser's cache as well?

from the above debug output, it looks like a successful login.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Sun, 2007-05-06 15:12

Yes I did that, but that didn't help either... :/

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-05-06 15:29

please enable logged debugging then.
to see if the database transaction is rolled back or committed.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Sun, 2007-05-06 15:54

Ok, tried that, attaching the file

AttachmentSize
result.txt143.09 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-05-06 16:27

looks fine.

it's also keeping the new sessionId on the next request. you're successfully logged in as admin.

i haven't seen your gallery yet.
why do you think are you not logged in?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Sun, 2007-05-06 19:28

I'm unable to access any of the admin tools, such as Site Admin or even Your Account. There is always a "login" available in the top right area. Could there be something wrong with the Carbon Theme I'm using?

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Mon, 2007-05-07 20:16

Gallery remote gives me Error: HTTP POST failed (HTTP 500 ) when I try to access that way...

Is it possible to roll back to the previous version of gallery? It's a bit annoying to not be able to access the album :/

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Thu, 2007-05-10 21:44

I keep on trying to find whats wrong.

When I try to login the debugger gives me:

(mysql): INSERT INTO g2_SessionMap (g_id, g_userId, g_remoteIdentifier,
g_creationTimestamp, g_modificationTimestamp, g_data) VALUES
('ece7fbd512aa65ff7c2b089c6369f3f6',6,'a:2:{i:0;s:14:\"81.216.131.105\";i:1;s:32:\"3de5aa901fb8a9ddec2e189e3449cea1\";}',1178832691,1178832691,'a:5:{s:13:\"core.language\";s:5:\"en_US\";s:15:\"core.navigation\";a:5:{s:9:\"xf9a1d547\";a:1:{s:7:\"nextIds\";a:0:{}}s:9:\"x3a6ec9c3\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:21:\"/gallery2kuk/main.php\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:0:{}}s:9:\"x5dea849e\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:21:\"/gallery2kuk/main.php\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:0:{}}s:9:\"x6a68d56b\";a:2:{s:4:\"data\";a:2:{s:9:\"returnUrl\";s:21:\"/gallery2kuk/main.php\";s:10:\"returnName\";s:5:\"album\";}s:7:\"nextIds\";a:1:{s:9:\"x3d06195f\";b:1;}}s:9:\"x3d06195f\";a:2:{s:4:\"data\";a:3:{s:9:\"returnUrl\";s:21:\"/gallery2kuk/main.php\";s:10:\"returnName\";s:0:\"\";s:11:\"returnNavId\";s:9:\"x6a68d56b\";}s:7:\"nextIds\";a:0:{}}}s:15:\"core.lastViewed\";a:1:{i:7;i:2;}s:15:\"permissionCache\";a:4:{i:0;a:7:{s:9:\"core.view\";a:1:{i:7;i:1;}s:16:\"core.viewResizes\";a:1:{i:7;i:1;}s:15:\"core.viewSource\";a:1:{i:7;i:1;}s:12:\"core.viewAll\";a:1:{i:7;i:1;}s:10:\"rating.add\";a:1:{i:7;i:1;}s:11:\"rating.view\";a:1:{i:7;i:1;}s:10:\"rating.all\";a:1:{i:7;i:1;}}i:1;a:7:{s:9:\"core.view\";a:1:{i:7;i:1;}s:16:\"core.viewResizes\";a:1:{i:7;i:1;}s:15:\"core.viewSource\";a:1:{i:7;i:1;}s:12:\"core.viewAll\";a:1:{i:7;i:1;}s:10:\"rating.add\";a:1:{i:7;i:1;}s:11:\"rating.view\";a:1:{i:7;i:1;}s:10:\"rating.all\";a:1:{i:7;i:1;}}i:2;a:7:{s:9:\"core.view\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:16:\"core.viewResizes\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:15:\"core.viewSource\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:12:\"core.viewAll\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:10:\"rating.add\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:11:\"rating.view\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:10:\"rating.all\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}}i:3;a:7:{s:9:\"core.view\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:16:\"core.viewResizes\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:15:\"core.viewSource\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:12:\"core.viewAll\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:10:\"rating.add\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:11:\"rating.view\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}s:10:\"rating.all\";a:5:{i:16;i:1;i:18;i:1;i:2880;i:1;i:3098;i:1;i:7;i:1;}}}s:14:\"core.authToken\";s:12:\"c48235062c01\";}')

Where the g_userId obviously is 6 which is the admin user. Checking the g2_SessionMap in the MySql dB at this point also shows that the g_userId is 6. But when I click on the Continue to the next page
link (since I run buffered mode) and then once again check the value for g_userId has changed to 5 (guest user). So I guess that I'm logged in a admin user for a few milliseconds until something demotes me
back to guest user again.

Any clues?

I've set up another gallery2 installation on the same server and it works fine so the sw/hw on the server should not be the issue here...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-05-10 21:53

delete your browser's cookie cache. but that shouldn't be an issue.
the session has the correct userId. and it loads the session correctly, as far as i see from the logs. it should work fine...

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Sat, 2007-05-12 12:58

Even tried using a different computer but no help there...

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-05-12 15:53

if you want me to take a look at it, please send me a private message with the following information:

- a link to your gallery
- a user/password for your gallery
- ftp or ssh address + ftp or ssh user/password for debugging access.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2007-05-13 21:17

You've a very uncommon issue there and I have no idea how you got your G2 into that state.
It seems that there is no GalleryAuthPlugin registered in your Gallery factory (an internal register of all kinds of important features).

Did you have upgrade errors? Or did you ever manually change something in your G2 database?

Anyhow, I've fixed that by manually registering the SessionAuthPlugin.

But you have more problems:

- Error (ERROR_STORAGE_FAILURE) : Empty sequence id!

I got that when trying to clear the DB cache.

It shows that error if your SequenceId table is empty / corrupted.

Bottom line:
Your installation might still be hosed up, badly.
You should do a mysql check for all your tables.
And you need to find out what's going on with your sequence table. As long as that's not working correctly, you can't add any items / albums to your g2 or do other interesting stuff.

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Mon, 2007-05-14 15:19

Hi,

thank you for fixing my problem! At least this part :-) it seems as I still have some work to do to get it right.

Yes there were some problems with the upgrade, and I'm quite sure that it all comes back to the hosting company that I'm using, I frequently have problems with the
MySql database they provide. I'll change provider when the annual fee is up.

How do I do a mysql check?

BR Ironhook

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-05-14 15:23

i assume you have access to some kind of administrative panel (e.g. cPanel or Plesk) for your domain / website.
i assume that panel has a tool to administer / manage databases. usually that tool is "phpmyadmin."

in phpmyadmin, you can select all tables and do a status check on them (drop-down options at the bottom).
check all tables, and analyze them as well.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Mon, 2007-05-14 16:19

Yes, I tried that but sadly the host has a rather old version of phpMyAdmin (2.4.0) so I'm unable to check the tables :-/

That's it, the final nail in the coffin, I'm changing my host now, I've had enough of these clowns... :-)

BR Ironhook

 
Ironhook

Joined: 2007-04-29
Posts: 19
Posted: Mon, 2007-05-14 21:10

Wow I finally got it all working, thanks a million Valiant, without You I would have been stuck forever! :-)

Cheers Ironhook