![]() |
Fatal error: Call to a member function num_rows() on a non-object in ..... - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Fatal error: Call to a member function num_rows() on a non-object in ..... (/showthread.php?tid=28481) |
Fatal error: Call to a member function num_rows() on a non-object in ..... - El Forum - 03-12-2010 [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 Fatal error: Call to a member function num_rows() on a non-object in ..... - El Forum - 03-12-2010 [eluser]dark_lord[/eluser] Can you post the source so we can have a goodlook where the issue is coming in? Fatal error: Call to a member function num_rows() on a non-object in ..... - El Forum - 03-12-2010 [eluser]danmontgomery[/eluser] Your query is failing. The only time a database query returns a non-result is if there's a database error. Fatal error: Call to a member function num_rows() on a non-object in ..... - El Forum - 03-12-2010 [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 Fatal error: Call to a member function num_rows() on a non-object in ..... - El Forum - 03-12-2010 [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. Fatal error: Call to a member function num_rows() on a non-object in ..... - El Forum - 03-13-2010 [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 |