hi, sorry for delays, im busy and new to this too but i want to help out:
so around line 194 is the following functions:
PHP Code:
/**
* DOMPDF autoload function
*
* If you have an existing autoload function, add a call to this function
* from your existing __autoload() implementation.
*
* @param string $class
*/
function DOMPDF_autoload($class) {
$filename = mb_strtolower($class) . ".cls.php";
require_once(DOMPDF_INC_DIR . "/$filename");
}
if ( !function_exists("__autoload") ) {
/**
* Default __autoload() function
*
* @param string $class
*/
function __autoload($class) {
DOMPDF_autoload($class);
}
}
so it would seem like this "autoload" function is being called with $class parameter = navigationhistory, and thus it tries to function and include file as coded but not there. id say thats an incorrect value for $class... (easy)
why its being called like that im not sure, but it sounds like navigationhistory is some kind of zencart term. (which on googling it is)
ah youve got to love grep (wingrep for windows), you can thouroughly search the contents of folders of files for terms,
so i find mention of this autoload term in the faq of all places:
/invoice_pdf_mailer/admin/dompdf/www/faq.php
load it in your browser for the followign output:
I'm getting the following error:
Fatal error: DOMPDF_autoload() [function.require]: Failed opening required '/var/www/dompdf/include/domdocument.cls.php' (include_path='.:') in /var/www/dompdf/dompdf_config.inc.php on line 146
This error occurs when the version of PHP that you are using does not have the DOM extension enabled. You can check which extensions are enabled by examning the output of phpinfo().
There are a couple of ways that the DOM extension could have been disabled. DOM uses libxml, so if libxml is not present on your server then the DOM extension will not work. Alternatively, if PHP was compiled with the '--disable-dom' switch or the '--disable-xml' switch, DOM support will also be removed. You can check which switches were used to compile PHP with phpinfo().
see how you go now, good luck
Bookmarks