You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2009-07-20 14:47:07

jasafpro
Member
Registered: 2009-07-20
Posts: 17

GLPI .72 all document download is broken

All I am getting with documents and this includes pdf export is junk.  Please help, I am dependant on pdf export for Meetings with my boss.  I have tested this with Ubuntu FireFox/Opera, Windows FireFox/IE.

https://helpdesk/front/report.dynamic.php?item_type=16&field=&contains=&date1=&date2=&only_computers=&tosearch=name_contents&search=&assign=0&assign_ent=0&assign_group=0&author=0&group=0&start=0&status=notold&category=&priority=0&type=0&showfollowups=0&enddate1=&enddate2=&datemod1=&datemod2=&item=0&request_type=0&sort=glpi_tracking.date_mod&order=ASC&display_type=2&export.x=8&export.y=4&export=Export


%PDF-1.3 %âãÏÓ 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R >> >> /MediaBox [0.000 0.000 841.890 595.280] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Creator (R and OS php pdf writer, http://www.ros.co.nz) /CreationDate (D:20090720) >> endobj 6 0 obj << /Type /Page /Parent 3 0 R /Contents [ 7 0 R 9 0 R ] >> endobj 7 0 obj << /Filter /FlateDecode /Length 328 >> stream xœ ’ËnÂ0E÷ùŠY¶‹~Ç^tÑ–‡ PEi~&#65533;ƒ\Q±‘Ú¿¯” £n 5Çsçæ ! žíª ¨åß9O5p­  R*$œA½€Þ ‚Fõàî-ÌÃÞü4Þ× ·‹{¨?`Pw4#h„É VZdटr ”ä þ<ØôyI +šmŸÌ}€ývqIq‡ÜP5ØœMu ¡PKžE¦­kZ¾SD”<¯mfw{ëƒmFJ†¬YæÑ{·Ú\8¬XDT^Ù8ØÏ´]ÊøÇóž£U«¦MQ&NàU©]XŸíÝ] RLWt¼Ë 0… o¹‹Ú…QÐZXÞæ*¿âÌQŽLèpL¡‘ìê¼âõ×ñª{ñØpÚ­«ŽË &Ó1LûC°_Û¦ PÆHS’ªd$ \ô×—@{ôdÁõØÅ! endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Filter /FlateDecode /Length 937 >> stream xœ•—[oÚ@…ßó+æ1y`»Wß"QÚ¤is©bÒ(Rå'8ŒŒ J}ÆÁ;Ny4:çì®ý1»{ô¹’3_0R3W9Ч3ãÐ8¾ø€PÐ Ÿy'óy:}†Áq„?ž§ÉpprýøÚ?Â$¡<&8u3KÐÙ4ÀA¹ßá¢Ã=N M-EΔ#ȔҪ:ÂîRÕ¬JàZÖrž×ÔZ;Ì3ŠTÿJò7¸Ì–u‹§™Qôܲ>žÞ(Oç5—1’IW“®p’#øž<=åÉ[ÍçHô9ôÏñqæѸî0†qN t Ë,ÿSwø8†rIÇ·$/þ>Fñîfã,®0x'd@½{ù[Œ„`Úó¬IÉãˆÈjpd:˜,ÜÀ86Žˆ”Òêl|g­8"¬¸„›Ç—$.àºÃI:µQEx¯’aº˜Ø˜"÷éxœF“9ÜÄEôš.¬dý¯lfŽßš7ÌÑje¿³‘Äx-DŽ"IÇ®¢iôŒ„Ë´@4Ç #Ú™ïK+Œ¾w‹TTƒE…8‚0 ’©”-‹RƒðãZX¤¬öžF©Iú(C{G£\u4r1$?”£Ç8Ãbnˆ²ü¸¸ À<)3xÊòU+s­ô¸†¹ZÛ[æ„‘ÕÀÇíćBÙð!RêVh+>„µÿ`ŇPÓø†n ÒzoÓb”F6‚ㇾ‚¨)¶Ôn ^žDEšM…+å”±Yar$Ó¾ýx%Ý{‘Õ€ ŠY5Ém0)ïa²÷"ÂZßÃÞÅ.äîºwÙ ÃÁ œÚ‚ŒÂ­§ÙãÃË® JbXšJÂ@ÁUAy ¯‚’ðµ@I çé¬@lT’£€Jï¢éâé\m°Dñübn¥Xsœvó¨°¦Ø1‡QLdY(F¹hßF1‘RQì¬6c£mðV¢%j>ÂðqK$ŒÒGøZ裦ØÒ ËÙ}&#65533;·IœÌVý0 Ð ‹ôµìŽ«MÖš¥8sMsƒ;;bÊáꟷçG–Gø×#W&°)hé0SÇ–:å”·‰ pSÙWâ?¡¼1TÊme_©„S^*嶲¯ÔZ—× J¹­4”ž,ï;妲¯4Èþúà^)·•}¥ƒÿÛõy½Rn+ %v‚õ9}§ÜTJŸ—çó rSÙWz WäQïÈczOè¿«¬…›4e˜ïéZÚ¶²éÚ&#65533;»¤Ú ÿ&#65533;©ö$ endstream endobj xref 0 10 0000000000 65535 f 0000000015 00000 n 0000000080 00000 n 0000000126 00000 n 0000000280 00000 n 0000000309 00000 n 0000000414 00000 n 0000000487 00000 n 0000000888 00000 n 0000000995 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R >> startxref 2005 %%EOF

Last edited by jasafpro (2009-07-20 19:12:55)

Offline

#2 2009-07-20 14:55:05

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: GLPI .72 all document download is broken


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2009-07-20 15:06:48

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

FireFox 3.0
IE 8

Ubuntu 8.10

GLPI version 0.72

Installed/Upgraded by downloading tarball

mysql 5.0 (default config)

PHP Version 5.2.6-2ubuntu4.2

System     Linux gsg-ubsrv01 2.6.27-14-server #1 SMP Tue Jun 30 20:53:11 UTC 2009 i686
Build Date     Apr 17 2009 14:15:51
Server API     Apache 2.0 Handler
Virtual Directory Support     disabled
Configuration File (php.ini) Path     /etc/php5/apache2
Loaded Configuration File     /etc/php5/apache2/php.ini
Scan this dir for additional .ini files     /etc/php5/apache2/conf.d
additional .ini files parsed     /etc/php5/apache2/conf.d/gd.ini, /etc/php5/apache2/conf.d/imap.ini, /etc/php5/apache2/conf.d/ldap.ini, /etc/php5/apache2/conf.d/mysql.ini, /etc/php5/apache2/conf.d/mysqli.ini, /etc/php5/apache2/conf.d/pdo.ini, /etc/php5/apache2/conf.d/pdo_mysql.ini, /etc/php5/apache2/conf.d/snmp.ini, /etc/php5/apache2/conf.d/xmlrpc.ini
PHP API     20041225
PHP Extension     20060613
Zend Extension     220060519
Debug Build     no
Thread Safety     disabled
Zend Memory Manager     enabled
IPv6 Support     enabled
Registered PHP Streams     zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports     tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters     string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*

Suhosin logo This server is protected with the Suhosin Patch 0.9.6.2
Copyright (c) 2006 Hardened-PHP Project

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

PHP Credits
Configuration
PHP Core
Directive    Local Value    Master Value
allow_call_time_pass_reference    On    On
allow_url_fopen    On    On
allow_url_include    Off    Off
always_populate_raw_post_data    Off    Off
arg_separator.input    &    &
arg_separator.output    &    &
asp_tags    Off    Off
auto_append_file    no value    no value
auto_globals_jit    On    On
auto_prepend_file    no value    no value
browscap    no value    no value
default_charset    no value    no value
default_mimetype    text/html    text/html
define_syslog_variables    Off    Off
disable_classes    no value    no value
disable_functions    no value    no value
display_errors    On    On
display_startup_errors    Off    Off
doc_root    no value    no value
docref_ext    no value    no value
docref_root    no value    no value
enable_dl    Off    Off
error_append_string    no value    no value
error_log    no value    no value
error_prepend_string    no value    no value
error_reporting    6135    6135
expose_php    On    On
extension_dir    /usr/lib/php5/20060613+lfs    /usr/lib/php5/20060613+lfs
file_uploads    On    On
highlight.bg    #FFFFFF    #FFFFFF
highlight.comment    #FF8000    #FF8000
highlight.default    #0000BB    #0000BB
highlight.html    #000000    #000000
highlight.keyword    #007700    #007700
highlight.string    #DD0000    #DD0000
html_errors    On    On
ignore_repeated_errors    Off    Off
ignore_repeated_source    Off    Off
ignore_user_abort    Off    Off
implicit_flush    Off    Off
include_path    .:/usr/share/php:/usr/share/pear    .:/usr/share/php:/usr/share/pear
log_errors    Off    Off
log_errors_max_len    1024    1024
magic_quotes_gpc    On    On
magic_quotes_runtime    Off    Off
magic_quotes_sybase    Off    Off
mail.force_extra_parameters    no value    no value
max_execution_time    30    30
max_input_nesting_level    64    64
max_input_time    60    60
memory_limit    64M    64M
open_basedir    no value    no value
output_buffering    no value    no value
output_handler    no value    no value
post_max_size    8M    8M
precision    12    12
realpath_cache_size    16K    16K
realpath_cache_ttl    120    120
register_argc_argv    On    On
register_globals    Off    Off
register_long_arrays    On    On
report_memleaks    On    On
report_zend_debug    On    On
safe_mode    Off    Off
safe_mode_exec_dir    no value    no value
safe_mode_gid    Off    Off
safe_mode_include_dir    no value    no value
sendmail_from    no value    no value
sendmail_path    /usr/sbin/sendmail -t -i    /usr/sbin/sendmail -t -i
serialize_precision    100    100
short_open_tag    On    On
SMTP    localhost    localhost
smtp_port    25    25
sql.safe_mode    Off    Off
suhosin.log.phpscript    0    0
suhosin.log.phpscript.is_safe    Off    Off
suhosin.log.phpscript.name    no value    no value
suhosin.log.sapi    no value    no value
suhosin.log.script    no value    no value
suhosin.log.script.name    no value    no value
suhosin.log.syslog    no value    no value
suhosin.log.syslog.facility    no value    no value
suhosin.log.syslog.priority    no value    no value
suhosin.log.use-x-forwarded-for    Off    Off
track_errors    Off    Off
unserialize_callback_func    no value    no value
upload_max_filesize    2M    2M
upload_tmp_dir    no value    no value
user_dir    no value    no value
variables_order    EGPCS    EGPCS
xmlrpc_error_number    0    0
xmlrpc_errors    Off    Off
y2k_compliance    On    On
zend.ze1_compatibility_mode    Off    Off

apache2handler
Apache Version     Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
Apache API Version     20051115
Server Administrator     [no address given]
Hostname:Port     helpdesk:0
User/Group     www-data(33)/33
Max Requests     Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts     Connection: 300 - Keep-Alive: 15
Virtual Server     Yes
Server Root     /etc/apache2
Loaded Modules     core mod_log_config mod_logio prefork http_core mod_so mod_actions mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_perl mod_php5 mod_setenvif mod_ssl mod_status

Directive    Local Value    Master Value
engine    1    1
last_modified    0    0
xbithack    0    0

Apache Environment
Variable    Value
HTTPS     on
SSL_VERSION_INTERFACE     mod_ssl/2.2.9
SSL_VERSION_LIBRARY     OpenSSL/0.9.8g
SSL_PROTOCOL     TLSv1
SSL_COMPRESS_METHOD     NULL
SSL_CIPHER     DHE-RSA-AES256-SHA
SSL_CIPHER_EXPORT     false
SSL_CIPHER_USEKEYSIZE     256
SSL_CIPHER_ALGKEYSIZE     256
SSL_CLIENT_VERIFY     NONE
SSL_SERVER_M_VERSION     1
SSL_SERVER_M_SERIAL     99A0862A1D468F68
SSL_SERVER_V_START     May 11 18:53:49 2009 GMT
SSL_SERVER_V_END     May 11 18:53:49 2010 GMT
SSL_SERVER_S_DN     /C=US/ST=Maryland/L=Hanover/O=CMY INC/OU=IT/CN=helpdesk/emailAddress=helpdesk@governmentservicegroup.com
SSL_SERVER_S_DN_C     US
SSL_SERVER_S_DN_ST     Maryland
SSL_SERVER_S_DN_L     Hanover
SSL_SERVER_S_DN_O     CMY INC
SSL_SERVER_S_DN_OU     IT
SSL_SERVER_S_DN_CN     helpdesk
SSL_SERVER_S_DN_Email     helpdesk@governmentservicegroup.com
SSL_SERVER_I_DN     /C=US/ST=Maryland/L=Hanover/O=CMY INC/OU=IT/CN=helpdesk/emailAddress=helpdesk@governmentservicegroup.com
SSL_SERVER_I_DN_C     US
SSL_SERVER_I_DN_ST     Maryland
SSL_SERVER_I_DN_L     Hanover
SSL_SERVER_I_DN_O     CMY INC
SSL_SERVER_I_DN_OU     IT
SSL_SERVER_I_DN_CN     helpdesk
SSL_SERVER_I_DN_Email     helpdesk@governmentservicegroup.com
SSL_SERVER_A_KEY     rsaEncryption
SSL_SERVER_A_SIG     sha1WithRSAEncryption
HTTP_HOST     helpdesk
HTTP_USER_AGENT     Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11
HTTP_ACCEPT     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE     en-us,en;q=0.5
HTTP_ACCEPT_ENCODING     gzip,deflate
HTTP_ACCEPT_CHARSET     ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE     300
HTTP_CONNECTION     keep-alive
HTTP_COOKIE     PHPSESSID=b28a1a54e6947b0192d7ade02e3c21cb
PATH     /usr/local/bin:/usr/bin:/bin
SERVER_SIGNATURE     <address>Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server at helpdesk Port 443</address>
SERVER_SOFTWARE     Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
SERVER_NAME     helpdesk
SERVER_ADDR     192.9.204.102
SERVER_PORT     443
REMOTE_ADDR     192.168.168.89
DOCUMENT_ROOT     /usr/share/glpi
SERVER_ADMIN     [no address given]
SCRIPT_FILENAME     /usr/share/glpi/phpinfo.php
REMOTE_PORT     35237
GATEWAY_INTERFACE     CGI/1.1
SERVER_PROTOCOL     HTTP/1.1
REQUEST_METHOD     GET
QUERY_STRING     no value
REQUEST_URI     /phpinfo.php
SCRIPT_NAME     /phpinfo.php

HTTP Headers Information
HTTP Request Headers
HTTP Request     GET /phpinfo.php HTTP/1.1
Host     helpdesk
User-Agent     Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11
Accept     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language     en-us,en;q=0.5
Accept-Encoding     gzip,deflate
Accept-Charset     ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive     300
Connection     keep-alive
Cookie     PHPSESSID=b28a1a54e6947b0192d7ade02e3c21cb
HTTP Response Headers
X-Powered-By     PHP/5.2.6-2ubuntu4.2
Vary     Accept-Encoding
Content-Encoding     gzip

bcmath
BCMath support     enabled

bz2
BZip2 Support     Enabled
Stream Wrapper support     compress.bz2://
Stream Filter support     bzip2.decompress, bzip2.compress
BZip2 Version     1.0.5, 10-Dec-2007

calendar
Calendar support     enabled

ctype
ctype functions     enabled

date
date/time support     enabled
"Olson" Timezone Database Version     0.system
Timezone Database     internal
Default timezone     America/New_York

Directive    Local Value    Master Value
date.default_latitude    31.7667    31.7667
date.default_longitude    35.2333    35.2333
date.sunrise_zenith    90.583333    90.583333
date.sunset_zenith    90.583333    90.583333
date.timezone    no value    no value

dba
DBA support     enabled
Supported handlers     cdb cdb_make db4 inifile flatfile

dom
DOM/XML     enabled
DOM/XML API Version     20031129
libxml Version     2.6.32
HTML Support     enabled
XPath Support     enabled
XPointer Support     enabled
Schema Support     enabled
RelaxNG Support     enabled

exif
EXIF Support     enabled
EXIF Version     1.4 $Id: exif.c,v 1.173.2.5.2.25 2008/03/12 17:33:14 iliaa Exp $
Supported EXIF Version     0220
Supported filetypes     JPEG,TIFF

filter
Input Validation and Filtering     enabled
Revision     $Revision: 1.52.2.42 $

Directive    Local Value    Master Value
filter.default    unsafe_raw    unsafe_raw
filter.default_flags    no value    no value

ftp
FTP support     enabled

gd
GD Support     enabled
GD Version     2.0 or higher
FreeType Support     enabled
FreeType Linkage     with freetype
FreeType Version     2.3.7
T1Lib Support     enabled
GIF Read Support     enabled
GIF Create Support     enabled
JPG Support     enabled
PNG Support     enabled
WBMP Support     enabled

gettext
GetText Support     enabled

hash
hash support     enabled
Hashing Engines     md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv
iconv support     enabled
iconv implementation     glibc
iconv library version     2.8.90

Directive    Local Value    Master Value
iconv.input_encoding    ISO-8859-1    ISO-8859-1
iconv.internal_encoding    ISO-8859-1    ISO-8859-1
iconv.output_encoding    ISO-8859-1    ISO-8859-1

imap
IMAP c-Client Version     2004
SSL Support     enabled
Kerberos Support     enabled

json
json support     enabled
json version     1.2.1

ldap
LDAP Support     enabled
RCS Version     $Id: ldap.c,v 1.161.2.3.2.12 2007/12/31 07:20:07 sebastian Exp $
Total Links     0/unlimited
API Version     3001
Vendor Name     OpenLDAP
Vendor Version     20411
SASL Support     Enabled

libxml
libXML support     active
libXML Version     2.6.32
libXML streams     enabled

mbstring
Multibyte Support     enabled
Multibyte string engine     libmbfl
Multibyte (japanese) regex support     enabled
Multibyte regex (oniguruma) version     4.4.4
Multibyte regex (oniguruma) backtrack check     On

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive    Local Value    Master Value
mbstring.detect_order    no value    no value
mbstring.encoding_translation    Off    Off
mbstring.func_overload    0    0
mbstring.http_input    pass    pass
mbstring.http_output    pass    pass
mbstring.internal_encoding    ISO-8859-1    no value
mbstring.language    neutral    neutral
mbstring.strict_detection    Off    Off
mbstring.substitute_character    no value    no value

mime_magic
mime_magic support    invalid magic file, disabled

Directive    Local Value    Master Value
mime_magic.debug    Off    Off
mime_magic.magicfile    /usr/share/file/magic.mime    /usr/share/file/magic.mime

mysql
MySQL Support    enabled
Active Persistent Links     0
Active Links     0
Client API version     5.0.67
MYSQL_MODULE_TYPE     external
MYSQL_SOCKET     /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE     -I/usr/include/mysql
MYSQL_LIBS     -L/usr/lib -lmysqlclient_r

Directive    Local Value    Master Value
mysql.allow_persistent    On    On
mysql.connect_timeout    60    60
mysql.default_host    no value    no value
mysql.default_password    no value    no value
mysql.default_port    no value    no value
mysql.default_socket    no value    no value
mysql.default_user    no value    no value
mysql.max_links    Unlimited    Unlimited
mysql.max_persistent    Unlimited    Unlimited
mysql.trace_mode    Off    Off

mysqli
MysqlI Support    enabled
Client API library version     5.0.67
Client API header version     5.0.67
MYSQLI_SOCKET     /var/run/mysqld/mysqld.sock

Directive    Local Value    Master Value
mysqli.default_host    no value    no value
mysqli.default_port    3306    3306
mysqli.default_pw    no value    no value
mysqli.default_socket    no value    no value
mysqli.default_user    no value    no value
mysqli.max_links    Unlimited    Unlimited
mysqli.reconnect    Off    Off

openssl
OpenSSL support     enabled
OpenSSL Version     OpenSSL 0.9.8g 19 Oct 2007

pcre
PCRE (Perl Compatible Regular Expressions) Support     enabled
PCRE Library Version     7.6 2008-01-28

Directive    Local Value    Master Value
pcre.backtrack_limit    100000    100000
pcre.recursion_limit    100000    100000

PDO
PDO support    enabled
PDO drivers     mysql

pdo_mysql
PDO Driver for MySQL, client library version    5.0.67

posix
Revision     $Revision: 1.70.2.3.2.18 $

Reflection
Reflection    enabled
Version     $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $

session
Session Support     enabled
Registered save handlers     files user
Registered serializer handlers     php php_binary wddx

Directive    Local Value    Master Value
session.auto_start    Off    Off
session.bug_compat_42    On    On
session.bug_compat_warn    On    On
session.cache_expire    180    180
session.cache_limiter    nocache    nocache
session.cookie_domain    no value    no value
session.cookie_httponly    Off    Off
session.cookie_lifetime    0    0
session.cookie_path    /    /
session.cookie_secure    Off    Off
session.entropy_file    no value    no value
session.entropy_length    0    0
session.gc_divisor    100    100
session.gc_maxlifetime    1440    1440
session.gc_probability    0    0
session.hash_bits_per_character    4    4
session.hash_function    0    0
session.name    PHPSESSID    PHPSESSID
session.referer_check    no value    no value
session.save_handler    files    files
session.save_path    /var/lib/php5    /var/lib/php5
session.serialize_handler    php    php
session.use_cookies    On    On
session.use_only_cookies    Off    Off
session.use_trans_sid    0    0

shmop
shmop support     enabled

SimpleXML
Simplexml support    enabled
Revision     $Revision: 1.151.2.22.2.39 $
Schema support     enabled

snmp
NET-SNMP Support     enabled
NET-SNMP Version     5.4.1

soap
Soap Client     enabled
Soap Server     enabled

Directive    Local Value    Master Value
soap.wsdl_cache    1    1
soap.wsdl_cache_dir    /tmp    /tmp
soap.wsdl_cache_enabled    1    1
soap.wsdl_cache_limit    5    5
soap.wsdl_cache_ttl    86400    86400

sockets
Sockets Support     enabled

SPL
SPL support    enabled
Interfaces     Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes     AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

standard
Regex Library     Bundled library enabled
Dynamic Library Support     enabled
Path to sendmail     /usr/sbin/sendmail -t -i

Directive    Local Value    Master Value
assert.active    1    1
assert.bail    0    0
assert.callback    no value    no value
assert.quiet_eval    0    0
assert.warning    1    1
auto_detect_line_endings    0    0
default_socket_timeout    60    60
safe_mode_allowed_env_vars    PHP_    PHP_
safe_mode_protected_env_vars    LD_LIBRARY_PATH    LD_LIBRARY_PATH
url_rewriter.tags    a=href,area=href,frame=src,input=src,form=,fieldset=    a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent    no value    no value

sysvmsg
sysvmsg support     enabled
Revision     $Revision: 1.20.2.3.2.7 $

tokenizer
Tokenizer Support     enabled

wddx
WDDX Support    enabled
WDDX Session Serializer     enabled

xml
XML Support     active
XML Namespace Support     active
libxml2 Version     2.6.32

xmlreader
XMLReader     enabled

xmlrpc
core library version     xmlrpc-epi v. 0.51
php extension version     0.51
author     Dan Libby
homepage     http://xmlrpc-epi.sourceforge.net
open sourced by     Epinions.com

xmlwriter
XMLWriter     enabled

zip
Zip     enabled
Extension Version     $Id: php_zip.c,v 1.1.2.43 2008/01/18 00:51:38 pajoye Exp $
Zip version     1.8.11
Libzip version     0.8.0-compatible

zlib
ZLib Support     enabled
Stream Wrapper support     compress.zlib://
Stream Filter support     zlib.inflate, zlib.deflate
Compiled Version     1.2.1.1
Linked Version     1.2.3.3

Directive    Local Value    Master Value
zlib.output_compression    Off    Off
zlib.output_compression_level    -1    -1
zlib.output_handler    no value    no value

Additional Modules
Module Name
sysvsem
sysvshm

Environment
Variable    Value
APACHE_PID_FILE     /var/run/apache2.pid
PATH     /usr/local/bin:/usr/bin:/bin
LANG     C
APACHE_RUN_GROUP     www-data
APACHE_RUN_USER     www-data
PWD     /

PHP Variables
Variable    Value
_REQUEST["PHPSESSID"]    b28a1a54e6947b0192d7ade02e3c21cb
_COOKIE["PHPSESSID"]    b28a1a54e6947b0192d7ade02e3c21cb
_SERVER["HTTPS"]    on
_SERVER["SSL_VERSION_INTERFACE"]    mod_ssl/2.2.9
_SERVER["SSL_VERSION_LIBRARY"]    OpenSSL/0.9.8g
_SERVER["SSL_PROTOCOL"]    TLSv1
_SERVER["SSL_COMPRESS_METHOD"]    NULL
_SERVER["SSL_CIPHER"]    DHE-RSA-AES256-SHA
_SERVER["SSL_CIPHER_EXPORT"]    false
_SERVER["SSL_CIPHER_USEKEYSIZE"]    256
_SERVER["SSL_CIPHER_ALGKEYSIZE"]    256
_SERVER["SSL_CLIENT_VERIFY"]    NONE
_SERVER["SSL_SERVER_M_VERSION"]    1
_SERVER["SSL_SERVER_M_SERIAL"]    99A0862A1D468F68
_SERVER["SSL_SERVER_V_START"]    May 11 18:53:49 2009 GMT
_SERVER["SSL_SERVER_V_END"]    May 11 18:53:49 2010 GMT
_SERVER["SSL_SERVER_S_DN"]    /C=US/ST=Maryland/L=Hanover/O=CMY INC/OU=IT/CN=helpdesk/emailAddress=helpdesk@governmentservicegroup.com
_SERVER["SSL_SERVER_S_DN_C"]    US
_SERVER["SSL_SERVER_S_DN_ST"]    Maryland
_SERVER["SSL_SERVER_S_DN_L"]    Hanover
_SERVER["SSL_SERVER_S_DN_O"]    CMY INC
_SERVER["SSL_SERVER_S_DN_OU"]    IT
_SERVER["SSL_SERVER_S_DN_CN"]    helpdesk
_SERVER["SSL_SERVER_S_DN_Email"]    helpdesk@governmentservicegroup.com
_SERVER["SSL_SERVER_I_DN"]    /C=US/ST=Maryland/L=Hanover/O=CMY INC/OU=IT/CN=helpdesk/emailAddress=helpdesk@governmentservicegroup.com
_SERVER["SSL_SERVER_I_DN_C"]    US
_SERVER["SSL_SERVER_I_DN_ST"]    Maryland
_SERVER["SSL_SERVER_I_DN_L"]    Hanover
_SERVER["SSL_SERVER_I_DN_O"]    CMY INC
_SERVER["SSL_SERVER_I_DN_OU"]    IT
_SERVER["SSL_SERVER_I_DN_CN"]    helpdesk
_SERVER["SSL_SERVER_I_DN_Email"]    helpdesk@governmentservicegroup.com
_SERVER["SSL_SERVER_A_KEY"]    rsaEncryption
_SERVER["SSL_SERVER_A_SIG"]    sha1WithRSAEncryption
_SERVER["HTTP_HOST"]    helpdesk
_SERVER["HTTP_USER_AGENT"]    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11
_SERVER["HTTP_ACCEPT"]    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"]    en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"]    gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"]    ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"]    300
_SERVER["HTTP_CONNECTION"]    keep-alive
_SERVER["HTTP_COOKIE"]    PHPSESSID=b28a1a54e6947b0192d7ade02e3c21cb
_SERVER["PATH"]    /usr/local/bin:/usr/bin:/bin
_SERVER["SERVER_SIGNATURE"]    <address>Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server at helpdesk Port 443</address>
_SERVER["SERVER_SOFTWARE"]    Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4.2 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
_SERVER["SERVER_NAME"]    helpdesk
_SERVER["SERVER_ADDR"]    192.9.204.102
_SERVER["SERVER_PORT"]    443
_SERVER["REMOTE_ADDR"]    192.168.168.89
_SERVER["DOCUMENT_ROOT"]    /usr/share/glpi
_SERVER["SERVER_ADMIN"]    [no address given]
_SERVER["SCRIPT_FILENAME"]    /usr/share/glpi/phpinfo.php
_SERVER["REMOTE_PORT"]    35237
_SERVER["GATEWAY_INTERFACE"]    CGI/1.1
_SERVER["SERVER_PROTOCOL"]    HTTP/1.1
_SERVER["REQUEST_METHOD"]    GET
_SERVER["QUERY_STRING"]    no value
_SERVER["REQUEST_URI"]    /phpinfo.php
_SERVER["SCRIPT_NAME"]    /phpinfo.php
_SERVER["PHP_SELF"]    /phpinfo.php
_SERVER["REQUEST_TIME"]    1248094804
_SERVER["argv"]    

Array
(
)

_SERVER["argc"]    0
_ENV["APACHE_PID_FILE"]    /var/run/apache2.pid
_ENV["PATH"]    /usr/local/bin:/usr/bin:/bin
_ENV["LANG"]    C
_ENV["APACHE_RUN_GROUP"]    www-data
_ENV["APACHE_RUN_USER"]    www-data
_ENV["PWD"]    /

Offline

#4 2009-07-20 19:03:32

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

Debug mode php-errors.log

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:57        header()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/user.form.my.php:57        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/user.form.my.php:57        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/user.form.my.php:57        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/ajax/preference.tabs.php:45        header()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/ajax/preference.tabs.php:46        header_nocache()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/ajax/preference.tabs.php:46        header_nocache()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:57        header()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/central.php:66        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/central.php:66        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/central.php:66        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/ajax/central.tabs.php:39        header()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/ajax/central.tabs.php:40        header_nocache()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/ajax/central.tabs.php:40        header_nocache()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:57        header()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/central.php:66        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/central.php:66        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/central.php:66        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/ajax/central.tabs.php:39        header()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/ajax/central.tabs.php:40        header_nocache()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/ajax/central.tabs.php:40        header_nocache()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:57        header()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.php:42        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.php:42        commonHeader()

2009-07-20 12:59
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.php:42        commonHeader()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:57        header()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.php:42        commonHeader()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.php:42        commonHeader()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.php:42        commonHeader()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/lib/ezpdf/class.pdf.php:1916        header()
/usr/share/glpi/lib/ezpdf/class.ezpdf.php:456        Cpdf->stream()
/usr/share/glpi/inc/export.function.php:186        Cezpdf->ezStream()
/usr/share/glpi/inc/tracking.function.php:1784        displaySearchFooter()
/usr/share/glpi/front/report.dynamic.php:83        showTrackingList()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/lib/ezpdf/class.pdf.php:1917        header()
/usr/share/glpi/lib/ezpdf/class.ezpdf.php:456        Cpdf->stream()
/usr/share/glpi/inc/export.function.php:186        Cezpdf->ezStream()
/usr/share/glpi/inc/tracking.function.php:1784        displaySearchFooter()
/usr/share/glpi/front/report.dynamic.php:83        showTrackingList()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/lib/ezpdf/class.pdf.php:1919        header()
/usr/share/glpi/lib/ezpdf/class.ezpdf.php:456        Cpdf->stream()
/usr/share/glpi/inc/export.function.php:186        Cezpdf->ezStream()
/usr/share/glpi/inc/tracking.function.php:1784        displaySearchFooter()
/usr/share/glpi/front/report.dynamic.php:83        showTrackingList()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/lib/ezpdf/class.pdf.php:1920        header()
/usr/share/glpi/lib/ezpdf/class.ezpdf.php:456        Cpdf->stream()
/usr/share/glpi/inc/export.function.php:186        Cezpdf->ezStream()
/usr/share/glpi/inc/tracking.function.php:1784        displaySearchFooter()
/usr/share/glpi/front/report.dynamic.php:83        showTrackingList()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/lib/ezpdf/class.pdf.php:1921        header()
/usr/share/glpi/lib/ezpdf/class.ezpdf.php:456        Cpdf->stream()
/usr/share/glpi/inc/export.function.php:186        Cezpdf->ezStream()
/usr/share/glpi/inc/tracking.function.php:1784        displaySearchFooter()
/usr/share/glpi/front/report.dynamic.php:83        showTrackingList()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/lib/ezpdf/class.pdf.php:1923        header()
/usr/share/glpi/lib/ezpdf/class.ezpdf.php:456        Cpdf->stream()
/usr/share/glpi/inc/export.function.php:186        Cezpdf->ezStream()
/usr/share/glpi/inc/tracking.function.php:1784        displaySearchFooter()
/usr/share/glpi/front/report.dynamic.php:83        showTrackingList()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:57        header()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.form.php:51        commonHeader()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.form.php:51        commonHeader()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/inc/display.function.php:61        header_nocache()
/usr/share/glpi/inc/display.function.php:186        includeCommonHtmlHeader()
/usr/share/glpi/front/tracking.form.php:51        commonHeader()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/ajax/tracking.tabs.php:41        header()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2302        header()
/usr/share/glpi/ajax/tracking.tabs.php:42        header_nocache()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/display.function.php:2303        header()
/usr/share/glpi/ajax/tracking.tabs.php:42        header_nocache()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/common.function.php:1236        header()
/usr/share/glpi/front/document.send.php:152        sendFile()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/common.function.php:1237        header()
/usr/share/glpi/front/document.send.php:152        sendFile()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/common.function.php:1239        header()
/usr/share/glpi/front/document.send.php:152        sendFile()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/common.function.php:1240        header()
/usr/share/glpi/front/document.send.php:152        sendFile()

2009-07-20 13:00
Warning(2): Cannot modify header information - headers already sent by (output started at /usr/share/glpi/plugins/applicatifs/locales/en_GB.php:61)
Backtrace :
/usr/share/glpi/inc/common.function.php:1241        header()
/usr/share/glpi/front/document.send.php:152        sendFile()

Offline

#5 2009-07-20 19:10:42

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

"code" tags added for more lisibility.

What is the beginning of the generated content ?

From your first post, Is it
- https://helpdesk/front/report.dynamic....
- %PDF-...
- A blank line

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#6 2009-07-20 19:13:49

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

the
%PDF

Do you need a sample of what it does to the Word Docs?

Offline

#7 2009-07-20 19:21:13

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

Can you try setting (in your php configuration file) output_buffering = 4096

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#8 2009-07-20 19:26:40

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

Can you also try in simple http to see if this bug is https specific

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#9 2009-07-20 19:34:30

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

Thank-you, that worked for the pdf export, but even though openoffice/word gets passed a .doc file it is still coming out as junk.

https vs http makes no difference

Windows w/ MSWord vs Linux w/ OpenOffice makes no difference

this is a snip of what is happening

 &#65533;&#65533;#&#2161;#&#65533;################>###&#65533;&#65533;    #################\###########^#######&#65533;&#65533;&#65533;&#65533;####[###&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;#'`    ###&#65533;#&#65533;###############`
####bjbj&#65533;&#65533;&#65533;&#65533;##################    ###.P##&#65533;&#65533;##&#65533;&#65533;##&#65533;#######k#######################&#65533;&#65533;##########&#65533;&#65533;##########&#65533;&#65533;##################&#65533;#################################################################*###########################8###F#######b###&#65533;###*#######{.##&#65533;###Z#######Z#######Z#######Z#######Z#######&#65533;#######&#65533;#######&#65533;#######&#65533;-######&#65533;-######&#65533;-######&#65533;-######&#65533;-######&#65533;-######&#65533;-##$###%0##h###&#65533;2##&#65533;### .##############################L#######################&#65533;#######&#65533;#######L#######L####### .##############################Z###############Z###h###5.######&#65533;#######&#65533;#######&#65533;#######L###X###########Z###############Z#######&#65533;-##############&#65533;#######################################################L#######&#65533;-##############&#65533;#######&#65533;###r###z(##T###########################################################################z)######Z#######N###
###&#65533;#&#1148;U#&#65533;#################&#65533;###X###&#65533;(##############6*##&#65533;###K.##0###{.######&#65533;(##&#65533;####3######&#65533;###&#65533;####3######z)###############################################################################3######################z)##&#65533;###&#65533;#######&#65533;#######&#65533;#######&#65533;###
###&#65533;###X###################################&#65533;#######&#65533;#######&#65533;####### .###### .######################################&#65533;###X###################################&#65533;#######&#65533;#######&#65533;#######{.######L#######L#######L#######L###############*#######*#######*###&#65533;###########*#######*#######*###############*#######*#######*#######################################################&#65533;&#65533;&#65533;&#65533;######
####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################%###&###'###4###5###:###<###=###>###^###_###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;###&#65533;####    ###    ##        ###    ###    ##0    ##2    ##3    ##4    ##7    ##8    ##?    ##K    ##&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#316;&#65533;&#65533;&#65533;&#295;&#65533;&#300;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#65533;&#265;&#65533;&#260;&#316;&#65533;&#65533;&#65533;yu#################h&#65533;/9##
#h&#65533;g&#65533;##h&#65533;g&#65533;####h&#65533;4h##    #h&#65533;/9#5#&#65533;    #h&#65533;4h#5#&#65533;##hx#
#######f############f############d############[############[#####################################    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################    ###
#######
###&#65533;##&#65533;&#65533;#
##&#65533;&#65533;&#65533;&#65533;#    ######&#65533;######F####Microsoft Office Word Document#
###MSWordDoc#####Word.Document.8#&#65533;9&#65533;q###########################################################################################################################################################################################################################################################################################################################################################################################################################

Offline

#10 2009-07-20 19:46:37

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

Well increase the value of output_buffering ... if it solves the issue for PDF, probably you need to find the good value.


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#11 2009-07-20 19:48:18

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

What changed that this is now required?  I didn't have this issue before with 0.71.

Offline

#12 2009-07-20 19:49:21

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

Don't know, and I can't reproduce this bug...


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#13 2009-07-20 19:59:34

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

I am at 65536, and still no luck

This is the link location
https://helpdesk/front/document.send.php?file=DOC%2FAccount_Creation_Request_Form_-_Smith%2C_Margarita.doc&tracking=292

and the file being opened is "document.send.php"

The output_buffering now exceeds the size of the document and it still doesn't work.

Thank-you for your help, much appreciated

Offline

#14 2009-07-20 20:04:04

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

Still "exactly" the same message in php-errors.log (Cannot modify header information...) ?


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#15 2009-07-20 20:10:36

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

No new errors, the debug error message has gone away.  Any php lines I can add to the document.send.php file to make it more verbose?

Offline

#16 2009-07-21 13:09:32

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

It is as if something corrupts the character set/encoding so OO/MSWord can't determine which to use for display, and none of them are correct even though the file on the server is fine.

Is there any option that can affect the encoding of documents?

Offline

#17 2009-07-21 13:13:31

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

Try to set the correct mime type in Setup / Document type

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#18 2009-07-21 13:30:12

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

I did before I posted, making that change didn't make a difference.  This is affecting all documents except pdf and zip.

Offline

#19 2009-07-23 15:37:29

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

I got it working. Made the following changes, don't know why this works but it did.

File: common.function.php
Function: sendFile

1244                 ob_clean(); // mine
1245                 flush(); // mine
1246 
1247                 if (!$f){
1248                         echo "Error opening file $file";
1249                 } else {
1250                         // Pour que les \x00 ne devienne pas \0
1251                         $mc=get_magic_quotes_runtime();
1252                         if ($mc) @set_magic_quotes_runtime(0);
1253                         $fsize=filesize($file);
1254 
1255                         if ($fsize){
1256                         //      echo fread($f, filesize($file));
1257                                readfile($file);  // mine
1258                         } else {

Last edited by jasafpro (2009-07-23 15:38:01)

Offline

#20 2009-07-23 16:10:47

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

made a cosmetic change that fixed it so that I wasn't getting document.send.php as the file name,
added "attachment;" to the line.

File: common.function.php
Function: sendFile

1240                 header("Content-Disposition: attachment; filename=\"$filename\"");

Last edited by jasafpro (2009-07-23 16:11:02)

Offline

#21 2009-07-25 00:59:35

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

I have had to add the following to lines

ob_clean();
flush();

to pluginimage.send.php for project and to other plugins that output images for them to be rendered.

Hope this helps to narrow down what the problem is or makes it easier to reproduce the original bug.

Offline

#22 2009-07-25 08:58:15

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: GLPI .72 all document download is broken

il serait intéressant d'enregistrer quelque par le contenu du tampon de sortie pour essayer de comprendre d'où vient son contenu...

une truc grenre :

error_log("OB=".ob_get_contents());

(avant le ob_clean)
Et de voir ce que contient le error.log d'apache.


+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#23 2009-07-25 17:03:08

jasafpro
Member
Registered: 2009-07-20
Posts: 17

Re: GLPI .72 all document download is broken

did it for project gnatt and a document attached to ticket

[Sat Jul 25 11:00:55 2009] [error] [client 192.168.168.89] OB= , referer: https://helpdesk/plugins/projet/
[Sat Jul 25 11:01:06 2009] [error] [client 192.168.168.89] OB= , referer: https://helpdesk/front/tracking.form.php?ID=265

Offline

#24 2009-07-26 15:09:53

flavien75015
Member
Registered: 2006-12-08
Posts: 3

Re: GLPI .72 all document download is broken

i have the same problem :
- corrupted SLK, files and PDF
- same value of Obcontent "OB= ,"

i found that problem is resolved when i uninstall plugin "applicatifs" (appliance)

i upgraded the plugin "applicatifs" to 1.5.1 from SVN => the same

i do the same on a fresh install => the same

i modified the file ''/plugins/applicatifs/locales/en_GB.php" and remove the space after the balise "?>"

Offline

#25 2009-07-26 15:21:45

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: GLPI .72 all document download is broken

corrections done on applicatif plugin


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

Board footer

Powered by FluxBB