Love is a battlefield, and I'm unarmed.
Click HERE to register.


 Forgot your info?
Remember me

Don't be a
gutless turd.
JOIN!
2 COMMENTS
RETRORATING:
FAVORITED TIMES

By:
Digg Share
Looking for more from ?
READ TIMES
Temple of Retro Toys

A couple years back I invited you to join me on a retro toy excavation in the basement of my wife’s childhood home called Raiders of the Lost Toys...

Top Songs from the 80s with Numbers in the Title

Everywhere you look there are numbers. Whether it’s a date, address, price, time, quantity, speed limit, phone number, age… numbers are all aroun...

Underrated NES Games

In the Toys R Us and Blockbuster stores of old, beneath a cavalcade of neon lights and oversized price stickers, lived a treasure trove of classic gam...

Benjanime's summer trip survival guide

It's Summer break, you just got dropped off from the school bus to run home and your parents are planning a road trip for a vacation out of state. The...

Action Figure Reclamation Project Phase 5

It’s been a while since I provided an update to my Action Figure Reclamation Project where I've been seeking to re-build my childhood toy collectio...

PHP warning

PHP warning

Creating default object from empty value

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

1137             //$allArticles = Articles::model()->findAllByAttributes(array('status'=>'Approved'), array('order'=>'id desc', 'limit'=>10));
1138 
1139             if (isset(Yii::app()->user->uid)) {
1140                 $ifFavorited = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Favorited'));
1141                 $ifApproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Approved'));
1142                 $ifDisapproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Disapproved'));
1143                 $ifAction = $ifApproved + $ifDisapproved;
1144             } else {
1145                 $ifFavorited = $ifAction = 0;
1146             }
1147 
1148             $this->render('article', array('model' => $model, 'article' => $article, 'postedBy' => $postedBy, 'comments' => $comments, 'commentCount' => $commentCount, 'ifFavorited' => $ifFavorited, 'ifAction' => $ifAction, 'allArticles' => $allArticles, 'pages' => $pages));
1149             $article->reads += 1;
1150             $article->update();
1151         } else {
1152             $this->redirect(Yii::app()->createUrl('site/error', array('code' => 404, 'message' => 'This page was not found.')));
1153             exit();
1154         }
1155     }
1156 
1157     public function actiontest() {
1158         if (isset($_GET['order']) && $_GET['order'] == 'title')
1159             $order = 'title ASC';
1160         else
1161             $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();
2019-06-16 11:05:26 LiteSpeed Yii Framework/1.1.11