4
           
            
                
     
    
    You have again issue with the mainfile.php pointing to something that doesn't exist, in this case, the file secure.php
Normally, the "secure.php" file should be in:
 /xoops_data/data/ folder
which in your case would be:
D:\xampp\htdocs\zec2\xoops_data\data\secure.php
But the mainfile.php points to 
"D:\xampp\htdocs\zec2\xoops_data\
caches\data\secure.php" 
which is the wrong location. 
The location is defined in mainfile.php as:
 require XOOPS_VAR_PATH . '/data/secure.php';  
But you seem to define the XOOPS_VAR_PATH as 
define('XOOPS_VAR_PATH', 'D:\xampp\htdocs\zec2\xoops_data\
caches\');
while it should be defined as:
define('XOOPS_VAR_PATH', 'D:\xampp\htdocs\zec2\xoops_data');
So in order to keep things consistent with XOOPS standards, I would suggest to change it back to that, and then move the cache folders to D:\xampp\htdocs\zec2\xoops_data\caches\