>I've just sync'd to the latest CVS, and while inspecting the new stuff,
>I came across this error. I haven't traced down the exact problem;
>though I hope this is enough information for a fix.
>
>in gPageDef, if Lang == true, then we get an error:
>
>Fatal error: Call to a member function on a non-object in
>/usr/local/r2/binarycloud/build/en/binarycloud/core/Lang.php on line 365
>
>
>This ONLY seems to error on Windows (client) browsers. I did not get
>this error under Linux Netscape. Setting Lang to false fixed this as
>well.
>
><< snippet from Lang.php >>
>
>if (defined('BC_LANG_CHARSET')) {
> return true;
>} else {
> $Debug->CaptureMessage('No charset was set.',' Something is wrong with
>your langs array'); // line 365
> return false;
>}
jason,
you can have a look on Lang.php, and many function which use $Debug has not
yet declare it as a globale variable, so inside the function it can't call
anything related to $Debug and the error appare..
roni
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|