Well, I tried to duplicate it on a small class.. but I only get the normal php error, such as:
Parse error: parse error in TestClass.class.php on line 21
Fatal error: Cannot instantiate non-existent class: testclass in /export/nola/test/Test.php on line 3
.............. however..... I just was able to duplicate it.
When I include a file, with the following function (just makes life easy on remembering the pathnames for includes)
function ttImport( $file ) {
global $DOCUMENT_ROOT;
include_once( $DOCUMENT_ROOT . '/lib/custom/' . $file . '.php' );
}
Then when there is an error with the include file.... I get that funny IE error. I tried it without using my ttImport function, and it gave the same error ..... when I use require_once, it reports the line number and error.
I think that is where the problem is. I can't use require_once in ttImport function because you it expects a constat, not a string containing the path. This quark doesn't occur with Php 4.0.6
Any ideas?