Posts Issued on "January 3, 2009"

 Welcome to Yii Blog
posted by demo on January 3, 2009

This blog system is developed using Yii. It is meant to demonstrate how to use Yii to build a complete real-world application. Complete source code may be found in the Yii releases.

Feel free to try this system by writing new posts and posting comments.



Application Log
Timestamp Level Category Message
19:13:53.223234 trace system.CModule
Loading "log" application component
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.224996 trace system.CModule
Loading "request" application component
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.226430 trace system.CModule
Loading "urlManager" application component
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.235064 trace system.web.filters.CFilterChain
Running filter PostController.filteraccessControl()
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.235667 trace system.CModule
Loading "user" application component
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.236846 trace system.CModule
Loading "session" application component
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.243077 trace system.CModule
Loading "db" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (15)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(317)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.243959 trace system.db.CDbConnection
Opening DB connection
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (15)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(317)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.251877 trace system.db.CDbCommand
Querying SQL: SHOW FULL COLUMNS FROM `Post`
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (15)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(317)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.257189 trace system.db.CDbCommand
Querying SQL: SHOW CREATE TABLE `Post`
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (15)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(317)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.257488 trace system.db.ar.CActiveRecord
Post.count()
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(317)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.259085 trace system.db.CDbCommand
Querying SQL: SELECT COUNT(*) FROM `Post` `t` WHERE status=1 AND createTime
> :time1 AND createTime < :time2
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(317)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.259717 trace system.db.ar.CActiveRecord
Post.findAll()
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(321)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.264666 trace system.db.CDbCommand
Querying SQL: SHOW FULL COLUMNS FROM `User`
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(321)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.270181 trace system.db.CDbCommand
Querying SQL: SHOW CREATE TABLE `User`
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(321)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.270823 trace system.db.CDbCommand
Querying SQL: SELECT `t`.`id` AS `t0_c0`, `t`.`title` AS `t0_c1`,
`t`.`content` AS `t0_c2`, `t`.`contentDisplay` AS `t0_c3`, `t`.`tags` AS
`t0_c4`, `t`.`status` AS `t0_c5`, `t`.`createTime` AS `t0_c6`,
`t`.`updateTime` AS `t0_c7`, `t`.`commentCount` AS `t0_c8`, `t`.`authorId`
AS `t0_c9`, `author`.`id` AS `t1_c0`, `author`.`username` AS `t1_c1`,
`author`.`password` AS `t1_c2`, `author`.`email` AS `t1_c3`,
`author`.`profile` AS `t1_c4` FROM `Post` `t`  LEFT OUTER JOIN `User`
`author` ON (`t`.`authorId`=`author`.`id`)  WHERE (status=1 AND createTime
> :time1 AND createTime < :time2) ORDER BY createTime DESC LIMIT 10
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(321)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.275814 trace system.CModule
Loading "widgetFactory" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/post/_post.php (7)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/post/date.php (6)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(327)
19:13:53.279238 trace system.CModule
Loading "coreMessages" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/post/date.php (10)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(327)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.281383 trace system.CModule
Loading "assetManager" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/post/date.php (10)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(327)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.282315 trace system.CModule
Loading "clientScript" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/post/date.php (10)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(327)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.284802 trace system.CModule
Loading "widgetCollapse" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/layouts/main.php
(18)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(327)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.287298 trace system.CModule
Loading "highslide" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/layouts/main.php
(19)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(327)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)
19:13:53.294810 trace system.db.ar.CActiveRecord
Post.findAll()
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (180)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/components/Calendar.php
(45)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/components/Portlet.php
(27)
19:13:53.295074 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `Post` `t` WHERE createTime > :time1 AND
createTime < :time2
                                        AND status=1 ORDER BY t.createTime
DESC
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (180)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/components/Calendar.php
(45)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/components/Portlet.php
(27)
19:13:53.297373 trace system.db.ar.CActiveRecord
Post.findAll()
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (153)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/MonthlyArchives.php
(10)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/monthlyArchives.php
(2)
19:13:53.297538 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `Post` `t` WHERE t.status=1 ORDER BY
t.createTime DESC LIMIT 9223372036854775807
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (153)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/MonthlyArchives.php
(10)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/monthlyArchives.php
(2)
19:13:53.300194 trace system.db.ar.CActiveRecord
Post.findAll()
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (153)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/RecentPosts.php
(9)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/recentPosts.php
(2)
19:13:53.300381 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `Post` `t` WHERE t.status=1 ORDER BY
t.createTime DESC LIMIT 10
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Post.php (153)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/RecentPosts.php
(9)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/recentPosts.php
(2)
19:13:53.302563 trace system.db.CDbCommand
Querying SQL: SHOW FULL COLUMNS FROM `Comment`
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Comment.php (18)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/RecentComments.php
(9)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/recentComments.php
(2)
19:13:53.307662 trace system.db.CDbCommand
Querying SQL: SHOW CREATE TABLE `Comment`
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Comment.php (18)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/RecentComments.php
(9)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/recentComments.php
(2)
19:13:53.308085 trace system.db.ar.CActiveRecord
Comment.findAll()
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Comment.php (130)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/RecentComments.php
(9)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/recentComments.php
(2)
19:13:53.308840 trace system.db.CDbCommand
Querying SQL: SELECT `t`.`id` AS `t0_c0`, `t`.`content` AS `t0_c1`,
`t`.`contentDisplay` AS `t0_c2`, `t`.`status` AS `t0_c3`, `t`.`createTime`
AS `t0_c4`, `t`.`author` AS `t0_c5`, `t`.`email` AS `t0_c6`, `t`.`url` AS
`t0_c7`, `t`.`postId` AS `t0_c8`, `post`.`id` AS `t1_c0`, `post`.`title` AS
`t1_c1`, `post`.`content` AS `t1_c2`, `post`.`contentDisplay` AS `t1_c3`,
`post`.`tags` AS `t1_c4`, `post`.`status` AS `t1_c5`, `post`.`createTime`
AS `t1_c6`, `post`.`updateTime` AS `t1_c7`, `post`.`commentCount` AS
`t1_c8`, `post`.`authorId` AS `t1_c9` FROM `Comment` `t`  INNER JOIN `Post`
`post` ON (`t`.`postId`=`post`.`id`)  WHERE (t.status=1) ORDER BY
t.createTime DESC LIMIT 10
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Comment.php (130)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/RecentComments.php
(9)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/recentComments.php
(2)
19:13:53.310589 trace system.db.CDbCommand
Querying SQL: SHOW FULL COLUMNS FROM `Tag`
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Tag.php (11)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/tagCloud.php
(1)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/components/TagCloud.php
(14)
19:13:53.313719 trace system.db.CDbCommand
Querying SQL: SHOW CREATE TABLE `Tag`
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Tag.php (11)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/tagCloud.php
(1)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/components/TagCloud.php
(14)
19:13:53.314091 trace system.db.CDbCommand
Querying SQL: 	SELECT name, COUNT(postId) AS weight
	FROM Tag, PostTag
	WHERE Tag.id=PostTag.tagId
	GROUP BY name
	HAVING COUNT(postId)>0
	ORDER BY weight DESC
	LIMIT 20
in /home/gigatech/2.gigatech.z8.ru/docs/protected/models/Tag.php (39)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/components/views/tagCloud.php
(1)
in /home/gigatech/2.gigatech.z8.ru/docs/protected/components/TagCloud.php
(14)
19:13:53.318691 trace system.CModule
Loading "timer" application component
in /home/gigatech/2.gigatech.z8.ru/docs/protected/views/layouts/main.php
(73)
in
/home/gigatech/2.gigatech.z8.ru/docs/protected/controllers/PostController.php
(327)
in /home/gigatech/2.gigatech.z8.ru/docs/index.php (13)