A
Winner
is you!
Click HERE to register.


 Forgot your info?
Remember me

Don't mess
with the bull.
JOIN!!!
7 COMMENTS
RETRORATING:
FAVORITED TIMES

By:
Digg Share
Looking for more from ?
READ TIMES
Ranking Thanksgiving foods from childhood

With the month of November coming to a close, there was always the day of the family gathering to look forward to, being around relatives you probably...

Autism and video games: A connection

Being diagnosed with aspergers at the age of two, I never had the thought of how different I was from the other kids I befriended during my childhood....

Favorite childhood toys growing up

Throughout the decade of my childhood, I had toys that came and went but many which shaped my youth, whether it was the simple building of LEGO or the...

A Closer Look at: The 25 Days of Christmas

       With the holidays here it's a joyus time of year normally. However with the year of 2020 things have been one event&...

The prelude to Autumn

In the span of only a few months, the summer season is over. We've had our fill of a vacation in the heat, but it's back to the drawing b...

PHP warning

PHP warning

Creating default object from empty value

/home/ghostofvapor/public_html/protected/controllers/SiteController.php(1157)

1145             //$allArticles = Articles::model()->findAllByAttributes(array('status'=>'Approved'), array('order'=>'id desc', 'limit'=>10));
1146 
1147             if (isset(Yii::app()->user->uid)) {
1148                 $ifFavorited = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Favorited'));
1149                 $ifApproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Approved'));
1150                 $ifDisapproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Disapproved'));
1151                 $ifAction = $ifApproved + $ifDisapproved;
1152             } else {
1153                 $ifFavorited = $ifAction = 0;
1154             }
1155 
1156             $this->render('article', array('model' => $model, 'article' => $article, 'postedBy' => $postedBy, 'comments' => $comments, 'commentCount' => $commentCount, 'ifFavorited' => $ifFavorited, 'ifAction' => $ifAction, 'allArticles' => $allArticles, 'pages' => $pages));
1157             $article->reads += 1;
1158             $article->update();
1159         } else {
1160             $this->redirect(Yii::app()->createUrl('site/error', array('code' => 404, 'message' => 'This page was not found.')));
1161             exit();
1162         }
1163     }
1164 
1165     public function actiontest() {
1166         if (isset($_GET['order']) && $_GET['order'] == 'title')
1167             $order = 'title ASC';
1168         else
1169             $order = 'posted_on DESC';

Stack Trace

#12
+
 /home/ghostofvapor/public_html/index.php(16): CApplication->run()
11 defined('YII_DEBUG') or define('YII_DEBUG',true);
12 // specify how many levels of call stack should be shown in each log message
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
14 
15 require_once($yii);
16 Yii::createWebApplication($config)->run();
2020-11-26 21:25:27 LiteSpeed Yii Framework/1.1.11