phpbb - install.php script> blank screen
Vizion
vizion at vizion.occoxmail.com
Wed Sep 7 12:34:59 PDT 2005
Copy of problem report to phpbb forum..
Does anyone have any ideas?
URL:http://localhost/phpBB2/install/install.php
Template(s) used:n/a
Any and all MODs: none
Do you use a port of phpBB:Freebsd
Version of phpBB:phpbb-2.0.17
Version of PHP:
php5-5.0.4_2 PHP Scripting Language (Apache Module and CLI)
php5-pcre-5.0.4_2 The pcre shared extension for php
php5-pear-5.0.4_4 PEAR framework for PHP
php5-xml-5.0.4_2 The xml shared extension for php
Which database server and version:
mysql-client-5.0.11 Multithreaded SQL database (client)
mysql-server-5.0.11 Multithreaded SQL database (server)
apache-2.0.54 Version 2 of Apache web server with prefork MPM.
apache-ant-1.6.2
Host: Freebsd 5.3
Did someone install this for you/who: I did
Is this an upgrade/from what to what: No
Is this a conversion/from what to what: No
Have you searched for your problem: Yes
If so, what terms did you try:install.php
State the nature of your problem: http://localhost/phpBB2/install/install.php
produces a blank screen
View File Source shows : <html><body></body></html>
HOWEVER : http://localhost/phpBB2/install/ displays page properly with
View File Source shows :
------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Index of /phpBB2/install</title>
</head>
<body>
<h1>Index of /phpBB2/install</h1>
<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a>
<a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a
href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a
href="/phpBB2/">Parent Directory</a> -
<img src="/icons/text.gif" alt="[TXT]"> <a href="index.htm">index.htm</a>
19-Jul-2005 13:14 169
<img src="/icons/unknown.gif" alt="[ ]"> <a
href="install.php">install.php</a> 19-Jul-2005 13:14 34K
<img src="/icons/folder.gif" alt="[DIR]"> <a href="schemas/">schemas/</a>
19-Jul-2005 13:14 -
<img src="/icons/unknown.gif" alt="[ ]"> <a
href="update_to_latest.php">update_to_latest.php</a> 19-Jul-2005 13:14
40K
<img src="/icons/unknown.gif" alt="[ ]"> <a
href="upgrade.php">upgrade.php</a> 19-Jul-2005 13:14 56K
<hr></pre>
<address>Apache/2.0.54 (FreeBSD) PHP/5.0.4 Server at localhost Port
80</address>
</body></html>
--------
Could the problem have something to do with the way php deals with simlinks -
but if so I do not know how to fix it!!
You will see I have installed the standard php test.php script
in /usr/local/www/data which works fine so we know php is dollowing the
symlink to that point.
Are there any specific entries that need to be made in http.conf or php.ini?
Here is the link and other Directory info:
Critical Dirs :
/usr/local/www
dns1# ls -l
total 14
lrwxr-xr-x 1 root wheel 27 Jun 2 12:07 cgi-bin
-> /usr/local/www/cgi-bin-dist
drwxr-xr-x 2 root wheel 512 Jun 2 12:07 cgi-bin-dist
lrwxr-xr-x 1 root wheel 24 Jun 2 12:07 data -> /usr/local/www/data-dist
drwxr-xr-x 3 root wheel 1536 Sep 6 20:49 data-dist
lrwxr-xr-x 1 root wheel 25 Jun 2 12:07 error
-> /usr/local/www/error-dist
drwxr-xr-x 3 root wheel 1024 Jun 2 12:07 error-dist
lrwxr-xr-x 1 root wheel 25 Jun 2 12:07 icons
-> /usr/local/www/icons-dist
drwxr-xr-x 3 root wheel 3584 Jun 2 12:07 icons-dist
-rw-r--r-- 1 root wheel 2 Sep 5 20:36 testme
lrwxr-xr-x 1 root wheel 18 Sep 6 14:20 virtualwebs -> /usr2/virtualwebs/
dns1# cd /usr/local/www/data/
dns1# pwd
/usr/local/www/data-dist
dns1# ls -l
total 94
-rw-r--r-- 1 root wheel 2326 Nov 21 2004 apache_pb.gif
-rw-r--r-- 1 root wheel 1385 Nov 21 2004 apache_pb.png
-rw-r--r-- 1 root wheel 2414 Nov 21 2004 apache_pb2.gif
-rw-r--r-- 1 root wheel 1463 Nov 21 2004 apache_pb2.png
-rw-r--r-- 1 root wheel 2160 Nov 21 2004 apache_pb2_ani.gif
-rw-r--r-- 1 root wheel 579 May 26 06:51 demo.fx
-rw-r--r-- 1 root wheel 1724 Jun 2 10:18 index.html.ca
-rw-r--r-- 1 root wheel 1644 Jun 2 10:18 index.html.cz.iso8859-2
-rw-r--r-- 1 root wheel 2263 Jun 2 10:18 index.html.de
-rw-r--r-- 1 root wheel 1569 Jun 2 10:18 index.html.dk
-rw-r--r-- 1 root wheel 1889 Jun 2 10:18 index.html.ee
-rw-r--r-- 1 root wheel 1679 Jun 2 10:18 index.html.el
-rw-r--r-- 1 root wheel 1517 Jun 2 10:18 index.html.en
-rw-r--r-- 1 root wheel 1796 Jun 2 10:18 index.html.es
-rw-r--r-- 1 root wheel 1928 Jun 2 10:18 index.html.et
-rw-r--r-- 1 root wheel 1566 Jun 2 10:18 index.html.fr
-rw-r--r-- 1 root wheel 3765 Jun 2 10:18 index.html.he.iso8859-8
-rw-r--r-- 1 root wheel 1665 Jun 2 10:18 index.html.hr.iso8859-2
-rw-r--r-- 1 root wheel 1849 Jun 2 10:18 index.html.it
-rw-r--r-- 1 root wheel 1691 Jun 2 10:18 index.html.ja.iso2022-jp
-rw-r--r-- 1 root wheel 1604 Jun 2 10:18 index.html.ko.euc-kr
-rw-r--r-- 1 root wheel 1898 Jun 2 10:18 index.html.lb.utf8
-rw-r--r-- 1 root wheel 2029 Jun 2 10:18 index.html.nl
-rw-r--r-- 1 root wheel 1595 Jun 2 10:18 index.html.nn
-rw-r--r-- 1 root wheel 1528 Jun 2 10:18 index.html.no
-rw-r--r-- 1 root wheel 1499 Jun 2 10:19 index.html.po.iso8859-2
-rw-r--r-- 1 root wheel 1834 Jun 2 10:19 index.html.pt
-rw-r--r-- 1 root wheel 2107 Jun 2 10:19 index.html.pt-br
-rw-r--r-- 1 root wheel 1583 Jun 2 10:19 index.html.ru.cp-1251
-rw-r--r-- 1 root wheel 1576 Jun 2 10:19 index.html.ru.cp866
-rw-r--r-- 1 root wheel 1581 Jun 2 10:19 index.html.ru.iso-ru
-rw-r--r-- 1 root wheel 1577 Jun 2 10:19 index.html.ru.koi8-r
-rw-r--r-- 1 root wheel 2310 Jun 2 10:19 index.html.ru.utf8
-rw-r--r-- 1 root wheel 1692 Jun 2 10:19 index.html.sv
-rw-r--r-- 1 root wheel 2401 Jun 2 10:19 index.html.var
-rw-r--r-- 1 root wheel 1079 Jun 2 10:19 index.html.zh-cn.gb2312
-rw-r--r-- 1 root wheel 1093 Jun 2 10:19 index.html.zh-tw.big5
drwxrwxr-x 10 root wheel 512 Sep 6 20:49 phpBB2
-rw-r--r-- 1 root wheel 20 Sep 5 16:41 test.php
lrwxr-xr-x 1 root wheel 17 Sep 6 16:50 virtualwebs -> /usr2/virtualwebs
dns1# pwd
/usr/local/www/data-dist/phpBB2/install
dns1# ls -l
total 138
-rw-rw-rw- 1 www www 169 Jul 19 13:14 index.htm
-rw-rw-rw- 1 www www 35207 Jul 19 13:14 install.php
drwxr-xr-x 2 www www 512 Jul 19 13:14 schemas
-rw-rw-rw- 1 www www 40483 Jul 19 13:14 update_to_latest.php
-rw-rw-rw- 1 www www 57398 Jul 19 13:14 upgrade.php
dns1# pwd
/usr/local/www
dns1# ls -l
lrwxr-xr-x 1 root wheel 24 Jun 2 12:07 data -> /usr/local/www/data-dist
drwxr-xr-x 3 root wheel 1536 Sep 6 20:49 data-dist
Here is the Makefile:
dns1# cat Makefile
# New ports collection makefile for: phpBB
# Date created: 25 April 2002
# Whom: Johann Visagie <wjv at FreeBSD.org>
#
# $FreeBSD: ports/www/phpbb/Makefile,v 1.33 2005/07/21 09:29:50 pav Exp $
#
PORTNAME= phpbb
PORTVERSION= 2.0.17
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= phpBB-${PORTVERSION}
MAINTAINER= liukang at bjut.edu.cn
COMMENT= A PHP-based bulletin board / discussion forum system
RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:${PORTSDIR}/devel/pear-PEAR
USE_BZIP2= yes
# The phpBB2 port supports a number of variables that may be tweaked at build
# time. Perform a "make options" to see more information on these variables.
#
WWWDOCROOT?= www/data
PHPBBURL?= phpBB2
WWWOWN?= www
WWWGRP?= www
#
# End of user-configurable variables.
# Set/override/append to variables from bsd.port.mk:
#
WRKSRC= ${WRKDIR}/phpBB2
NO_BUILD= yes
USE_REINPLACE= yes
SUB_FILES= pkg-message
SUB_LIST= PHPBBURL="${PHPBBURL}" \
PHPBBDIR="${PHPBBDIR}" \
DELETEFILES="${EXCEPTFILES}"
PHPBB_VER= ${PORTVERSION:S/.//g:S/.//g}
PLIST_SUB+= PHPBBDIR=${PHPBBDIR} WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
PLIST_SUB+= PHPBB_VER=${PHPBB_VER}
# Set custom variables:
#
PHPBBDIR= ${WWWDOCROOT}/${PHPBBURL}
PKGOPTS= ${FILESDIR}/pkg-opts
EXCEPTFILES= ${PREFIX}/${PHPBBDIR}/install/install.php \
${PREFIX}/${PHPBBDIR}/install/upgrade.php \
${PREFIX}/${PHPBBDIR}/install/update_to_latest.php
options:
@ ${ECHO_MSG} "===> Build options for ${PKGNAME}:"
@ ${CAT} ${PKGOPTS}
pre-everything::
.if !defined(BATCH)
@ ${TEST} -r ${PKGOPTS} && \
(${ECHO_MSG}
'-------------------------------------------------------------------------';
\
${ECHO_MSG} 'Perform a "make options" to see a list of available
installation options.'; \
${ECHO_MSG}
'-------------------------------------------------------------------------')
.endif
post-patch:
@ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBBURL}/templates#" \
${WRKSRC}/docs/*.html
@${RM} -f `${FIND} ${WRKSRC} -name '*.orig'`
do-install:
@ ${MKDIR} -m 0775 ${PREFIX}/${PHPBBDIR}
@ cd ${WRKSRC} && ${FIND} * \( -name config.php \
${EXCEPTFILES:S/^/-o -name /} \
-o -name docs -a -prune -o -name contrib -a -prune \) -o -print \
| ${TAR} cTf - - | ${TAR} xUCf ${PREFIX}/${PHPBBDIR} -
@ ${TOUCH} ${PREFIX}/${PHPBBDIR}/config.php
@ ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPBBDIR}
@ ${MKDIR} ${DATADIR}/contrib
@ cd ${WRKSRC} && ${INSTALL_DATA} ${EXCEPTFILES} ${DATADIR}
@ cd ${WRKSRC}/contrib && ${INSTALL_DATA} * ${DATADIR}/contrib
post-install:
# @ cd ${DATADIR} && ${INSTALL} -c -o ${WWWOWN} -g ${WWWGRP} \
# ${EXCEPTFILES} ${PREFIX}/${PHPBBDIR}
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
@ cd ${WRKSRC}/docs && ${FIND} * -type f -maxdepth 0 \! -name \*.bak \
\! -name COPYING -exec ${INSTALL_DATA} {} ${DOCSDIR} \;
.if !defined(BATCH)
@ ${CAT} ${PKGMESSAGE}
.endif
.endif
.include <bsd.port.mk>
Do you have a test account for us:n/a
If so, please have it ready in case a Support Team Member asks for it.
--
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after
completing engineroom refit.
More information about the freebsd-apache
mailing list