Error - Parse error: parse error on line 1812 [message #5797] |
Fri, 20 September 2002 19:12 |
findanoutfitter
Messages: 4 Registered: September 2002
Karma: 0
|
Junior Member |
|
|
Installing forum on Unix/apache anyone see this error before.
Warning: Unexpected character in input: '' (ASCII=4) state=1 in /home2/www/mydomain/forum/install.php on line 1812
Warning: Unexpected character in input: '' (ASCII=18) state=1 in /home2/www/mydomain/forum/install.php on line 1812
Warning: Unexpected character in input: '' (ASCII=16) state=1 in /home2/www/mydomain/forum/install.php on line 1812
Parse error: parse error in /home2/www/mydomain/forum/install.php on line 1812
Thanks
|
|
|
|
|
|
|
|
|
Re: Error - Parse error: parse error on line 1812 [message #5910 is a reply to message #5908] |
Fri, 27 September 2002 12:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I see the problem the md5's do not match. Which unzip program did you use to decompress the file?
It appears that program did something (add \r most likely) to the install script, which is why it does not work for you.
The install.php contains a special headers that tells to applications to treat the file as binary, hence not add \r but it seems some apps ignore this.
I am not sure what you mean by your last question, currently you can only install FUDforum utilizing the provided installation script.
FUDforum Core Developer
|
|
|
|
|
|
Re: Error - Parse error: parse error on line 1812 [message #6002 is a reply to message #5999] |
Mon, 30 September 2002 19:27 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The file was modified by your FTP Client/Server/Unzip Program or something else it went through, because something added \r to it.
The result is a corrupt archive and the errors you are seeing.
FUDforum Core Developer
|
|
|
|
Re: Error - Parse error: parse error on line 1812 [message #6008 is a reply to message #6003] |
Mon, 30 September 2002 19:44 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Decompress the file on your *nix server rather then on Windows machine and then try running that file. If possible download the file directly to the unix server from FUDforum's website.
FUDforum Core Developer
|
|
|
Re: Error - Parse error: parse error on line 1812 [message #11789 is a reply to message #5797] |
Thu, 17 July 2003 11:04 |
ngockhoi
Messages: 15 Registered: July 2003 Location: Paris
Karma: 0
|
Junior Member |
|
|
It's strange, I have the same error
Warning: Unexpected character in input: '' (ASCII=14) state=1 in /home/www/html/ppiis.net/fud/install.php on line 1160
Parse error: parse error in /home/www/html/ppiis.net/fud/install.php on line 1160
I had verify md5 sum it's ok for all files. I had try with tar.gz, tar.bz2 and zip compressor for zlib and non zlib.
I use linux redhat 7.3 with apache-1.3.27-2 and php-4.2.3-7.3.6
and it's the same problem with php-4.3.2 (compile by us).
Files version try
FUDforum v2.5.0
FUDforum2_20030626
FUDforum v2.3.8
Only the old version work's
FUDforum2_20021028
It's the version of zlib or any archive lib problem ?.
Best regard's
[Updated on: Thu, 17 July 2003 11:13] Report message to a moderator
|
|
|
Re: Error - Parse error: parse error on line 1812 [message #11792 is a reply to message #11789] |
Thu, 17 July 2003 15:53 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Very strange, I've just downloaded:
http://fud.prohost.org/download/FUDforum_zl_2-5-0.tar.bz2
and installed FUDforum 2.5.0 based on that archive without a problem.
The md5sum of install.php I've run was: aaf1b5b05c799167ecdca1e3c371cae7
This md5sum should be the same not matter which zlib archive (FUDforum 2.5.0 installer) you download. If you are using a non-zlib archive the md5sum of install.php should be:
fad8fc7ed8996ee6ca1b4caef70c6f14
I've also tested both the tar.gz & zip archive and successfuly installed FUDforum using them as well.
FUDforum Core Developer
|
|
|
Re: Error - Parse error: parse error on line 1812 [message #12044 is a reply to message #5797] |
Sat, 26 July 2003 08:05 |
doncan311
Messages: 1 Registered: July 2003
Karma: 0
|
Junior Member |
|
|
hello:
My question is about "FUDforum v2.5.0 Installation Script".
I don't know what i am doing wrong but this message appears when execute install.php:
With zlib:
Warning: Unexpected character in input: '' (ASCII=14) state=1 in E:\wampp2\htdocs\miniportail\con_zl\install.php on line 1160
Parse error: parse error, unexpected '[' in E:\wampp2\htdocs\miniportail\con_zl\install.php on line 1160
Without zlib:
Warning: Unexpected character in input: '' (ASCII=6) state=1 in E:\wampp2\htdocs\miniportail\sin_zl\install.php on line 33115
Parse error: parse error, unexpected ')' in E:\wampp2\htdocs\miniportail\sin_zl\install.php on line 33115
I using windows xp with wampp 2(windows+apache+mysql+php+perl) with this versions:
Apache 2.0.46
MySQL 4.0.13
PHP 4.3.2
Others scripts works fine but this in particular sends that message...Can you help me?
Thank for help
PD: sorry my bad english
[Updated on: Sat, 26 July 2003 08:09] Report message to a moderator
|
|
|
|
|
|
|
|
|
|