Warning: Declaration of ModelPagesBase::open() should be compatible with ModelBase::open($query = NULL) in /home/bc/hosts/comfort-house.ru/www/usr/modelpagesbase.inc on line 4

Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /home/bc/hosts/comfort-house.ru/www/app/models/articles/articlelistmodel.inc:17 Stack trace: #0 /home/bc/hosts/comfort-house.ru/www/app/controllers/articles/articles.inc(18): ArticleListModel->__construct(Object(MysqlRecordset), 'letters') #1 /home/bc/hosts/comfort-house.ru/www/app/blocks/mainblock.inc(18): include('/home/bc/hosts/...') #2 /home/bc/hosts/comfort-house.ru/www/usr/blockbase.inc(34): MainBlock->prepareContent() #3 /home/bc/hosts/comfort-house.ru/www/usr/services/blocksservice.inc(68): BlockBase->prepare() #4 /home/bc/hosts/comfort-house.ru/www/usr/main.inc(64): BlocksService::prepareBlock('MainBlock') #5 /home/bc/hosts/comfort-house.ru/www/index.php(18): require_once('/home/bc/hosts/...') #6 {main} thrown in /home/bc/hosts/comfort-house.ru/www/app/models/articles/articlelistmodel.inc on line 17