From:             vgr_php at europeanexperts dot org
Operating system: FreeBSD, linux
PHP version:      4.3.8
PHP Bug Type:     Scripting Engine problem
Bug description:  Warning: Unexpected character in input:

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 bug report at http://bugs.php.net/?id=30241&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30241&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30241&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30241&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30241&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30241&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30241&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30241&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30241&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30241&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30241&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=30241&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=30241&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30241&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30241&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30241&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30241&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30241&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30241&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30241&r=mysqlcfg

Reply via email to