FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Installation problem (Empty page (no-zlib) or parse error (zlib))
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Installation problem [message #39860] Sat, 15 December 2007 05:28 Go to next message
morihaos is currently offline  morihaos   
Messages: 3
Registered: November 2005
Location: Deeptown
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
hello all,

root@ /usr/local/www/forum.satel.kz $ uname -a
FreeBSD 6.1-RELEASE-p21

From /usr/local/etc/apache/httpd.conf:

<VirtualHost 91.185.6.106>
CustomLog /usr/local/var/log/httpdlogs/forum.satel.kz.access.log combined
ErrorLog /usr/local/var/log/httpdlogs/forum.satel.kz.error.log
ServerName forum.satel.kz
DocumentRoot /usr/local/www/forum.satel.kz
ErrorDocument 404 http://forum.satel.kz/404.html
<Directory />
 AllowOverride FileInfo AuthConfig Limit
 Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
 DirectoryIndex index.php index.htm index.html index.shtml
</Directory>
</VirtualHost>


PHPinfo - http://forum.satel.kz/p.php

Download & install (zlib installer):

root@ ~ $ cd /usr/local/www/forum.satel.kz/
root@ /usr/local/www/forum.satel.kz $ wget -c http://static.fudforum.org/FUDforum_zl_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ md5 FUDforum_zl_2-7-7.tar.bz2
MD5 (FUDforum_zl_2-7-7.tar.bz2) = 73e4a9cf4cb87dc2a06dac98aaa6703a

root@ /usr/local/www/forum.satel.kz $ ls -al
total 1736
drwxr-xr-x 2 www www 512 15 дек 15:41 ./
drwxr-xr-x 51 root wheel 1536 15 дек 14:47 ../
-rw-r--r-- 1 www www 308 6 июл 2004 404.html
-rw-r--r-- 1 root www 1747304 2 окт 02:31 FUDforum_zl_2-7-7.tar.bz2
-rw-r--r-- 1 root www 17 15 дек 14:47 p.php

root@ /usr/local/www/forum.satel.kz $ bzip2 -d FUDforum_zl_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ tar -xf FUDforum_zl_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ mv FUDforum2/* ./
root@ /usr/local/www/forum.satel.kz $ rm -f FUDforum_zl_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ rm -rf FUDforum2/
root@ /usr/local/www/forum.satel.kz $ chown -R www:www /usr/local/www/forum.satel.kz/
root@ /usr/local/www/forum.satel.kz $ ls -al
total 1784
drwxr-xr-x 2 www www 512 15 дек 15:46 ./
drwxr-xr-x 51 root wheel 1536 15 дек 14:47 ../
-rw-r--r-- 1 www www 308 6 июл 2004 404.html
-rw-r--r-- 1 www www 18385 19 сен 2006 COPYING
-rw-r--r-- 1 www www 2512 6 мар 2005 CREDITS
-rw-r--r-- 1 www www 2193 17 май 2005 README
-rw-r--r-- 1 www www 1756460 2 окт 02:31 install.php
-rw-r--r-- 1 www www 17 15 дек 14:47 p.php
-rw------- 1 www www 5448 2 янв 2007 uninstall.php
root@ /usr/local/www/forum.satel.kz $

root@ /usr/local/www/forum.satel.kz $ php -l install.php
PHP Parse error: syntax error, unexpected '?' in install.php on line 1
Parse error: syntax error, unexpected '?' in install.php on line 1
Errors parsing install.php

root@ /usr/local/www/forum.satel.kz $ ls -al /usr/local/var/log/httpdlogs/forum.satel.kz.*
-rw-r--r-- 1 root wheel 0 15 дек 15:53 /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
-rw-r--r-- 1 root wheel 0 15 дек 15:53 /usr/local/var/log/httpdlogs/forum.satel.kz.error.log

root@ /usr/local/www/forum.satel.kz $ ls -al /usr/local/var/log/httpdlogs/forum.satel.kz.*
-rw-r--r-- 1 root wheel 175 15 дек 15:54 /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
-rw-r--r-- 1 root wheel 137 15 дек 15:54 /usr/local/var/log/httpdlogs/forum.satel.kz.error.log

root@ /usr/local/www/forum.satel.kz $ more /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
89.218.78.82 - - [15/Dec/2007:15:54:24 +0600] "GET /install.php HTTP/1.1" 200 144 "-" "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Geck
o/20071215 Firefox/2.0.0.11"

root@ /usr/local/www/forum.satel.kz $ more /usr/local/var/log/httpdlogs/forum.satel.kz.error.log
[Sat Dec 15 15:54:24 2007] [error] PHP Parse error: syntax error, unexpected '?' in /usr/local/www/forum.satel.kz/install.php on line 1

Go to http://forum.satel.kz/install.php :
Parse error: syntax error, unexpected '?' in /usr/local/www/forum.satel.kz/install.php on line 1

======================

Download & install (no-zlib installer):

root@ /usr/local/www/forum.satel.kz $ wget -c http://static.fudforum.org/FUDforum_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ md5 FUDforum_2-7-7.tar.bz2
MD5 (FUDforum_2-7-7.tar.bz2) = 6a45653dba338126bb0143f148c9e06e
root@ /usr/local/www/forum.satel.kz $ bzip2 -d FUDforum_2-7-7.tar.bz2
root@ /usr/local/www/forum.satel.kz $ tar -xf FUDforum_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ mv FUDforum2/* ./
root@ /usr/local/www/forum.satel.kz $ rm -rf FUDforum2/
root@ /usr/local/www/forum.satel.kz $ rm -f FUDforum_2-7-7.tar
root@ /usr/local/www/forum.satel.kz $ chown -R www:www /usr/local/www/forum.satel.kz/
root@ /usr/local/www/forum.satel.kz $ ls -al
total 5112
drwxr-xr-x 2 www www 512 15 дек 16:05 ./
drwxr-xr-x 51 root wheel 1536 15 дек 14:47 ../
-rw-r--r-- 1 www www 308 6 июл 2004 404.html
-rw-r--r-- 1 www www 18385 19 сен 2006 COPYING
-rw-r--r-- 1 www www 2512 6 мар 2005 CREDITS
-rw-r--r-- 1 www www 2193 17 май 2005 README
-rw-r--r-- 1 www www 5173767 2 окт 02:31 install.php
-rw-r--r-- 1 www www 17 15 дек 14:47 p.php
-rw------- 1 www www 5448 2 янв 2007 uninstall.php

root@ /usr/local/www/forum.satel.kz $ php -l install.php
No syntax errors detected in install.php

root@ /usr/local/www/forum.satel.kz $ ls -al /usr/local/var/log/httpdlogs/forum.satel.kz.*
-rw-r--r-- 1 root wheel 174 15 дек 16:08 /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
-rw-r--r-- 1 root wheel 0 15 дек 16:08 /usr/local/var/log/httpdlogs/forum.satel.kz.error.log

root@ /usr/local/www/forum.satel.kz $ more /usr/local/var/log/httpdlogs/forum.satel.kz.access.log
89.218.78.82 - - [15/Dec/2007:16:08:50 +0600] "GET /install.php HTTP/1.1" 200 17 "-" "Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.11) Gecko /20071215 Firefox/2.0.0.11

Go to http://forum.satel.kz/install.php :
????? or blank page.

======================

Can anyone help with this?

[Updated on: Sat, 15 December 2007 05:33]

Report message to a moderator

Re: Installation problem [message #39870 is a reply to message #39860] Sun, 16 December 2007 12:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
What version of PHP are you using?

FUDforum Core Developer
Re: Installation problem [message #39874 is a reply to message #39870] Sun, 16 December 2007 13:43 Go to previous messageGo to next message
morihaos is currently offline  morihaos   
Messages: 3
Registered: November 2005
Location: Deeptown
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
PHPinfo: http://forum.satel.kz/p.php
PHP Version 5.2.5
Re: Installation problem [message #39891 is a reply to message #39874] Mon, 17 December 2007 14:02 Go to previous messageGo to next message
Ilia is currently offline  Ilia   United States
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
I believe that your --enable-zend-multibyte compile flag is what's causing the problem.

FUDforum Core Developer
Re: Installation problem [message #39895 is a reply to message #39891] Mon, 17 December 2007 16:36 Go to previous messageGo to next message
morihaos is currently offline  morihaos   
Messages: 3
Registered: November 2005
Location: Deeptown
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Thanks.
Re: Installation problem [message #40021 is a reply to message #39860] Fri, 04 January 2008 13:25 Go to previous messageGo to next message
Amenothep is currently offline  Amenothep   United Kingdom
Messages: 1
Registered: January 2008
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Just set

detect_unicode = 0

in

php.ini and the problem goes away ..

after installation set it back to

detect_unicode = 1

The option isn't in the default ini file on OpenSUSE 10.2 so you need to add it.


it also defaults to 1

see: http://uk.php.net/manual/en/ini.php
Re: Installation problem [message #166295 is a reply to message #40021] Wed, 02 November 2011 05:41 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Just for the record, this problem was fixed a while ago (I think since +- FUDforum 3.0.2).
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: avatar approval not found (fixed)
Next Topic: No IMAP option in maillist manager
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Oct 18 12:52:35 EDT 2017

Total time taken to generate the page: 0.00717 seconds