codeigniter-minifier icon indicating copy to clipboard operation
codeigniter-minifier copied to clipboard

\SimpleDom\Simple_html_dom not Found in CI_Minifier.php Line # 199

Open fastesol opened this issue 8 years ago • 5 comments
trafficstars

fastesol avatar Feb 06 '17 12:02 fastesol

any update on this? am facing same issue

rabisnaqvi avatar Mar 12 '17 09:03 rabisnaqvi

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

malohtie avatar May 19 '17 09:05 malohtie

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 ....

`

malohtie avatar May 19 '17 09:05 malohtie

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

wobility avatar Sep 08 '20 09:09 wobility