Thema: FPDF error
Einzelnen Beitrag anzeigen
  #3  
Alt 31.01.2016, 20:45:15
Kohli Kohli ist offline
Anfänger
 
Registriert seit: Jan 2016
Alter: 54
Beiträge: 3
AW: FPDF error

Hallo

Habe nochmal die original Dateien rübergespielt... es bleibt leider dabei.

Hier mal der Auszug aus dem Error Log

Zitat:
for 'CET/1.0/no DST' instead in /pfad/htdocs/bbbl_preussen_bowl_turnierverwaltung/modules/pdf/pdf_roster.php on line 560
[31-Jan-2016 19:31:28 Europe/Berlin] PHP Notice: ob_clean(): failed to delete buffer. No buffer to delete in /pferd/htdocs/bbbl_preussen_bowl_turnierverwaltung/modules/pdf/fpdf.php on line 994
[31-Jan-2016 19:31:28 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /pfad/htdocs/bbbl_preussen_bowl_turnierverwaltung/settings.php:1) in /pfad/htdocs/bbbl_preussen_bowl_turnierverwaltung/modules/pdf/fpdf.php on line 1018

Code ab
line 992
PHP-Code:
            function Output($name=''$dest='')
{
    
ob_clean();
    
//Output PDF to some destination
    
if($this->state<3)
        
$this->Close();
    
$dest=strtoupper($dest);
    if(
$dest=='')
    {
        if(
$name=='')
        {
            
$name='doc.pdf';
            
$dest='I';
        }
        else
            
$dest='F';
    }
    switch(
$dest)
    {
        case 
'I':
            
//Send to standard output
            // clean the output buffer
            
ob_clean();
            if(
ob_get_length())
                
$this->Error('Some data has already been output, can\'t send PDF file');
            if(
php_sapi_name()!='cli')
            {
                
//We send to a browser
                
header('Content-Type: application/pdf');
                if(
headers_sent())
                    
$this->Error('Some data has already been output, can\'t send PDF file');
                
header('Content-Length: '.strlen($this->buffer));
                
header('Content-Disposition: inline; filename="'.$name.'"');
                
header('Cache-Control: private, max-age=0, must-revalidate');
                
header('Pragma: public');
                
ini_set('zlib.output_compression','0');
            }
            echo 
$this->buffer;
            break; 
Mit Zitat antworten