error on function

Status
Not open for further replies.

faith

New Member
Messages
6
Reaction score
0
Points
0
Fatal error: Call to a member function recordcount() on a non-object in /home/faith/public_html/index.php on line 30

i got this message on my site

i dont now what this mean so can anyone help

thanks for attention:happysad:
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
Its telling you that the thing sent to record count, or the class that record count is part of wasnt valid, eg, it didnt get made properly.
 

faith

New Member
Messages
6
Reaction score
0
Points
0
how to solve it?

im new at PHP so im not now to much about these

thanks for response
 

bugfinder

Retired
Messages
2,260
Reaction score
0
Points
0
Without seeing the code I cant honestly tell you the whole answer, but take a look at line 30, it says something with record count, whatever the object is with that line wasnt valid - so chances are it didnt connect properly to the database or its an empty query or such
 
Status
Not open for further replies.
Top