Ошибка
  • exception 'JDatabaseExceptionExecuting' with message 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3 SQL=SELECT alias, catid FROM #__houses WHERE id =' in /home/a/alex08m7/mielsp.ru/public_html/libraries/joomla/database/driver/mysql.php:351 Stack trace: #0 /home/a/alex08m7/mielsp.ru/public_html/libraries/joomla/database/driver.php(1650): JDatabaseDriverMysql->execute() #1 /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/models/house.php(146): JDatabaseDriver->loadObject() #2 /home/a/alex08m7/mielsp.ru/public_html/libraries/legacy/view/legacy.php(408): HousesModelHouse->getItem() #3 /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/views/house/view.html.php(16): JViewLegacy->get('Item') #4 /home/a/alex08m7/mielsp.ru/public_html/libraries/legacy/controller/legacy.php(664): HousesViewHouse->display() #5 /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/controller.php(4223): JControllerLegacy->display(true, Array) #6 /home/a/alex08m7/mielsp.ru/public_html/libraries/legacy/controller/legacy.php(702): HousesController->display() #7 /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/houses.php(16): JControllerLegacy->execute(NULL) #8 /home/a/alex08m7/mielsp.ru/public_html/libraries/cms/component/helper.php(405): require_once('/home/a/alex08m...') #9 /home/a/alex08m7/mielsp.ru/public_html/libraries/cms/component/helper.php(380): JComponentHelper::executeComponent('/home/a/alex08m...') #10 /home/a/alex08m7/mielsp.ru/public_html/libraries/cms/application/site.php(191): JComponentHelper::renderComponent('com_houses') #11 /home/a/alex08m7/mielsp.ru/public_html/libraries/cms/application/site.php(230): JApplicationSite->dispatch() #12 /home/a/alex08m7/mielsp.ru/public_html/libraries/cms/application/cms.php(261): JApplicationSite->doExecute() #13 /home/a/alex08m7/mielsp.ru/public_html/index.php(49): JApplicationCms->execute() #14 {main}
Notice: Undefined offset: 0 in /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/models/house.php on line 126 Notice: Trying to get property of non-object in /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/models/house.php on line 126 Notice: Undefined offset: -1 in /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/models/house.php on line 127 Notice: Trying to get property of non-object in /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/models/house.php on line 127 Notice: Undefined variable: i_m in /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/models/house.php on line 138 Notice: Undefined variable: i_m in /home/a/alex08m7/mielsp.ru/public_html/components/com_houses/models/house.php on line 139 call call call call