I did some tracing on this bug I was experiencing.
With this code at the top of an include file, the results are unpretictable.
if(!defined("METABASE_MYSQL_INCLUDED"))
{
define("METABASE_MYSQL_INCLUDED",1);
...rest of include file...
}
require_once(); seems to work though.
""Joe Brown"" <[EMAIL PROTECTED]> wrote in message
99661p$9oc$[EMAIL PROTECTED]">news:99661p$9oc$[EMAIL PROTECTED]...
> This appears to be an IIS specific issue.
>
> Using IIS and Manuel Lemos' Metabase, I'm getting errors in
> metabase_interface.php.
>
> Fatal error: Cannot instantiate non-existent class: metabase_oci_class in
> metabase/metabase_interface.php on line 99
>
> It's quite inconsistent. After recieving this error, the next refresh,
the
> error does not appear.
>
> I'm suspecting the root of the problem is class instantiation, within a
> class where the subordinate class is instantiated immediately after an
> include($class_file) within the parent class. Heh, if you can follow
that,
> please advise...
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]