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 2012-03-08 02:44:54

dahvakana
Member
Registered: 2012-02-13
Posts: 12

XML Parsing Error when generating statistics graphs (SVG)

It seems that there is an extra blank line being generated at the beginning of the XML for: Assistance - statistics

XML Parsing Error: XML or text declaration not at start of entity
Location: https://helpdesk.uwb.edu/front/graph.send.php?file=868_750819015.svg
Line Number 2, Column 1:
<?xml version="1.0"?>
^

The error suggests an extra line ('line number 2') has been added at the beginning of the file and I have looked in /inc/xml.class.php and haven't found any extra lines added. The only other explanation that comes to mind is an encoding error? Any help is appreciated.

Thank you,

Last edited by dahvakana (2012-03-08 02:45:28)


Glpi        ->0.90.1
PHP        ->5.6.31
Apache    ->2.4.27
MySQL    ->5.6.27

Offline

#2 2012-03-08 08:08:02

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

Re: XML Parsing Error when generating statistics graphs (SVG)

Please check with all plugin disabled


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

#3 2012-03-08 20:36:11

dahvakana
Member
Registered: 2012-02-13
Posts: 12

Re: XML Parsing Error when generating statistics graphs (SVG)

"cleaned" plugins from previous 0.72 version (upgraded to 0.78 then 0.80) and still the same error. We are using the upgraded database on a new installation of .80 so no actual plugins were in the plugins folder. could the old plugin tables have an effect on the graph generating?


Glpi        ->0.90.1
PHP        ->5.6.31
Apache    ->2.4.27
MySQL    ->5.6.27

Offline

#4 2012-04-10 10:51:44

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

Re: XML Parsing Error when generating statistics graphs (SVG)

You didn't talk about in which  specific case you have the problem ?

As you  see on demo.glpi-project.org , the statistics are ok.

So the problem could  come from plugins or your server configuration...


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

Offline

#5 2012-05-02 19:11:25

dahvakana
Member
Registered: 2012-02-13
Posts: 12

Re: XML Parsing Error when generating statistics graphs (SVG)

per this  post ( http://www.glpi-project.org/forum/viewt … p?id=28296 ) the issue seems to be server configuration. I didn't want to have to reinstall our production server just for graph pictures. I was hoping to find the exact problem and be able to fix it. I'll post if i find the erroneous server config.


Glpi        ->0.90.1
PHP        ->5.6.31
Apache    ->2.4.27
MySQL    ->5.6.27

Offline

Board footer

Powered by FluxBB