CException

No catalogue set

/home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/controllers/UserController.php(2540)

2528             if ($_GET['sort'] == 'uzip') {
2529                 $_GET['sort'] = 'uZip';
2530             } elseif ($_GET['sort'] == 'ucity') {
2531                 $_GET['sort'] = 'uCity';
2532             } elseif ($_GET['sort'] == 'ucompany') {
2533                 $_GET['sort'] = 'uCompany';
2534             }
2535         }
2536 
2537         $current = [];
2538         $katalog = $this->getCatalogueID();
2539 
2540         if (!isset($katalog)) throw new CException ("No catalogue set", 501);
2541         $this->dontShowOverlay = false;
2542 
2543         $cat1model = CategoriesL1::model()->cache(60)->findByAttributes(array('c1Name' => $cat1, 'c10ID' => $katalog));
2544         //if (!isset($cat1model)) throw new CHttpException(404,'Category not found');
2545         //sauber wäre hier zwar einen 404er zu werfen, aber wg. Google leiten wir direkt um.
2546         if (!isset($cat1model))
2547             $this->redirect($this->createUrl('User/catalog', array('usertype'=> $this->getUsertypeName()) ), true, 301);
2548 
2549 
2550         $cat1id = $cat1model->c1ID;
2551 
2552         //hotfix... kann später entfernt werden

Stack Trace

#14
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/maboyii/index.php(96): CApplication->run()
091 defined('YII_DEBUG') or define('YII_DEBUG',true);
092 // specify how many levels of call stack should be shown in each log message
093 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
094 
095 require_once($yii);
096 Yii::createWebApplication($config)->run();
097 
098 //*
099   if ((!empty(Yii::app()->params['matomo']['id']))&&($_SERVER['REQUEST_URI'] != '/statistics/increment')) {
100     set_include_path(get_include_path() . PATH_SEPARATOR . '../protected/vendors/matomo-php-client/');
101     require_once('../protected/vendors/matomo-php-client/MatomoTracker.php');
2024-03-29 00:31:07 nginx/1.18.0 Yii Framework/1.1.29