codeigniter-minifier
codeigniter-minifier copied to clipboard
\SimpleDom\Simple_html_dom not Found in CI_Minifier.php Line # 199
any update on this? am facing same issue
Hi i have the same issue !!! any fix ? An uncaught Exception was encountered
Type: Error
Message: Class 'SimpleDom\Simple_html_dom' not found
Filename: C:\xampp\htdocs\app\application\libraries\CI_Minifier.php
Line Number: 199
Backtrace:
File: C:\xampp\htdocs\app\application\libraries\CI_Minifier.php Line: 588 Function: output
File: C:\xampp\htdocs\app\index.php Line: 315 Function: require_once
so lazy to read the code so i fixed this by adding this two lines in top of library class `<?php include APPPATH . 'third_party/Simple_html_dom.php'; include APPPATH . 'third_party/JSPacker.php'; /**
- @name CI_Minifier - Minify Library for CodeIgniter 3
- @author Terry Lin ....
`
The fix is ok but I have other crash, any help ?
A PHP Error was encountered Severity: Warning
Message: preg_match(): Compilation failed: invalid range in character class at offset 4
Filename: third_party/Simple_html_dom.php
Line Number: 1370