#30241 [Opn->Bgs]: Warning: Unexpected character in input:
| From: | iliaa@php.net | Date: | Sun, 26 Sep 2004 19:00:44 +0000 |
| Subject: | #30241 [Opn->Bgs]: Warning: Unexpected character in input: | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66725@lists.php.net to get a copy of this message | ||
ID: 30241
Updated by: iliaa@php.net
Reported By: vgr_php at europeanexperts dot org
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: FreeBSD, linux
PHP Version: 4.3.8
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-09-26 12:34:40] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30241&edit=1