I am trying to move a website into a new server. Well i transfer the website ,but i had some errors . One last (that i can't find a solution) is that. http://91.205.172.91/ Fatal error: Call to a member function row() on a non-object in /home/aa4car/domains/4car.net/public_html/generic/catalog/catalog.php on line 1254 The error line is the second one. the second one. if (!$language_name) $language_name = $url->path(0); if ($row = $db->row(SQL_LANGUAGE_BY_NAME, $language_name)) { array_shift($url->path); //$this->current["language"] = $row; Would you please give me a hand? Thanks in advance
SQL_LANGUAGE_BY_NAME is a user defined constant. can you show what is the current value of SQL_LANGUAGE_BY_NAME?
You have to do a file search for something start with like: define('SQL_LANGUAGE_BY_NAME' or define("SQL_LANGUAGE_BY_NAME" SQL_LANGUAGE_BY_NAME should locate in some sort of config file. Right now there's no way to tell if the database uses MySQL or other database language