jenyraval / Phishing-Simulation

Phishing Simulation mainly aims to increase phishing awareness by providing an intuitive tutorial and customized assessment
GNU General Public License v3.0
136 stars 36 forks source link

Stuck on preview #4

Open mrbrutka opened 1 year ago

mrbrutka commented 1 year ago

Hello,

tried to run the simulation and when I click on Preview I get an error:

Warning: preg_match(): Compilation failed: invalid range in character class at offset 119 in C:\xampp\htdocs\AdminPanel\includes\url_to_absolute.php on line 342

Fatal error: Uncaught ValueError: Path cannot be empty in C:\xampp\htdocs\AdminPanel\includes\htmlSaveComplete.php:487 Stack trace: #0 C:\xampp\htdocs\AdminPanel\includes\htmlSaveComplete.php(487): file_get_contents('') #1 C:\xampp\htdocs\AdminPanel\includes\htmlSaveComplete.php(543): htmlSaveComplete->getContents(false) #2 [internal function]: htmlSaveComplete->createDataUri(Array) #3 C:\xampp\htdocs\AdminPanel\includes\htmlSaveComplete.php(239): preg_replace_callback('#(url\(['\"]?)(...', Array, '<!DOCTYPE html>...') #4 C:\xampp\htdocs\AdminPanel\includes\htmlSaveComplete.php(139): htmlSaveComplete->toDataUri('<!DOCTYPE html>...') #5 C:\xampp\htdocs\AdminPanel\saveCompletePage.php(21): htmlSaveComplete->getCompletePage(false, false, false) #6 {main} thrown in C:\xampp\htdocs\AdminPanel\includes\htmlSaveComplete.php on line 487

Please assist.

MR. Brutka