Environment: Xampp 182 (Apache 2.4.3 (Win32), PHP 5.4.7) on a windows XP pc
Shop is accessed by this url www.motorvista.local which is redirected to 127.0.0.1 in the hosts file and a virtual host configuration for the apache server that points to the fileset in D:\My Documents etc…

To cut a long story short, I’ve been trying to solve a niggling problem with Apsona that boils down to the following:

If php.ini has
PHP Code:
error_reporting E_ALL & ~E_NOTICE 
it loads ok.

Whereas if
PHP Code:
error_reporting E_ALL 
it does not load and this error gets produced
[03-Apr-2013 18:13:20 UTC] PHP Notice: Undefined index: path in D:\My Documents\blah_blahadmin\includes\configure.php on line 32
[03-Apr-2013 18:13:20 UTC] PHP Notice: Undefined index: path in D:\My Documents\ blah_blahadmin \includes\configure.php on line 32
line 32 is this:
PHP Code:
$t1 parse_url(HTTP_SERVER);$p1 $t1['path'];$t2 parse_url(HTTPS_SERVER);$p2 $t2['path']; 
And the urls are
PHP Code:
define('HTTP_SERVER''http://www.motorvista.local');
  
define('HTTPS_SERVER''https://www.motorvista.local'); 
It is true that in all the PHP versions I have tested ['path'] is never set in this scenario.

Now in normal ZC use this does not cause any error messages but if as a test I put the same line in the admin header, it causes the same error messages.
Obviously the “problem” can be fixed easily by testing for the array element before assigning it, but my questions are:
1) Why does normal ZC use not produce the error message? Is it just suppressed or there is some mechanism I don’t understand
2) Is this something that should be fixed in configure.php with a test or is there something Apsona needs to include in their code to deal with this “correctly”?
3) Why does logging/not-logging the error message break/allow the page?

Thanks
Steve