I am
The Great
Pumpkin.
Click HERE to register.


 Forgot your info?
Remember me

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

By:
Digg Share
Looking for more from ?
READ TIMES
Back To The Schoolyard!

The campfires are out, the amusement parks, water parks, and camp sites are closed until spring in the north. The leave have started to change and th...

A Sega Genesis Retrospective

Back in the year of 1989, I was a mere two years old by October. Obviously I wasn't old enough to have the experience to excel at a game, but for havi...

Summers with Camp Anawanna

When I was a kid, the idea of cable television was mostly foreign to me, as I was mostly able to see it whenever I visited my grandparents twice a y...

Why the Rabbit Ears Productions series should become a TV series

So, I had just recently written an article about my retrospective on Rabbit Ears Productions, which explains about what that company is all about an...

Benjanime's Back to School Essentials

Missing Summer break and dreading the next school year was one of the many recurring moments of my childhood, but where the grass is greener on the ot...

PHP warning

PHP warning

Creating default object from empty value

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

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