PHP notice

Trying to get property 'imgfile' of non-object

/home/w293yfzxqa9s/public_html/protected/views/home/site/startdownload.php(34)

22  <?php $Configure = Configure::model()->find(); ?>
23  <div style="MARGIN-BOTTOM: 50px">
24     <table border="0" cellspacing="0" cellpadding="0" width="100%">
25         <tbody>
26             <tr>
27             <td valign="top" width="180" align="left">
28             <table border="0" cellspacing="0" cellpadding="0" width="180">
29                 <tbody>
30                     <tr>
31                         <td style="COLOR: #ccc" bgcolor="#eeeeee" height="255" width="180" align="middle">
32                         
33                             <div id="divPDFThumbnail" class="ThumbnailCSSClass">
34                                  <a href="<?php echo $newshi->imgfile;?>"><img src="<?php echo $newshi->imgfile;?>" width="180" height="257"/></a>
35                             </div>
36                         </td>
37                     </tr>
38                 </tbody>
39             </table>
40             
41             </td>
42             <td style="PADDING-LEFT: 20px" align="left">
43             <p>
44             <?php print_r($this->{$_SESSION['lang']}['stdlsllogan']); ?> <?php echo $Configure->telephone ?> <?php print_r($this->{$_SESSION['lang']}['stdlsllogan2']); ?> <a href="mailto:<?php echo $Configure->ga_email ?>"><?php echo $Configure->ga_email ?></a>. <?php print_r($this->{$_SESSION['lang']}['stdlsllogan3']); ?>.</p>
45             <div style="MARGIN-TOP: 20px">
46             <div id="maikhongra">

Stack Trace

#4
+
 /home/w293yfzxqa9s/public_html/protected/controllers/home/SiteController.php(763): CController->render("startdownload", array("Configure" => array(Configure)))
758         {
759            $this->pageTitle = 'Startdownload';
760            $news = News::model()->findByAttributes(array('new_title' => $_GET['alias']));
761               $Configure = Configure::model()->findAll();    
762             $this->render('startdownload',array(
763                            'Configure' =>$Configure,        
764             ));
765         }
766          public function actionNotify()
767         {
768                 $this->render('notify');
#12
+
 /home/w293yfzxqa9s/public_html/protected/components/WebApplicationEndBehavior.php(21): CApplication->run()
16         $this->_endName = $name;
17         // Attach the changeModulePaths event handler
18         // and raise it.
19         $this->onModuleCreate = array($this, 'changeModulePaths');
20         $this->onModuleCreate(new CEvent($this->owner));
21         $this->owner->run(); // Run application.
22     }
23     // This event should be raised when CWebApplication
24     // or CWebModule instances are being initialized.
25     public function onModuleCreate($event)
26     {
#14
+
 /home/w293yfzxqa9s/public_html/index.php(8): CComponent->__call("runEnd", array("home"))
3 $config = dirname(__FILE__).'/protected/config/home.php';
4 // Remove the following lines when in production mode
5 defined('YII_DEBUG') or define('YII_DEBUG', true);
6 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
7 require_once($yii);
8 Yii::createWebApplication($config)->runEnd('home');
2024-03-28 22:58:15 Apache Yii Framework/1.1.13