Велосипедист попал в больницу в результате ДТП в Великих Луках

Велосипедист попал в больницу из-за ДТП в Великих Луках, передаёт корреспондент газеты «Великолукская правда. Новости».

Авария с участием автомобилей «Додж», «Тойота» и велосипедиста произошла на пересечении улиц Дружбы и Гоголя в Великих Луках.

В результате ДТП пострадал велосипедист.
Пострадавшего доставили на скорой медицинской помощи с различными травмами в больницу. 

На месте происшествия работают сотрудники ДПС, выясняют обстоятельства произошедшего.

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

Следите ли вы за успехами нашей сборной на Евро 2021?

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


Идет загрузка...
Журнал приложения
Время Уровень Категория Сообщение
22:29:53.462116 trace system.CModule
Loading "log" application component
22:29:53.462501 trace system.CModule
Loading "request" application component
22:29:53.462738 trace system.CModule
Loading "urlManager" application component
22:29:53.462866 trace system.CModule
Loading "cache" application component
22:29:53.466401 trace system.caching.CMemCache
Serving "Yii.CUrlManager.rules" from cache
22:29:53.474061 trace system.caching.CMemCache
Saving "Yii.CUrlManager.rules" to cache
22:29:53.478070 trace system.base.CModule
Loading "publication" module
22:29:53.478480 trace system.CModule
Loading "session" application component
22:29:53.482086 trace system.web.filters.CFilterChain
Running filter PublicationController.filterrights()
22:29:53.482147 trace system.CModule
Loading "user" application component
22:29:53.482331 trace system.CModule
Loading "securityManager" application component
22:29:53.482786 trace system.db.ar.CActiveRecord
Publication.findByPk()
22:29:53.482801 trace system.CModule
Loading "db" application component
22:29:53.482871 trace system.db.CDbConnection
Opening DB connection
22:29:53.485038 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{publication}}"
from cache
22:29:53.485316 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_publication` `t` WHERE `t`.`id`='357441'
AND (status = :status AND media_clone = 0) LIMIT 1. Bound with :status=1
22:29:53.485327 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='357441' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
22:29:53.486207 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='357441' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
22:29:53.486756 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_media` `m`
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE m.id = :mid AND (m.type = :mtype OR m.type = :itype)
ORDER BY `f`.`main` DESC, `f`.`id` ASC. Bound with :mid='25254', :mtype=5,
:itype=3
22:29:53.486763 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_media` `m`
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE m.id = :mid AND (m.type = :mtype OR m.type = :itype)
ORDER BY `f`.`main` DESC, `f`.`id` ASC. Bound with :mid='25254', :mtype=5,
:itype=3)
22:29:53.487684 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_media` `m`
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE m.id = :mid AND (m.type = :mtype OR m.type = :itype)
ORDER BY `f`.`main` DESC, `f`.`id` ASC. Bound with :mid='25254', :mtype=5,
:itype=3)
22:29:53.487739 trace system.CModule
Loading "widgetFactory" application component
22:29:53.487970 trace system.CModule
Loading "messages" application component
22:29:53.488235 trace system.CModule
Loading "assetManager" application component
22:29:53.488356 trace system.CModule
Loading "clientScript" application component
22:29:53.488858 trace system.CModule
Loading "themeManager" application component
22:29:53.489345 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='357441'
22:29:53.489351 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='357441')
22:29:53.489907 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='357441')
22:29:53.490050 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='357441'
22:29:53.490056 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='357441')
22:29:53.490622 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='357441')
22:29:53.490813 trace system.db.CDbCommand
Querying SQL: SELECT image FROM tbl_publication_image WHERE pub_id = :id.
Bound with :id='357441'
22:29:53.490823 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='357441')
22:29:53.491125 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='357441')
22:29:53.491321 trace system.db.ar.CActiveRecord
Files.find()
22:29:53.491839 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:tbl_files"
from cache
22:29:53.491920 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_files` `t` WHERE object_id = :id AND
object_name = "Publication" LIMIT 1. Bound with :id='357441'
22:29:53.491926 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='357441')
22:29:53.492470 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='357441')
22:29:53.492724 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='357441', :projectId=1
22:29:53.492733 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='357441',
:projectId=1)
22:29:53.493617 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='357441',
:projectId=1)
22:29:53.493801 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='357441'
22:29:53.493808 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='357441')
22:29:53.495599 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='357441')
22:29:53.495873 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='357441', :mtype=5, :itype=3
22:29:53.495882 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='357441', :mtype=5, :itype=3)
22:29:53.496710 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='357441', :mtype=5, :itype=3)
22:29:53.496893 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='357441',
:mtype=1
22:29:53.496901 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='357441',
:mtype=1)
22:29:53.497755 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='357441',
:mtype=1)
22:29:53.497951 trace system.CModule
Loading "statePersister" application component
22:29:53.498450 trace system.caching.CMemCache
Serving
"Yii.CStatePersister./test.informpskov.ru/htdocs/protected/runtime/state.bin"
from cache
22:29:53.498878 trace system.caching.CMemCache
Serving "Informers_2021-06-15" from cache
22:29:53.500269 trace system.caching.CMemCache
Serving "Commercial_131" from cache
22:29:53.501372 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=25, :status=1, :pid='%1%'
22:29:53.501380 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=25, :status=1, :pid='%1%')
22:29:53.502202 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=25, :status=1, :pid='%1%')
22:29:53.502234 trace system.caching.CMemCache
Saving "Commercial_251" to cache
22:29:53.503051 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=17, :status=1, :pid='%1%'
22:29:53.503057 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=17, :status=1, :pid='%1%')
22:29:53.503899 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=17, :status=1, :pid='%1%')
22:29:53.503985 trace system.db.CDbCommand
Querying SQL: SELECT * FROM tbl_commercial_section WHERE commercial_id =
:id. Bound with :id='540'
22:29:53.503992 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM tbl_commercial_section WHERE
commercial_id = :id. Bound with :id='540')
22:29:53.504268 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM tbl_commercial_section WHERE
commercial_id = :id. Bound with :id='540')
22:29:53.504303 trace system.caching.CMemCache
Saving "Commercial_171" to cache
22:29:53.505249 trace system.caching.CMemCache
Serving "LastPoll_1" from cache
22:29:53.505630 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll}}"
from cache
22:29:53.505682 trace system.db.ar.CActiveRecord
lazy loading Poll.choices
22:29:53.506280 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_choice}}"
from cache
22:29:53.506473 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='555'
22:29:53.506479 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='555')
22:29:53.506756 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='555')
22:29:53.506978 trace system.base.CModule
Loading "poll" module
22:29:53.507244 trace system.caching.CMemCache
Deleting "userCanVote_555_0" from cache
22:29:53.507584 trace system.db.ar.CActiveRecord
lazy loading Poll.votes
22:29:53.508162 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_vote}}"
from cache
22:29:53.508336 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='555'
22:29:53.508343 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='555')
22:29:53.508920 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='555')
22:29:53.513609 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='6'
22:29:53.513618 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='6')
22:29:53.513979 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='6')
22:29:53.518728 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='6'
22:29:53.518735 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='6')
22:29:53.519083 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='6')
22:29:53.523691 trace system.db.CDbCommand
Querying SQL: SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='132'
22:29:53.523698 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='132')
22:29:53.523935 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='132')
22:29:53.524373 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=14, :status=1, :pid='%1%'
22:29:53.524385 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=14, :status=1, :pid='%1%')
22:29:53.525187 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=14, :status=1, :pid='%1%')
22:29:53.525217 trace system.caching.CMemCache
Saving "Commercial_141" to cache
22:29:53.525866 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=15, :status=1, :pid='%1%'
22:29:53.525878 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=15, :status=1, :pid='%1%')
22:29:53.526640 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=15, :status=1, :pid='%1%')
22:29:53.526669 trace system.caching.CMemCache
Saving "Commercial_151" to cache
22:29:53.527267 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=16, :status=1, :pid='%1%'
22:29:53.527277 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=16, :status=1, :pid='%1%')
22:29:53.528091 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=16, :status=1, :pid='%1%')
22:29:53.528173 trace system.db.CDbCommand
Querying SQL: SELECT * FROM tbl_commercial_section WHERE commercial_id =
:id. Bound with :id='551'
22:29:53.528177 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM tbl_commercial_section WHERE
commercial_id = :id. Bound with :id='551')
22:29:53.528423 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM tbl_commercial_section WHERE
commercial_id = :id. Bound with :id='551')
22:29:53.528450 trace system.caching.CMemCache
Saving "Commercial_161" to cache
22:29:53.529139 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=18, :status=1, :pid='%1%'
22:29:53.529150 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=18, :status=1, :pid='%1%')
22:29:53.529906 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=18, :status=1, :pid='%1%')
22:29:53.529937 trace system.caching.CMemCache
Saving "Commercial_181" to cache
22:29:53.530510 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=19, :status=1, :pid='%1%'
22:29:53.530522 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=19, :status=1, :pid='%1%')
22:29:53.531277 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=19, :status=1, :pid='%1%')
22:29:53.531306 trace system.caching.CMemCache
Saving "Commercial_191" to cache
22:29:53.531896 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=20, :status=1, :pid='%1%'
22:29:53.531903 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=20, :status=1, :pid='%1%')
22:29:53.532325 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=20, :status=1, :pid='%1%')
22:29:53.532341 trace system.caching.CMemCache
Saving "Commercial_201" to cache
22:29:53.533051 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=21, :status=1, :pid='%1%'
22:29:53.533063 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=21, :status=1, :pid='%1%')
22:29:53.533812 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=21, :status=1, :pid='%1%')
22:29:53.533847 trace system.caching.CMemCache
Saving "Commercial_211" to cache
22:29:53.534614 trace system.caching.CMemCache
Serving "Commercial_31" from cache
22:29:53.535157 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=6, :status=1, :pid='%1%'
22:29:53.535171 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=6, :status=1, :pid='%1%')
22:29:53.535953 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=6, :status=1, :pid='%1%')
22:29:53.535984 trace system.caching.CMemCache
Saving "Commercial_61" to cache
22:29:53.537569 trace system.caching.CMemCache
Deleting "Yii.COutputCache.projectThemes_1......." from cache
22:29:53.537873 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:29:53.537883 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:29:53.538192 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)