I Don't
Want Necco
Wafers!
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
Best Saved By The Bell Teachers

Zack, Kelly, Jessie, Slater, Lisa, Screech (and sometimes Tori) were definitely the focal point of Saved By The Bell, but their teachers had some pret...

Retro Recess Rowdiness

Recess was obviously every child’s favorite “subject” in school, but in my experience, it was also the most dangerous. I witnessed quite a few d...

NLogan's Christmas at Grandma's House

I was very young when my parents divorced. My dad left the house and went to an apartment. We stayed with mom at the house for a few years and then mo...

Antique Store Finds Part 2

Here we are again, ready to wander the aisles of massive Antiques Mall in search of childhood treasures of decades gone bye. Part 1 brought us everyth...

Antique Store Finds Part 1

Before ebay became the go to source for locating knick-knacks from our childhoods, we had get ourselves to a local antique store and dig through a lot...

PHP warning

PHP warning

Creating default object from empty value

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

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