You will
never be
forgotten.
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
Japanimaniacs: Video Games, Toys and Snacks

Sanrio. Famicom. Pocky. Words that meant nothing to me as an American born child raised on Dennis the Menace and Fruit Roll-Ups. That is until I was e...

Roller Rinks! 80's Style!

Who remembers going to the roller rink in the 80's? Who misses it like I do? Haha!I remember going to the roller rink when I was a kid and it was so f...

Boredom at Card Parties

When I turned 12 years old I found myself at that awkward age where I wasn’t young enough to be left with a babysitter, but my parents still f...

Sitcom Characters Who Got Stupid

In classic TV sitcoms there is always the dum-dum. You know, the goofy friend or neighbor that doesn't have a clue and tickles our funny bones with th...

Goodnight, Summer

As the dog days of Summer came to a close, and the Big Dipper rose above Sean's house, that was the sign. The sign it was time to play flashlight tag!...

PHP warning

PHP warning

Creating default object from empty value

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

1226             //$allArticles = Articles::model()->findAllByAttributes(array('status'=>'Approved'), array('order'=>'id desc', 'limit'=>10));
1227 
1228             if (isset(Yii::app()->user->uid)) {
1229                 $ifFavorited = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Favorited'));
1230                 $ifApproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Approved'));
1231                 $ifDisapproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Disapproved'));
1232                 $ifAction = $ifApproved + $ifDisapproved;
1233             } else {
1234                 $ifFavorited = $ifAction = 0;
1235             }
1236 
1237             $this->render('article', array('model' => $model, 'article' => $article, 'postedBy' => $postedBy, 'comments' => $comments, 'commentCount' => $commentCount, 'ifFavorited' => $ifFavorited, 'ifAction' => $ifAction, 'allArticles' => $allArticles, 'pages' => $pages));
1238             $article->reads += 1;
1239             $article->update();
1240         } else {
1241             $this->redirect(Yii::app()->createUrl('site/error', array('code' => 404, 'message' => 'This page was not found.')));
1242             exit();
1243         }
1244     }
1245 
1246     public function actiontest() {
1247         if (isset($_GET['order']) && $_GET['order'] == 'title')
1248             $order = 'title ASC';
1249         else
1250             $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();
2024-09-27 17:19:57 LiteSpeed Yii Framework/1.1.11