demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

Undefined _SESSION using Extended Session #219

Open demianturner opened 11 years ago

demianturner commented 11 years ago

Enabling the Extended Session, i.e. saving the session data on DB, and then, as Admin, hitting the "Maintenance" icon I get the Home page instead of the maintenance page.

The log shows: {{{ [24-Nov-2005 00:10:17] ########## New request: /index.php/maintenance/ ########## Nov 24 00:10:17 Seagull [debug] sgl_process_discoverclientos->process: Nov 24 00:10:17 Seagull [debug] sgl_process_resolvemanager->process: Nov 24 00:10:17 Seagull [debug] sgl::raiseerror: Nov 24 00:10:17 Seagull [error] PEAR :: malformed request : Nov 24 00:10:17 Seagull [notice] sgl_errorhandler->errhandler: Undefined variable: _SESSION Nov 24 00:10:17 Seagull [debug] defaultmgr->defaultmgr: Nov 24 00:10:17 Seagull [debug] sgl_manager::sgl_manager: Nov 24 00:10:17 Seagull [debug] sgl_process_createsession->process: Nov 24 00:10:17 Seagull [debug] sgl_http_session->sgl_http_session: Nov 24 00:10:17 Seagull [debug] sgl_http_session->dbgc: Nov 24 00:10:17 Seagull [debug] sgl_http_session::exists: Nov 24 00:10:17 Seagull [debug] sgl_process_setuplangsupport->process: Nov 24 00:10:17 Seagull [debug] sgl_process_setupperms->process: Nov 24 00:10:17 Seagull [debug] da_user->getpermsbymoduleid: Nov 24 00:10:17 Seagull [debug] sgl_process_setupperms->process: perms from db Nov 24 00:10:17 Seagull [debug] sgl_process_authenticaterequest->process: Nov 24 00:10:17 Seagull [debug] sgl_process_buildheaders->process: Nov 24 00:10:17 Seagull [debug] sgl_process_setuplocale->process: Nov 23 23:10:17 Seagull [debug] sgl_process_detectdebug->process: Nov 23 23:10:17 Seagull [debug] sgl_process_detectblacklisting->process: Nov 23 23:10:17 Seagull [debug] sgl_mainprocess->process: Nov 23 23:10:17 Seagull [debug] defaultmgr->validate: Nov 23 23:10:17 Seagull [debug] sgl_registry->aggregate: Nov 23 23:10:17 Seagull [debug] defaultmgr->process: Nov 23 23:10:17 Seagull [debug] defaultmgr->_list: Nov 23 23:10:17 Seagull [debug] sgl_process_setupnavigation->process: Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_map(): Argument #2 should be an array Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_search(): Wrong datatype for second argument Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: implode(): Bad arguments. Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_map(): Argument #2 should be an array Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_search(): Wrong datatype for second argument Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: implode(): Bad arguments. Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_map(): Argument #2 should be an array Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_search(): Wrong datatype for second argument Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: implode(): Bad arguments. Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_map(): Argument #2 should be an array Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: array_search(): Wrong datatype for second argument Nov 23 23:10:17 Seagull [warning] sgl_errorhandler->errhandler: implode(): Bad arguments. Nov 23 23:10:17 Seagull [debug] simplenav->render: nav tabs from db Nov 23 23:10:17 Seagull [debug] sgl_process_setupblocks->process: Nov 23 23:10:17 Seagull [debug] sgl_process_setupwysiwyg->process: Nov 23 23:10:17 Seagull [debug] sgl_process_getperformanceinfo->process: Nov 23 23:10:17 Seagull [debug] sgl_postprocess->process: Nov 23 23:10:17 Seagull [debug] sgl_http_session::getusertype: Nov 23 23:10:17 Seagull [debug] sgl_http_session::getusertype: Nov 23 23:10:17 Seagull [debug] sgl_http_session::getuid: Nov 23 23:10:17 Seagull [debug] sgl_output->msgget: }}}

demianturner commented 11 years ago

[demian] this is reasonable, as you abandon your file session and move to db storage which initially is empty, therefore you are not authenticated and get redirected to home page.

have not figured out a way around this, but i don't think it's high priority.