Closed craigh closed 10 years ago
refs https://github.com/zikula/core/issues/1189
this error is the exact same as the first error reported in that ticket, but that ticket apparently changed after the initial report.
/cc @cmfcmf @damon18
This is acting a bit differently now. I now get an exception when _loading_ the page (and the same error as above when submitting)...
ContextErrorException: Notice: Unknown: "id" returned as member variable from sleep() but does not exist in Unknown line 0 in Unknown line 0 at ErrorHandler->handle('8', 'Unknown: "id" returned as member variable from sleep() but does not exist', 'Unknown', '0', array('_GET' => array('module' => 'pages', 'type' => 'admin', 'func' => 'modify', 'pageid' => '1'), '_POST' => array(), '_COOKIE' => array('_zsid' => '7333cba21b4924ebf265679799d062db', 'DizkusLastVisit' => '1387228898'), '_FILES' => array(), '_ENV' => array('CF_USER_TEXT_ENCODING' => '0x0:0:0', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices', 'PWD' => '/', 'SHLVL' => '2', 'DYLD_LIBRARYPATH' => '/Applications/MAMP/Library/lib', '' => '/Applications/MAMP/Library/bin/httpd'), '_REQUEST' => array('module' => 'pages', 'type' => 'admin', 'func' => 'modify', 'pageid' => '1', '_zsid' => '7333cba21b4924ebf265679799d062db', 'DizkusLastVisit' => '1387228898'), '_SERVER' => array('HTTP_HOST' => '127.0.0.1', 'HTTP_PRAGMA' => 'no-cache', 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate', 'HTTP_COOKIE' => '_zsid=7333cba21b4924ebf265679799d062db; DizkusLastVisit=1387228898', 'HTTP_CONNECTION' => 'keep-alive', 'HTTPACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8', 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) Version/7.0 Safari/537.71', 'HTTP_ACCEPT_LANGUAGE' => 'en-us', 'HTTP_REFERER' => 'http://127.0.0.1/core.git/src/index.php?module=pages&type=admin&func=view', 'HTTP_CACHE_CONTROL' => 'no-cache', 'PATH' => '/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => '127.0.0.1', 'SERVER_ADDR' => '127.0.0.1', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '127.0.0.1', 'DOCUMENT_ROOT' => '/Applications/MAMP/htdocs', 'SERVER_ADMIN' => 'you@example.com', 'SCRIPT_FILENAME' => '/Applications/MAMP/htdocs/core.git/src/index.php', 'REMOTE_PORT' => '51963', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'module=pages&type=admin&func=modify&pageid=1', 'REQUEST_URI' => '/core.git/src/index.php?module=pages&type=admin&func=modify&pageid=1', 'SCRIPT_NAME' => '/core.git/src/index.php', 'PHP_SELF' => '/core.git/src/index.php', 'REQUEST_TIME_FLOAT' => '1387233408.51', 'REQUEST_TIME' => '1387233408', 'argv' => array('module=pages&type=admin&func=modify&pageid=1'), 'argc' => '1'), 'GLOBALS' => array('_GET' => array('module' => 'pages', 'type' => 'admin', 'func' => 'modify', 'pageid' => '1'), '_POST' => array(), '_COOKIE' => array(DEEP NESTED ARRAY), '_FILES' => array(DEEP NESTED ARRAY), '_ENV' => array(DEEP NESTED ARRAY), '_REQUEST' => array(DEEP NESTED ARRAY), '_SERVER' => array(DEEP NESTED ARRAY), 'GLOBALS' => array(DEEP NESTED ARRAY), 'loader' => object(ClassLoader), 'kernelConfig' => array(DEEP NESTED ARRAY), 'file' => '/Applications/MAMP/htdocs/core.git/src/lib/../app/config/custom_parameters.yml', 'ZConfig' => array(DEEP NESTED ARRAY), 'kernel' => object(ZikulaKernel), 'core' => object(Zikula_Core), 'config' => array(DEEP NESTED ARRAY), 'request' => object(Zikula_Request_Http), 'request' => object(Zikula_Request_Http), '_SESSION' => array(DEEP NESTED ARRAY), 'authinfogathered' => array(DEEP NESTED ARRAY), '_pageVars' => array(DEEP NESTED ARRAY), '_catSortField' => 'sort_value', 'blocks_modules' => array(DEEP NESTED ARRAY), 'response' => object(Response)), 'loader' => object(ClassLoader), 'kernelConfig' => array('installed' => true, 'env' => 'dev', 'debug' => true, 'compat_layer' => true, 'temp_dir' => '%kernel.cache_dir%/ztemp', 'datadir' => 'userdata', 'system.chmod_dir' => '511', 'database_driver' => 'pdo_mysql', 'database_host' => 'localhost', 'database_port' => null, 'database_name' => 'zk13x', 'database_user' => 'root', 'database_password' => 'root', 'database_path' => null, 'database_socket' => null, 'pagerendertime' => false, 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => null, 'mailer_password' => null, 'locale' => 'en', 'secret' => 'ThisTokenIsNotSoSecretChangeIt'), 'file' => '/Applications/MAMP/htdocs/core.git/src/lib/../app/config/custom_parameters.yml', 'ZConfig' => array('System' => array(DEEP NESTED ARRAY), 'DBInfo' => array(DEEP NESTED ARRAY), 'Log' => array(DEEP NESTED ARRAY), 'Multisites' => array(DEEP NESTED ARRAY)), 'kernel' => object(ZikulaKernel), 'core' => object(Zikula_Core), 'config' => array(DEEP NESTED ARRAY), 'request' => object(Zikula_Request_Http), '__request' => object(Zikula_Request_Http), '_SESSION' => array(DEEP NESTED ARRAY), 'authinfogathered' => array(DEEP NESTED ARRAY), '_pageVars' => array(DEEP NESTED ARRAY), '_catSortField' => 'sort_value', 'blocks_modules' => array(DEEP NESTED ARRAY), 'response' => object(Response))) at session_write_close()
@drak - can you look into this?
you can see it in action here: http://ntq.zikula.org/core/src/index.php?module=pages&type=admin&func=modify&pageid=1
I'm sure the second error is the cause for the first.
I've figured out this has something to do with the categories implementation either at the Form level or in Pages
@cmfcmf this is the ticket related to the editing problem in pages we discussed today. maybe you can continue to help?
fixed with https://github.com/zikula/core/pull/1520
edit page loads fine. Then clicking the "save" button (even making no changes) results in full blown exception:
The sessions var '__form' seems to be absent.
@drak this is the issue I was referring to yesterday. This could be related to other Form lib bugs I'm struggling with.