Fatal error: Call to a member function num_rows() on a non-object in ..... |
[eluser]dalakhani[/eluser]
Good afternoon I have a problem on my site when I want to search. From time to time this error appears: Fatal error: Call to a member function num_rows() on a non-object in /servers/apache/sites/www.******.fr/application/models/searchmodel.php on line 102 What may be the solution to this problem? Advance thank you
[eluser]dark_lord[/eluser]
Can you post the source so we can have a goodlook where the issue is coming in?
[eluser]danmontgomery[/eluser]
Your query is failing. The only time a database query returns a non-result is if there's a database error.
[eluser]dalakhani[/eluser]
Please forgive me if I have not entered your messages being French I do not quite understand English. to noctrum : I made my database restore, the problem may come from there? to wish_bear : That is what the source? Want to talk about the website where there is the problem? Cordially
[eluser]danmontgomery[/eluser]
http://www.php.net/manual/fr/function.mysql-query.php Quote: Pour les requêtes du type SELECT, SHOW, DESCRIBE, EXPLAIN et les autres requêtes retournant un jeu de résultats, mysql_query() retournera une ressource en cas de succès, ou FALSE en cas d'erreur.
[eluser]dalakhani[/eluser]
I can't understand why search worked in a few days ago yet. And I forget to say that the domain name has changed and that the domain name in the error message is old. It is from this change research is malfunctioning |
Welcome Guest, Not a member yet? Register Sign In |