Fehler

Leider ist ein Fehler aufgetreten!

Debug-Infos

type

SqlException

message

DB Error: unknown error

SQL-query

SET NAMES 'utf8'

exception details

line 277 in /homepages/19/d93290554/htdocs/matthaei.de/2013/includes/core/ mcmDb.class.php

PHP-source

 272             $paramsAry = array(
 273                  'query'    => $query
 274                 ,'message'    => mcmHelper::debugModeEnabled()==true ? $ret->getDebugInfo() : $ret->getMessage()
 275             );
 276             throw new SqlException($paramsAry);
 277         }else{
 278             $this->succeededQueries++;
 279         };
 280         return $ret;
 281     }

backtrace

  1. mcmDb->query()
    line 79 in file /homepages/19/d93290554/htdocs/matthaei.de/2013/includes/core/mcmDb.class.php

    arguments

    1. string SET NAMES 'utf8'

    PHP-source

      74         $this->dsnStr = $dsnStr;
      75         parent::__construct();
      76         $ret = self::connect(DB::parseDSN($dsnStr));
      77         $this->setFetchMode(DB_FETCHMODE_ASSOC);
      78         $this->query("SET NAMES 'utf8'");
      79     }
      80
      81
      82     /**
      83     * anti-getter
  2. mcmDb->__construct()
    line 131 in file /homepages/19/d93290554/htdocs/matthaei.de/2013/includes/core/mcmDb.class.php

    arguments

    1. string mysql://dbo507076269:Monsun4Matt2014@db507076269.db.1and1.com/db507076269

    PHP-source

     126                 if( self::doesDsnMatchEnvironment($dsnStr)!==true ){
     127                     throw new mcmException('please check the database-configuration');
     128                 };
     129             };
     130             self::$instances[$dsnStr] = new mcmDb($dsnStr);
     131         }
     132         return self::$instances[$dsnStr];
     133     }
     134
     135
  3. mcmDb::getInstance()
    line 170 in file /homepages/19/d93290554/htdocs/matthaei.de/2013/includes/core/mcmPage.class.php

    PHP-source

     165         if( substr($url,0,1)=='/' ){
     166             $url = substr($url,1);
     167         };
     168
     169         $db = mcmDb::getInstance();
     170         $query  = "SELECT page_id \n";
     171         $query .= "FROM mcm_pages AS p \n";
     172         $query .= "WHERE p.url = '".$db->escapeSimple($url)."' \n";
     173         $query .= "LIMIT 0,1 \n";
     174
  4. mcmPage::createByUrl()
    line 238 in file /homepages/19/d93290554/htdocs/matthaei.de/2013/includes/core/mcmFrontend_Controller.class.php

    arguments

    1. string Grossprojekte.html

    PHP-source

     233         define('MCM_REQUEST_URI',$_SERVER['REQUEST_URI']);
     234         define('MCM_REQUEST_QUERY_STRING',$queryString);
     235
     236
     237         $this->pageDAO = mcmPage::createByUrl($pageUrl);
     238
     239         if( mcmError::isError($this->pageDAO) ){
     240             return false;
     241         };
     242         $this->page_id = $this->pageDAO->getPageId();
  5. mcmFrontend_Controller->initPageRequest()
    line 111 in file /homepages/19/d93290554/htdocs/matthaei.de/2013/includes/core/mcmFrontend_Controller.class.php

    PHP-source

     106         };
     107
     108
     109         // initialize the page-request (create the mcmPage-instance)
     110         $this->initPageRequest();
     111         
     112         // check the page (is_released, error?)
     113         $this->checkPage();
     114
     115         // when the page is realm-protected, check the realmuser-authentication
  6. mcmFrontend_Controller->__construct()
    line 159 in file /homepages/19/d93290554/htdocs/matthaei.de/2013/includes/core/mcmFrontend_Controller.class.php

    PHP-source

     154     */
     155     public static function getInstance(){
     156         if( is_null(self::$instance) ){
     157             $className = __CLASS__;
     158             self::$instance = new $className();
     159         };
     160         return self::$instance;
     161     }
     162
     163
  7. mcmFrontend_Controller::getInstance()
    line 16 in file /homepages/19/d93290554/htdocs/matthaei.de/2013/htdocs/mcm.php

    PHP-source

      11 // exception-handling is done by the error-& exceptions-handlers, which 
      12 // are registered in the includer.php!)
      13
      14 include_once('includer.php');
      15 $pageController = mcmFrontend_Controller::getInstance();
      16 $pageController->run();
      17 exit(1);
      18 ?>

includes

26 files included