<![CDATA[ Evo 1.0.13rc2 - Error : Undefined index: webInternalKey - My Forums]]> https://forums.modx.com/thread/?thread=89081 <![CDATA[Re: Evo 1.0.13rc2 - Error : Undefined index: webInternalKey]]> https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489977
might be best to set ignore all when the site is in production.
on the other hand then we don't know when somethings wrong with a snippet/plugin etc and it stops working, hmmm dilemma :|]]>
fourroses666 Feb 13, 2014, 07:47 AM https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489977
<![CDATA[Re: Evo 1.0.13rc2 - Error : Undefined index: webInternalKey]]> https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489945
One german user had activated 'mails on error' and he got 20000 mails per hour after activating 'detect all'. Be careful smiley]]>
Jako Feb 13, 2014, 04:57 AM https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489945
<![CDATA[Re: Evo 1.0.13rc2 - Error : Undefined index: webInternalKey]]> https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489934 It's phx indeed I'm using (always).
It is probably some server setting / php version.
]]>
fourroses666 Feb 13, 2014, 04:32 AM https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489934
<![CDATA[Re: Evo 1.0.13rc2 - Error : Undefined index: webInternalKey]]> https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489852 My guess is that you're using PHx that can't read values due to MODX Caching/Parsing Order.

>> $_SESSION[’webInternalKey’]
http://forums.modx.com/thread/35296/the-way-session-works-in-modx#dis-post-193416


>> PHx 2.2.0 phx.parser.class.inc.php
	function PHxParser($debug=0,$maxpass=50) {
		global $modx;
		$this->name = "PHx";
		$this->version = "2.2.0";
		$this->user["mgrid"] = intval($_SESSION['mgrInternalKey']);
		$this->user["usrid"] = intval($_SESSION['webInternalKey']);
		$this->user["id"] = ($this->user["usrid"] > 0 ) ? (-$this->user["usrid"]) : $this->user["mgrid"];

                ...


If I try this setting (evo1012) I only get QuickManager: Undefined variable: hidetabs.
I use PHx heavily and see no errors. I don't claim this isn't a problem with evo1013/PHx but
I suspect you'd see the same thing in evo1012.

Think of this when keeping error reporting ON:

Error Reporting

With PHP security, there are two sides to error reporting. One is beneficial to increasing security, the other is detrimental.
>> http://www.php.net/manual/en/security.errors.php]]>
mrhaw Feb 12, 2014, 10:46 AM https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489852
<![CDATA[Evo 1.0.13rc2 - Error : Undefined index: webInternalKey]]> https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489841 When I set on errors (config/user/detection/detact all) I see:

Error : Undefined index: webInternalKey

/assets/plugins/phx/phx.parser.class.inc.php

Backtrace
1	DocumentParser->executeParser()
index.php on line 144
2	DocumentParser->prepareResponse()
manager/includes/document.parser.class.inc.php on line 1621
3	DocumentParser->parseDocumentSource()
manager/includes/document.parser.class.inc.php on line 1711
4	DocumentParser->invokeEvent()
manager/includes/document.parser.class.inc.php on line 1487
5	DocumentParser->evalPlugin()
manager/includes/document.parser.class.inc.php on line 3393
6	eval()
manager/includes/document.parser.class.inc.php on line 1006
7	PHxParser->PHxParser()
manager/includes/document.parser.class.inc.php(1006) : eval()'d code on line 5


]]>
fourroses666 Feb 12, 2014, 08:44 AM https://forums.modx.com/thread/89081/evo-1-0-13rc2---error-undefined-index-webinternalkey#dis-post-489841