i realise this may not be related to EE at all, however ...
when i include the main dompdf file “dompdf_config.inc.php” at the top of my page i get the error below. line 194 in that file says “If you have an existing autoload function, add a call to this function from your existing __autoload() implementation.”
could it be that EE has an autoload function thats interfering with this dompdf function? its getting passed the string “search” as value for $class but the resulting file “search.cls.php” indeed is not included in the “include” folder of dompdf, nor in any other folder. a bunch of other .cls.php files are. googling for search.cls.php turns up pretty much nothing which leads me to believe dompdf shouldnt include this file to start with.
when i put a simple test file on my localhost outside of EE, i dont get this error. having said that, the dompdf folder is one level above the EE installation so i dont see how EE could actually interfere ... stumped!
anyone have an idea what could cause this?
Warning: require_once(/home/wwwcala/public_html/staging/_dompdf/include/search.cls.php) [function.require-once]: failed to open stream: No such file or directory in /home/wwwcala/public_html/staging/_dompdf/dompdf_config.inc.php on line 194
Fatal error: require_once() [function.require]: Failed opening required '/home/wwwcala/public_html/staging/_dompdf/include/search.cls.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wwwcala/public_html/staging/_dompdf/dompdf_config.inc.php on line 194line 194:
function DOMPDF_autoload($class) {
$filename = mb_strtolower($class) . ".cls.php";
require_once(DOMPDF_INC_DIR . "/$filename");
}