digitalstudio
02-18-2009, 09:38 AM
Hi all.
(Using version 3.8.1)
I'm trying to write some code outside of VB. However, when i include the first VB file i get this fatal error:
Fatal error: Call to a member function query_first_slave() on a non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mywebsite\forum\includ es\functions.php on line 1368
Here's the code that's throwing the fatal error:
class myclass
{
public function doSomething()
{
chdir('/path/to/forum');
require_once '/path/to/forum/global.php';
}
}
Any ideas why this is happening!?!
Thanks.
(Using version 3.8.1)
I'm trying to write some code outside of VB. However, when i include the first VB file i get this fatal error:
Fatal error: Call to a member function query_first_slave() on a non-object in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mywebsite\forum\includ es\functions.php on line 1368
Here's the code that's throwing the fatal error:
class myclass
{
public function doSomething()
{
chdir('/path/to/forum');
require_once '/path/to/forum/global.php';
}
}
Any ideas why this is happening!?!
Thanks.