Wait'll
they get a load
of me.
Click HERE to register.


 Forgot your info?
Remember me

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

By:
Digg Share
Looking for more from ?
READ TIMES
Surviving the Long, Cold Winter

The holidays are over. All of the shiny decorations are gone, presents have been opened, and we’ve eaten all the sugary treats. I stare through ...

The world of Game Boy Color Accessories

If you're a 90's kid like me, chances are you had some accessories for a video game handheld you owned, whether it was the Sega Game Gear, or Nintendo...

The Aftermath of Christmas

So Christmas is over, (almost?) everyone is happy with what they got, and it's already that time to put the decorations and lights away. But, where an...

The rise, fall, and resurgence of Earthworm Jim

In the middle of the 16-bit video game console era, many developers tried to go with the trend of making their own video game mascots for their compan...

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...

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();
2021-01-20 16:13:20 LiteSpeed Yii Framework/1.1.11