Be A Pepper.
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
Remembering RetroJunk

I joined RetroJunk in the Fall of 2008. I was 22 years old at the time and stumbled on the site while (I think) looking for a Doug episode. I've been ...

Sleepovers

Recently my wife suggested to me that our kids should not be participating in the age-old tradition of sleepovers. Her reasoning was that the world ...

Pizza Hut Promotions

In the days before retailers and restaurants could just give you a 7 digit code to enter on their website for access to “awesome content”, they ...

NLogan's Retro Halloween Overload

I was born with Halloween in my blood. Halloween has a strong spectral grip on my family. Me and my twin in 1977.I hope to pass on this love for All H...

Remembering Rainy Days

...It's raining, it's pouring The old man is snoring He went to bed and he bumped his head And couldn't get up...

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-07-04 04:31:51 LiteSpeed Yii Framework/1.1.11