Page 1 of 1

New to HTML - Help with 'stdClass'

Posted: Sat Jan 01, 2011 1:12 am
by Nazara
Hi, I'm really new to HTML, so please excuse my primitivism :)

I'm trying to install an RPG system onto my site, and I've gotten past everything, but just before it installs fully, this message comes up;

Fatal error: Call to undefined method stdClass::Connect() in /home/a1948463/public_html/ShadowsRising-0.0.5/qlib/db_funcs.inc.php on line 104

I checked line 104 and this is what it looks like;

$db->Connect($database_host, $database_user, $database_password, $database);

I'd be so grateful for a solution to this. Many thanks :)

Re: New to HTML - Help with 'stdClass'

Posted: Sat Jan 01, 2011 5:11 am
by social_experiment
Nazara wrote:Fatal error: Call to undefined method stdClass::Connect() in /home/a1948463/public_html/ShadowsRising-0.0.5/qlib/db_funcs.inc.php on line 104
The method Connect() is not in the class called stdClass. Could you paste the stdClass script? Also ;) it's php that you are needing help with, not html.