I installed hitcoins clone script and uploaded .sql file to database and changed the details according to database details.but when i try to register it shows-Fatal error: Call to a member function query() on a non-object in /www/my3gb.com/s/u/m/sumeeth/htdocs/displaySignUp.php on line 153. what is the error can anyone please tell
Registration error
Started on the old forum in November 2012 · view the original in the archive · old links redirect here
Fatal error: Call to a member function query() on a non-object in /www/my3gb.com/s/u/m/sumeeth/htdocs/displaySignUp.php on line 153.
It means that somewhere on line 153 of the said file, there is a method "query" being called using OOP syntax. Unfortunately the variable is itself not an object.
It should look something like $db->query() ... the variable $db should be an object that contains the method query.
CreativityKills wrote: Fatal error: Call to a member function query() on a non-object in /www/my3gb.com/s/u/m/sumeeth/htdocs/displaySignUp.php on line 153.
It means that somewhere on line 153 of the said file, there is a method "query" being called using OOP syntax. Unfortunately the variable is itself not an object.
It should look something like $db->query() ... the variable $db should be an object that contains the method query.
thank you sir