Menu

#24 XML parser error 4: not well-formed (invalid token)

closed
None
5
2005-09-11
2005-08-26
Anonymous
No

Hi,

I receive the following error after installing release
1.0.0 (2005-08-20), and trying to access pMH using
index.php:

Warning: Sablotron error on line 1: XML parser error 4:
not well-formed (invalid token) in C:\Program
Files\Apache Group\Apache\htdocs\pmh\index.php on line 31
Sorry, XML code could not be transformed. The reason is
XML parser error 4: not well-formed (invalid token) and
the error code is 2

I am using WinXP, PHP 4.3.11 and Apache 1.3.31 (with
MySQL).
The expat, iconv, sablot and php_xslt DLLs were taken
from the PHP 4.3.11 win32 zip file.

I have enabled XSLT in PHP, using the information here:
http://sniptools.com/tutorials/sablotron-xslt-php-apache-on-windows-and-a-basic-xslt-tutorial

And I have tested it using the files here:
http://sniptools.com/xsltest.zip

My installation is working perfectly with the test
files, but pMH/Sablotron gives the XML parser error.

Perhaps I am missing some other DLLs?

Please help!

Discussion

  • Jacopo Romei

    Jacopo Romei - 2005-08-26

    Logged In: YES
    user_id=672800

    You should have a check into your XML debug file.
    It is produced only if you set debug options on in config.php and
    it is located where you set it to be in config.php; the default
    location is /tmp/pMH-debug.xml

    $GLOBALS['CONFIG']['DEBUG']
    $GLOBALS['CONFIG']['DEBUGFILE']
    are the variables holding concerning settings.

    In the debug file you can find PHP errors or non-well-formed XML
    errors.

    Kind regards.

     
  • Jacopo Romei

    Jacopo Romei - 2005-08-26
    • assigned_to: nobody --> jakuza
     
  • Jacopo Romei

    Jacopo Romei - 2005-08-26
    • status: open --> pending
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.