Своя кухня: вдохновляющие истории о тех, кто нас вкусно кормит (ЛОНГРИД)

В Псков едут не только посмотреть на красоту и отдохнуть, но и вкусно поесть. В городе есть десятки уникальных кафе, ресторанов, которые стали визитной карточкой города.

За атмосферой гостеприимства стоит кропотливый труд предпринимателей и их команд. Лонгрид расскажет несколько вдохновляющих историй о становлении и работе ресторанного бизнеса в Пскове. В частности, читатели смогут получить 10 советов от эксперта Федерации рестораторов и отельеров Андрея Филатова, а также узнать, как ресторан в Изборске искал своё лицо и как найти свою нишу в ресторанном бизнесе.

Государство предлагает широкий спектр мер поддержки как для начинающих предпринимателей, так и для уже работающих бизнесов – субсидии от центра занятости, грантовая поддержка, федеральные программы поддержки бизнеса, региональные программы поддержки, поддержка самозанятых в 2021 году. Псковичи могут получить поддержку, обратившись в центр «Мой бизнес».

СМОТРЕТЬ ЛОНГРИД>>>

Версия для печати

Как часто пользуетесь онлайн магазинами?

Проголосовать >>>


Идет загрузка...
Журнал приложения
Время Уровень Категория Сообщение
22:34:25.621962 trace system.CModule
Loading "log" application component
22:34:25.622443 trace system.CModule
Loading "request" application component
22:34:25.622704 trace system.CModule
Loading "urlManager" application component
22:34:25.622838 trace system.CModule
Loading "cache" application component
22:34:25.625596 trace system.caching.CMemCache
Serving "Yii.CUrlManager.rules" from cache
22:34:25.630656 trace system.caching.CMemCache
Saving "Yii.CUrlManager.rules" to cache
22:34:25.634412 trace system.base.CModule
Loading "publication" module
22:34:25.635000 trace system.CModule
Loading "session" application component
22:34:25.638838 trace system.web.filters.CFilterChain
Running filter PublicationController.filterrights()
22:34:25.638940 trace system.CModule
Loading "user" application component
22:34:25.639203 trace system.CModule
Loading "securityManager" application component
22:34:25.639703 trace system.db.ar.CActiveRecord
Publication.findByPk()
22:34:25.639718 trace system.CModule
Loading "db" application component
22:34:25.639796 trace system.db.CDbConnection
Opening DB connection
22:34:25.642071 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{publication}}"
from cache
22:34:25.642369 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_publication` `t` WHERE `t`.`id`='348323'
AND (status = :status AND media_clone = 0) LIMIT 1. Bound with :status=1
22:34:25.642379 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='348323' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
22:34:25.643214 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='348323' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
22:34:25.643541 trace system.db.CDbCommand
Querying SQL: SELECT `id`
FROM `tbl_publication_counter`
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW())
LIMIT 1. Bound with :id='348323'
22:34:25.643547 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `id`
FROM `tbl_publication_counter`
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW())
LIMIT 1. Bound with :id='348323')
22:34:25.644606 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `id`
FROM `tbl_publication_counter`
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW())
LIMIT 1. Bound with :id='348323')
22:34:25.644747 trace system.db.CDbCommand
Executing SQL: UPDATE `tbl_publication_counter` SET `viewed`=(viewed+1)
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW()).
Bound with :id='348323'
22:34:25.644754 profile system.db.CDbCommand.execute
begin:system.db.CDbCommand.execute(UPDATE `tbl_publication_counter` SET
`viewed`=(viewed+1) WHERE publication_id = :id AND
DATE(FROM_UNIXTIME(cdate)) = DATE(NOW()). Bound with :id='348323')
22:34:25.645847 profile system.db.CDbCommand.execute
end:system.db.CDbCommand.execute(UPDATE `tbl_publication_counter` SET
`viewed`=(viewed+1) WHERE publication_id = :id AND
DATE(FROM_UNIXTIME(cdate)) = DATE(NOW()). Bound with :id='348323')
22:34:25.646080 trace system.db.CDbCommand
Querying SQL: SELECT image FROM tbl_publication_image WHERE pub_id = :id.
Bound with :id='348323'
22:34:25.646085 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='348323')
22:34:25.646385 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='348323')
22:34:25.646573 trace system.db.ar.CActiveRecord
Files.find()
22:34:25.647012 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:tbl_files"
from cache
22:34:25.647087 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_files` `t` WHERE object_id = :id AND
object_name = "Publication" LIMIT 1. Bound with :id='348323'
22:34:25.647093 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM `tbl_files` `t` WHERE
object_id = :id AND object_name = "Publication" LIMIT 1. Bound with
:id='348323')
22:34:25.648658 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM `tbl_files` `t` WHERE
object_id = :id AND object_name = "Publication" LIMIT 1. Bound with
:id='348323')
22:34:25.648922 trace system.db.CDbCommand
Querying SQL: SELECT s.id, s.name, s.urlname FROM tbl_section s JOIN
tbl_publication_section ps ON ps.section_id = s.id WHERE ps.pub_id = :pId
AND s.project_id = :projectId. Bound with :pId='348323', :projectId=1
22:34:25.648931 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT s.id, s.name, s.urlname FROM
tbl_section s JOIN tbl_publication_section ps ON ps.section_id = s.id WHERE
ps.pub_id = :pId AND s.project_id = :projectId. Bound with :pId='348323',
:projectId=1)
22:34:25.649666 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT s.id, s.name, s.urlname FROM
tbl_section s JOIN tbl_publication_section ps ON ps.section_id = s.id WHERE
ps.pub_id = :pId AND s.project_id = :projectId. Bound with :pId='348323',
:projectId=1)
22:34:25.649842 trace system.db.CDbCommand
Querying SQL: SELECT t.id, t.name FROM tbl_theme t JOIN
tbl_publication_theme pt ON pt.theme_id = t.id WHERE pt.pub_id = :pId.
Bound with :pId='348323'
22:34:25.649848 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT t.id, t.name FROM tbl_theme t JOIN
tbl_publication_theme pt ON pt.theme_id = t.id WHERE pt.pub_id = :pId.
Bound with :pId='348323')
22:34:25.650413 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT t.id, t.name FROM tbl_theme t JOIN
tbl_publication_theme pt ON pt.theme_id = t.id WHERE pt.pub_id = :pId.
Bound with :pId='348323')
22:34:25.650775 trace system.db.CDbCommand
Querying SQL: SELECT `f`.`id` AS `fid`, `f`.`name` AS `filename`,
`f`.`filepath`, `f`.`title`, `f`.`author`, `m`.`name`, `m`.`author` AS
`mauthor`
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE pm.pub_id = :pid AND m.in_publication = 1 AND (m.type = :mtype OR
m.type = :itype)
ORDER BY `f`.`id` ASC. Bound with :pid='348323', :mtype=5, :itype=3
22:34:25.650784 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `f`.`id` AS `fid`, `f`.`name` AS
`filename`, `f`.`filepath`, `f`.`title`, `f`.`author`, `m`.`name`,
`m`.`author` AS `mauthor`
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE pm.pub_id = :pid AND m.in_publication = 1 AND (m.type = :mtype OR
m.type = :itype)
ORDER BY `f`.`id` ASC. Bound with :pid='348323', :mtype=5, :itype=3)
22:34:25.651817 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `f`.`id` AS `fid`, `f`.`name` AS
`filename`, `f`.`filepath`, `f`.`title`, `f`.`author`, `m`.`name`,
`m`.`author` AS `mauthor`
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE pm.pub_id = :pid AND m.in_publication = 1 AND (m.type = :mtype OR
m.type = :itype)
ORDER BY `f`.`id` ASC. Bound with :pid='348323', :mtype=5, :itype=3)
22:34:25.652020 trace system.db.CDbCommand
Querying SQL: SELECT
CONCAT("http://media.informpskov.ru/",f.filepath,f.name) as file,
CONCAT("http://media.informpskov.ru/",fv.filepath,fv.name) as poster,
m.name as comment
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
LEFT JOIN `tbl_files` `fv` ON fv.object_id = m.id AND fv.object_name =
"Video"
WHERE pm.pub_id = :pid AND m.type = :mtype. Bound with :pid='348323',
:mtype=1
22:34:25.652028 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT
CONCAT("http://media.informpskov.ru/",f.filepath,f.name) as file,
CONCAT("http://media.informpskov.ru/",fv.filepath,fv.name) as poster,
m.name as comment
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
LEFT JOIN `tbl_files` `fv` ON fv.object_id = m.id AND fv.object_name =
"Video"
WHERE pm.pub_id = :pid AND m.type = :mtype. Bound with :pid='348323',
:mtype=1)
22:34:25.652882 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT
CONCAT("http://media.informpskov.ru/",f.filepath,f.name) as file,
CONCAT("http://media.informpskov.ru/",fv.filepath,fv.name) as poster,
m.name as comment
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
LEFT JOIN `tbl_files` `fv` ON fv.object_id = m.id AND fv.object_name =
"Video"
WHERE pm.pub_id = :pid AND m.type = :mtype. Bound with :pid='348323',
:mtype=1)
22:34:25.652915 trace system.CModule
Loading "clientScript" application component
22:34:25.653275 trace system.CModule
Loading "statePersister" application component
22:34:25.653810 trace system.caching.CMemCache
Serving
"Yii.CStatePersister./test.informpskov.ru/htdocs/protected/runtime/state.bin"
from cache
22:34:25.654371 trace system.caching.CMemCache
Serving "Informers_2021-07-29" from cache
22:34:25.654400 trace system.CModule
Loading "themeManager" application component
22:34:25.656111 trace system.CModule
Loading "widgetFactory" application component
22:34:25.656992 trace system.db.CDbCommand
Querying SQL: SELECT b.id, b.urlname, b.name, b.hide_main, b.rotate,
b.sort, b.iframe, b.test, b.script, f.id as fid, f.filepath as filepath,
f.name as fname FROM tbl_commercial b LEFT JOIN tbl_files f ON b.id =
f.object_id AND f.object_name = "Commercial" WHERE b.place = :place AND
b.status = :status AND b.project_id LIKE :pid ORDER BY b.sort ASC LIMIT 20.
Bound with :place=13, :status=1, :pid='%1%'
22:34:25.657005 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT b.id, b.urlname, b.name,
b.hide_main, b.rotate, b.sort, b.iframe, b.test, b.script, f.id as fid,
f.filepath as filepath, f.name as fname FROM tbl_commercial b LEFT JOIN
tbl_files f ON b.id = f.object_id AND f.object_name = "Commercial" WHERE
b.place = :place AND b.status = :status AND b.project_id LIKE :pid ORDER BY
b.sort ASC LIMIT 20. Bound with :place=13, :status=1, :pid='%1%')
22:34:25.657325 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT b.id, b.urlname, b.name, b.hide_main,
b.rotate, b.sort, b.iframe, b.test, b.script, f.id as fid, f.filepath as
filepath, f.name as fname FROM tbl_commercial b LEFT JOIN tbl_files f ON
b.id = f.object_id AND f.object_name = "Commercial" WHERE b.place = :place
AND b.status = :status AND b.project_id LIKE :pid ORDER BY b.sort ASC LIMIT
20. Bound with :place=13, :status=1, :pid='%1%')
22:34:25.657423 trace system.db.CDbCommand
Querying SQL: SELECT * FROM tbl_commercial_section WHERE commercial_id =
:id. Bound with :id='522'
22:34:25.657432 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM tbl_commercial_section WHERE
commercial_id = :id. Bound with :id='522')
22:34:25.657752 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM tbl_commercial_section WHERE
commercial_id = :id. Bound with :id='522')
22:34:25.657793 trace system.caching.CMemCache
Saving "Commercial_131" to cache
22:34:25.659131 trace system.CModule
Loading "messages" application component
22:34:25.659625 trace system.caching.CMemCache
Serving "Commercial_251" from cache
22:34:25.660197 trace system.caching.CMemCache
Serving "Commercial_171" from cache
22:34:25.660839 trace system.CModule
Loading "assetManager" application component
22:34:25.661425 trace system.caching.CMemCache
Serving "LastPoll_1" from cache
22:34:25.661886 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll}}"
from cache
22:34:25.661964 trace system.db.ar.CActiveRecord
lazy loading Poll.choices
22:34:25.662718 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_choice}}"
from cache
22:34:25.663012 trace system.db.CDbCommand
Querying SQL: SELECT `choices`.`id` AS `t1_c0`, `choices`.`poll_id` AS
`t1_c1`, `choices`.`label` AS `t1_c2`, `choices`.`votes` AS `t1_c3`,
`choices`.`weight` AS `t1_c4` FROM `tbl_poll_choice` `choices`  WHERE
(`choices`.`poll_id`=:ypl0) ORDER BY weight ASC, label ASC. Bound with
:ypl0='564'
22:34:25.663022 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `choices`.`id` AS `t1_c0`,
`choices`.`poll_id` AS `t1_c1`, `choices`.`label` AS `t1_c2`,
`choices`.`votes` AS `t1_c3`, `choices`.`weight` AS `t1_c4` FROM
`tbl_poll_choice` `choices`  WHERE (`choices`.`poll_id`=:ypl0) ORDER BY
weight ASC, label ASC. Bound with :ypl0='564')
22:34:25.663316 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `choices`.`id` AS `t1_c0`,
`choices`.`poll_id` AS `t1_c1`, `choices`.`label` AS `t1_c2`,
`choices`.`votes` AS `t1_c3`, `choices`.`weight` AS `t1_c4` FROM
`tbl_poll_choice` `choices`  WHERE (`choices`.`poll_id`=:ypl0) ORDER BY
weight ASC, label ASC. Bound with :ypl0='564')
22:34:25.663633 trace system.base.CModule
Loading "poll" module
22:34:25.664045 trace system.caching.CMemCache
Deleting "userCanVote_564_0" from cache
22:34:25.664391 trace system.db.ar.CActiveRecord
lazy loading Poll.votes
22:34:25.664987 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_vote}}"
from cache
22:34:25.665185 trace system.db.CDbCommand
Querying SQL: SELECT `votes`.`id` AS `t1_c0`, `votes`.`poll_id` AS `t1_c1`,
`votes`.`choice_id` AS `t1_c2`, `votes`.`user_id` AS `t1_c3`,
`votes`.`ip_address` AS `t1_c4`, `votes`.`ip_real` AS `t1_c5`,
`votes`.`timestamp` AS `t1_c6`, `votes`.`register` AS `t1_c7` FROM
`tbl_poll_vote` `votes`  WHERE (`votes`.`poll_id`=:ypl0). Bound with
:ypl0='564'
22:34:25.665194 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `votes`.`id` AS `t1_c0`,
`votes`.`poll_id` AS `t1_c1`, `votes`.`choice_id` AS `t1_c2`,
`votes`.`user_id` AS `t1_c3`, `votes`.`ip_address` AS `t1_c4`,
`votes`.`ip_real` AS `t1_c5`, `votes`.`timestamp` AS `t1_c6`,
`votes`.`register` AS `t1_c7` FROM `tbl_poll_vote` `votes`  WHERE
(`votes`.`poll_id`=:ypl0). Bound with :ypl0='564')
22:34:25.665951 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `votes`.`id` AS `t1_c0`,
`votes`.`poll_id` AS `t1_c1`, `votes`.`choice_id` AS `t1_c2`,
`votes`.`user_id` AS `t1_c3`, `votes`.`ip_address` AS `t1_c4`,
`votes`.`ip_real` AS `t1_c5`, `votes`.`timestamp` AS `t1_c6`,
`votes`.`register` AS `t1_c7` FROM `tbl_poll_vote` `votes`  WHERE
(`votes`.`poll_id`=:ypl0). Bound with :ypl0='564')
22:34:25.673718 trace system.db.CDbCommand
Querying SQL: SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4'
22:34:25.673726 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`,
`p`.`content`, `p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id`
AS `fid`, `f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:34:25.674067 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:34:25.677716 trace system.db.CDbCommand
Querying SQL: SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4'
22:34:25.677722 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`,
`p`.`content`, `p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id`
AS `fid`, `f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:34:25.678055 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:34:25.681579 trace system.db.CDbCommand
Querying SQL: SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='101'
22:34:25.681585 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='101')
22:34:25.681859 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='101')
22:34:25.682219 trace system.caching.CMemCache
Serving "Commercial_141" from cache
22:34:25.682394 trace system.caching.CMemCache
Serving "Commercial_151" from cache
22:34:25.682600 trace system.caching.CMemCache
Serving "Commercial_161" from cache
22:34:25.682830 trace system.caching.CMemCache
Serving "Commercial_181" from cache
22:34:25.683068 trace system.caching.CMemCache
Serving "Commercial_191" from cache
22:34:25.683300 trace system.caching.CMemCache
Serving "Commercial_201" from cache
22:34:25.683542 trace system.caching.CMemCache
Serving "Commercial_211" from cache
22:34:25.683813 trace system.caching.CMemCache
Serving "Commercial_31" from cache
22:34:25.684243 trace system.caching.CMemCache
Serving "Commercial_61" from cache
22:34:25.685662 trace system.caching.CMemCache
Deleting "Yii.COutputCache.projectThemes_1......." from cache
22:34:25.685872 trace system.db.CDbCommand
Querying SQL: SELECT * FROM (SELECT t.id, t.name, p.urlname as project,
pu.theme_id, pu.pub_id FROM tbl_theme t LEFT JOIN tbl_project p ON p.id =
t.project_id JOIN tbl_publication_theme pu ON pu.theme_id = t.id WHERE
t.project_id = :pId AND t.status = :status AND t.hide <> 1 ORDER BY
pu.pub_id DESC LIMIT 100) AS ot GROUP by ot.id ORDER BY ot.pub_id DESC
LIMIT 5. Bound with :pId=1, :status=1
22:34:25.685878 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM (SELECT t.id, t.name,
p.urlname as project, pu.theme_id, pu.pub_id FROM tbl_theme t LEFT JOIN
tbl_project p ON p.id = t.project_id JOIN tbl_publication_theme pu ON
pu.theme_id = t.id WHERE t.project_id = :pId AND t.status = :status AND
t.hide <> 1 ORDER BY pu.pub_id DESC LIMIT 100) AS ot GROUP by ot.id ORDER
BY ot.pub_id DESC LIMIT 5. Bound with :pId=1, :status=1)
22:34:25.686055 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM (SELECT t.id, t.name,
p.urlname as project, pu.theme_id, pu.pub_id FROM tbl_theme t LEFT JOIN
tbl_project p ON p.id = t.project_id JOIN tbl_publication_theme pu ON
pu.theme_id = t.id WHERE t.project_id = :pId AND t.status = :status AND
t.hide <> 1 ORDER BY pu.pub_id DESC LIMIT 100) AS ot GROUP by ot.id ORDER
BY ot.pub_id DESC LIMIT 5. Bound with :pId=1, :status=1)