Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/includes/test/modinstalltest.class.php:296 Stack trace: #0 /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/includes/test/modinstalltest.class.php(296): fwrite(false, '<?php // \xD0\x9A\xD0\xBE\xD0\xBD...') #1 /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/includes/test/modinstalltest.class.php(50): modInstallTest->_checkConfig() #2 /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/includes/modinstall.class.php(229): modInstallTest->run(0) #3 /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/controllers/summary.php(29): modInstall->test(0) #4 /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/includes/request/modinstallrequest.class.php(80): include('/Applications/X...') #5 /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/index.php(104): modInstallRequest->handle() #6 {main} thrown in /Applications/XAMPP/xamppfiles/htdocs/lartestate/setup/includes/test/modinstalltest.class.php on line 296

линии в файле modinstalltest.class.php вот такие:
@ $hnd = fopen($configFilePath, 'w');
@ fwrite($hnd, '<?php // '.$this->install->lexicon('modx_configuration_file').' ?>');
@ fclose($hnd);

я не программист и вообще нуб еще, помогите пожалуйста.