CException

No catalogue set (1)

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

2447         if (empty($usertypeUrlName)) {
2448             $usertypeUrlName = 'company';
2449         }
2450 
2451         $this->dontShowOverlay = false;
2452 
2453         $userTypeModel = UserTypes::model()->cache(60)->find("utURLName = :usertype", array(':usertype' => $usertypeUrlName));
2454 
2455         $userTypeID = $userTypeModel->utID;
2456 
2457         $UserTypeCategories = UserTypesCategories::model()->find("utcUTID = :usertype AND utcPID = :portal", array(':usertype' => $userTypeID, ':portal' => Yii::app()->id));
2458 
2459         if (!isset($UserTypeCategories)) throw new CException ("No catalogue set (" .$userTypeID . ")" , 501);
2460         $katalog = $UserTypeCategories->utcC0ID;
2461 
2462         $this->pageTitle = HelperClass::getTitle($userTypeModel->utCaption . ' ', Yii::app()->name);
2463 
2464         $sql = "SELECT c1Name as Name1, c1ID as CatID1 FROM `categories_l1` WHERE c10ID=:katalog AND c1Order >= 0 ORDER BY c1Order";
2465         $list = Yii::app()->db->cache(300)->createCommand($sql)->bindValue(':katalog', $katalog)->queryAll();
2466 
2467         $join = '';
2468         $filter = '';
2469         if (PortalOptions::getOption('hideBasic'.$usertype) == 1 || PortalOptions::getOption('hideBasic'.$usertypeUrlName) == 1) {
2470 //                $join .= " JOIN user_groups_assigned ON uID = ugaUID ";
2471 //            $filter .= " AND ugaUDIG IS NOT NULL";

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-19 08:42:14 nginx/1.18.0 Yii Framework/1.1.29