CException

Proprietatea "ListController.businessList" nu este definita.

/mnt/HC_Volume_23321257/focusextranet/public_html/protected/components/Functions.php(1520)

1508 
1509         if( $category )
1510         {
1511             return $category;
1512         }
1513     }
1514 }
1515 
1516 if( ! function_exists( "getBusinessDetails" ) )
1517 {
1518     function getBusinessDetails( $businessId )
1519     {
1520         $businessList = & Yii::app()->getController()->businessList;
1521 
1522         if( array_key_exists( $businessId, $businessList ) )
1523         {
1524             $business = $businessList[$businessId];
1525         }
1526         else
1527         {
1528             $business     = BusinessModel::model()->findByPk( $businessId );
1529             $businessList[$businessId] = $business;
1530         }
1531 
1532         if( $business )

Stack Trace

#0
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/components/Functions.php(1520): CComponent->__get()
1515 
1516 if( ! function_exists( "getBusinessDetails" ) )
1517 {
1518     function getBusinessDetails( $businessId )
1519     {
1520         $businessList = & Yii::app()->getController()->businessList;
1521 
1522         if( array_key_exists( $businessId, $businessList ) )
1523         {
1524             $business = $businessList[$businessId];
1525         }
#1
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/controllers/ListController.php(103): getBusinessDetails()
098     }
099     
100     public function actionBusinessDetails()
101     {
102         $businessId             = Yii::app()->getRequest()->getQuery( "id" );
103         $business               = getBusinessDetails( $businessId );
104         
105         if( ! $business )
106         {
107             setMessage( translate( "No_Business" ), "error" );
108             redirect( baseUrl()."list/businessCounties" );
#14
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/index.php(32): CApplication->run()
27 define( "LANGUAGE_PATH", BASE_PATH."protected/languages/" );
28 
29 date_default_timezone_set( "Europe/Berlin" );
30 
31 require_once( $yii );
32 Yii::createWebApplication( $config )->run();
2024-03-28 13:01:32 Apache Yii Framework/1.1.10