A
Winner
is you!
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
Hometown Love: Local Childhood Eats

      Everyone has a hometown that they grew up in. A place that they can call home. For me, that is Fairport New York. While I moved ...

A Closer Look at: Nickelodeon's New Year's 1997-1998

A new year is here and that means new adventures, opportunities, and experiences. What better way to do that than looking back in the past? Today I'l...

Pokemania! My time during the Pokemon Craze

With Pokemon being over twenty years old, it's about time I talk more about the little franchise that could, did, and has been going. But will this t...

Retro Ramblings: Green Stamps and Oatmeal Cups

Unfortunately, when the site crashed last year, my articles on random retro things bit the dust, and I wasn't able to retrieve them. But have no fear...

Retro Magazine RoundUp: Black Belt

Welcome to the 2nd edition of Retro Magazine Round-Up, where I explore the pages of old school periodicals and boy do we have something special today....

PHP warning

PHP warning

Creating default object from empty value

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

1249             //$allArticles = Articles::model()->findAllByAttributes(array('status'=>'Approved'), array('order'=>'id desc', 'limit'=>10));
1250 
1251             if (isset(Yii::app()->user->uid)) {
1252                 $ifFavorited = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Favorited'));
1253                 $ifApproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Approved'));
1254                 $ifDisapproved = PostLog::model()->countByAttributes(array("post_type" => 'Article', "post_id" => $artId, "action_by" => intval(Yii::app()->user->uid), "action_taken" => 'Disapproved'));
1255                 $ifAction = $ifApproved + $ifDisapproved;
1256             } else {
1257                 $ifFavorited = $ifAction = 0;
1258             }
1259 
1260             $this->render('article', array('model' => $model, 'article' => $article, 'postedBy' => $postedBy, 'comments' => $comments, 'commentCount' => $commentCount, 'ifFavorited' => $ifFavorited, 'ifAction' => $ifAction, 'allArticles' => $allArticles, 'pages' => $pages));
1261             $article->reads += 1;
1262             $article->update();
1263         } else {
1264             $this->redirect(Yii::app()->createUrl('site/error', array('code' => 404, 'message' => 'This page was not found.')));
1265             exit();
1266         }
1267     }
1268 
1269     public function actiontest() {
1270         if (isset($_GET['order']) && $_GET['order'] == 'title')
1271             $order = 'title ASC';
1272         else
1273             $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();
2026-04-20 21:31:03 Apache Yii Framework/1.1.11