php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30241 Warning: Unexpected character in input:
Submitted: 2004-09-26 12:34 UTC Modified: 2004-09-26 21:00 UTC
From: vgr_php at europeanexperts dot org Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.8 OS: FreeBSD, linux
Private report: No CVE-ID: None
 [2004-09-26 12:34 UTC] vgr_php at europeanexperts dot org
Description:
------------
Problematic server :
Apache/1.3.31 (Unix) PHP/4.3.7
platform : FreeBSD 4.7-RELEASE-p27

every once in a while, I got "Warning: Unexpected character in input: '" at various lines and with no relation to the actual script line.

It's not a file transfer problem (EOLN missing, etc), it's not a backslash problem, it's not a "globals in string" reference problem, it smells more like broken binaries for FreeBSD, linux and why not other platforms.

For reference, I found this old bug : http://bugzilla.redhat.com/bugzilla/long_list.cgi?buglist=73616

and more important I found http://drupal.org/book/print/257 which is a server that ***also*** runs Apache 1.3.31 and PHP 4.3.8 on linux and has the very same problem... ("Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /var/www/drupal.org/modules/codefilter/codefilter.module on line 29")

When looking in the changelog for PHP 4.3.8, I don't see this possible issue mentioned. Thus I file it.

I can't upgrade the problematic server myself with 4.3.8, so I can't tell if the issue is fixed or not. My windows server "Apache/1.3.29 (Win32) PHP/4.3.8" has no problem whatsoever.

I don't know what happened between Apache 1.3.29 and 1.3.31 or between PHP 4.3.6 and PHP 4.3.8, but there is a problem in the binaries for some platforms.

Regards,
VGR

www.europeanexperts.org


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-26 21:00 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

It's likely a bison issue, the solution is either to upgrade to later binary release 4.3.9/4.3.8 or to recompile PHP with correct bison.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 00:01:30 2024 UTC