Fehler

Leider ist ein Fehler aufgetreten!

Debug-Infos

type

SqlException

message

DB Error: insufficient permissions

SQL-query

INSERT INTO mcm_documents_download_log
		          SET download_id  = 8180
		             ,document_id  = 5
		             ,realmuser_id = 0
		             ,remote_addr  = '3.227.208.153'
		             ,filesize     = 287420
		             ,filename     = '2016-09-12-Urkunde.pdf'
		             ,dt_started   = NOW()
		             ,dt_ended     = '0000-00-00 00:00:00'
		             ,was_finished = 0
		

exception details

line 277 in /homepages/19/d93290554/htdocs/karriere.matthaei.de/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 238 in file /homepages/19/d93290554/htdocs/karriere.matthaei.de/includes/core/mcmDocumentServer.class.php

    arguments

    1. string INSERT INTO mcm_documents_download_log SET download_id = 8180 ,document_id = 5 ,realmuser_id = 0 ,remote_addr = '3.227.208.153' ,filesize = 287420 ,filename = '2016-09-12-Urkunde.pdf' ,dt_started = NOW() ,dt_ended = '0000-00-00 00:00:00' ,was_finished = 0

    PHP-source

     233                      ,dt_started   = NOW()
     234                      ,dt_ended     = '0000-00-00 00:00:00'
     235                      ,was_finished = 0
     236         ";
     237         if( DB::isError($ret=$db->query($query)) ){
     238             throw new SqlException($ret->getDebugInfo());
     239         }
     240         $this->download_id = $download_id;
     241         $this->documentDAO->increaseDownloadCounter();
     242         
  2. mcmDocumentServer->logDownloadStart()
    line 120 in file /homepages/19/d93290554/htdocs/karriere.matthaei.de/includes/core/mcmDocumentServer.class.php

    PHP-source

     115     * @param    bool    $forceDownload
     116     * @return    void
     117     */
     118     private function serveDocument($forceDownload){
     119         $this->logDownloadStart();
     120
     121         $filename = $this->documentDAO->getFilename();
     122         $filepath = mcmConfig::getValue('PATH_DBDOCS').$filename;
     123         $filesize = filesize($filepath);
     124
  3. mcmDocumentServer->serveDocument()
    line 74 in file /homepages/19/d93290554/htdocs/karriere.matthaei.de/includes/core/mcmDocumentServer.class.php

    arguments

    1. boolean

    PHP-source

      69             $this->displayError(_mcmui_('Das Dokument ist nicht freigegeben.'));
      70             return false;
      71         };
      72         if( $this->documentDAO->isProtected()==false ){
      73             $this->serveDocument($forceDownload);
      74             return true;
      75         };
      76
      77         // check if the user is authenticated against a realm of the document
      78         if( mcmFrontend_Authentication::getInstance()->userIsAuthenticatedAgainstRealm($this->documentDAO->getRealmIds())===true ){
  4. mcmDocumentServer->serve()
    line 43 in file /homepages/19/d93290554/htdocs/karriere.matthaei.de/htdocs/db/documents_server.php

    arguments

    1. boolean

    PHP-source

      38     }
      39 };
      40
      41 $documentServer = new mcmDocumentServer($documentDAO,$version);
      42 $documentServer->serve($forceDownload);
      43 exit(0);
      44

includes

29 files included