Registration error

Started on the old forum in November 2012 · view the original in the archive · old links redirect here

2 replies · 389 views · started 14 years ago · 1 min read

2 participants
Sumeeth Junior · 20 posts #1

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

CreativityKills Lead · 833 posts #2

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.

Sumeeth Junior · 20 posts #3

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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close