From owner-freebsd-questions@FreeBSD.ORG Wed Sep 7 19:34:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E632916A41F; Wed, 7 Sep 2005 19:34:58 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from lakecmmtao05.coxmail.com (lakecmmtao05.coxmail.com [68.99.120.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B39C43D48; Wed, 7 Sep 2005 19:34:57 +0000 (GMT) (envelope-from vizion@vizion.occoxmail.com) Received: from dns1 ([64.58.171.82]) by lakecmmtao05.coxmail.com (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050907193457.NXL2425.lakecmmtao05.coxmail.com@dns1>; Wed, 7 Sep 2005 15:34:57 -0400 From: Vizion To: freebsd-apache@freebsd.org Date: Wed, 7 Sep 2005 12:30:46 -0700 User-Agent: KMail/1.8 References: <001301c5b3b1$1b6f27e0$59830acf@dennylaptop2> <200509071033.21972.vizion@vizion.occoxmail.com> In-Reply-To: <200509071033.21972.vizion@vizion.occoxmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509071230.47297.vizion@vizion.occoxmail.com> Cc: freebsd-questions@freebsd.org, wjv@FreeBSD.org Subject: phpbb - install.php script> blank screen X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2005 19:34:59 -0000 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 : HOWEVER : http://localhost/phpBB2/install/ displays page properly with View File Source shows : ------ Index of /phpBB2/install

Index of /phpBB2/install

Icon  Name                    
Last modified      Size  Description
[DIR] Parent Directory - [TXT] index.htm 19-Jul-2005 13:14 169 [   ] install.php 19-Jul-2005 13:14 34K [DIR] schemas/ 19-Jul-2005 13:14 - [   ] update_to_latest.php 19-Jul-2005 13:14 40K [   ] upgrade.php 19-Jul-2005 13:14 56K
Apache/2.0.54 (FreeBSD) PHP/5.0.4 Server at localhost Port 80
-------- 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 # # $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@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 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.