Unexpected character in input [message #1226] |
Tue, 26 March 2002 09:35 |
HajoMüller
Messages: 5 Registered: March 2002
Karma: 0
|
Junior Member |
|
|
After installation I´ve got the following messages:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line 26
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line 27
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line 28
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line 29
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line 30
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in GLOBALS.php on line 31
....
How can I stop this?
THX HJ
|
|
|
Re: Unexpected character in input [message #1227 is a reply to message #1226] |
Tue, 26 March 2002 10:51 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Hallo, Kann es sein, daß Du die Pfade wie unter Windows mit einem Backslash geschrieben hast? Du mußt nämlich, auch wenn es unter Windows installiert wurde, immer die Pfade Unix mäßig, also "/" angeben. Aus: c:\programme\apache\htdocs\forum\ sollte nach Möglichkeit c:/programme/apache/htdocs/forum/ werden.
Daher müßtest Du in deinen versteckten Ordner unter include/ nachschaun und dort die GLOBALS.php von Hand editieren, in dem Du die Pfade richtig rum machst. Wichtig: Es gibt noch 2 andere GLOBALS.php, eine im adm/ verzeichnis und die andere direkt in der Forumsroot. Die nach Möglichkeit nicht anrühren, weil das lediglich Verweise (win32) bzw Symlinks (unix) sind. Tschüß Ken
|
|
|
Re: Unexpected character in input [message #1228 is a reply to message #1226] |
Tue, 26 March 2002 11:12 |
HajoMüller
Messages: 5 Registered: March 2002
Karma: 0
|
Junior Member |
|
|
Hi!
Der Indianer läuft auf einer Linux-Kiste! aber: der Tipp an sich war nicht schlecht: vor all den php-Variablen in den genannten Zeilen war ein \ gestanden. Nach Entfernung gehts, aber:
Warning: Cannot add header information - headers already sent by (output started at GLOBALS.php:172) in /usr/local/httpd/forum/include/cookies.inc on line 129
HJ
[Updated on: Tue, 26 March 2002 11:24] Report message to a moderator
|
|
|
|
|
Re: Unexpected character in input [message #1232 is a reply to message #1226] |
Tue, 26 March 2002 16:04 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
This problem usually occurs if PHP for some reason added \ character before the $ in the GLOBALS.php file. To fix this, simply edit the file and remove all \ before the $.
P.S. I am not sure why this happens on some systems and for 1 I cannot replicate this problem on any of mine.
FUDforum Core Developer
|
|
|
|
Re: Unexpected character in input [message #1235 is a reply to message #1233] |
Tue, 26 March 2002 17:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Ken Kizaki wrote on Tue, 26 March 2002 11:39 AM | Hi prottoss, sorry that I haven't translated the dialogs into English . The first problem had to do with backslashes being added to the paths and the second one was caused by a lot of spaces after the end of the php code. Both issues have already been fixed now. bye Ken
|
Ah, cool thanks for helping the guy out and translating this problem for me.
FUDforum Core Developer
|
|
|