From owner-freebsd-questions@FreeBSD.ORG Fri Nov 11 16:50:12 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 D06D416A41F for ; Fri, 11 Nov 2005 16:50:12 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 493D243D46 for ; Fri, 11 Nov 2005 16:50:12 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so596814wra for ; Fri, 11 Nov 2005 08:50:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=kgT1xZsQAp4IejBuL/tiejd0HHfofAVQb+utFeU4DW/UT6lOC0egDrWm0XdRiZdzdOFvVtRDxjOa4xPXXpz3u2tmA1CXL7CET/Mh7Vx5MBrc4c2bCuoqXcp6xW1/GlGy+AOtlJxShPjcc9rMK6urg1i6+h8cTxdzO+xaVVhyIik= Received: by 10.54.140.12 with SMTP id n12mr1242523wrd; Fri, 11 Nov 2005 08:50:10 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id 65sm1237004wra.2005.11.11.08.50.09; Fri, 11 Nov 2005 08:50:10 -0800 (PST) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org, ronw@bals.org Date: Fri, 11 Nov 2005 08:40:44 -0800 User-Agent: KMail/1.8.3 References: <4374C739.40600@bals.org> In-Reply-To: <4374C739.40600@bals.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511110840.45177.ringworm01@gmail.com> Cc: Subject: Re: Upgrading PHP port to 4.4.1 breaks Drupal site 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: Fri, 11 Nov 2005 16:50:12 -0000 On Friday 11 November 2005 08:30, Ron Wilhoite wrote: > After a portupgrade of PHP to 4.4.1 my Drupal 4.6.3 site stopped > working. I used portdowngrade to revert to 4.4.0 and the site worked again. After upgrading PHP to 4.4.1 you should rebuild ports that depend on it. -Mike > > I tried upgrading this morning to 4.4.1_1 and drupal-4.6.3_1, but got > the same result. Using portdowngrade to revert to PHP 4.4.0 worked again. > > I posted to the drupal support list and PHP 4.4.1 does not seem to be > causing problems for other Drupal users. The 'missing' files in the > error logs below exist and have correct permissions. I also couldn't > find anything relevant at php.net or with google searches. > > I will appreciate any suggestions. > > Ron Wilhoite > > > Message posted to Drupal list: > > After upgrading PHP to 4.4.1, my site's homepage loads, but all other > pages are blank and I can't login. I restarted apache and mysql, but got > the same result. It's Drupal 4.6.3, Apache 2.0.55, Mysql 4.1.15, running > on FreeBSD 5.4. > > I've copied the errors from the apache log below. If there is other > information I can provide let me know. > > I downgraded my PHP ports to 4.4.0 and the site came back up. > > Thanks for any help or pointers. > > Apache error log: > > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(sites/default/settings.php): failed to open stream: No such file or > directory in /usr/local/www/data/includes/bootstrap.inc on line 642, > referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(): Failed opening 'sites/default/settings.php' for inclusion > (include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on > line 642, referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(includes/database.inc): failed to open stream: No such file or > directory in /usr/local/www/data/includes/bootstrap.inc on line 643, > referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(): Failed opening 'includes/database.inc' for inclusion > (include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on > line 643, referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(includes/session.inc): failed to open stream: No such file or > directory in /usr/local/www/data/includes/bootstrap.inc on lin > e 644, referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(): Failed opening 'includes/session.inc' for inclusion > (include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on > line 644, referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(includes/module.inc): failed to open stream: No such file or > directory in /usr/local/www/data/includes/bootstrap.inc on line > 645, referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Warning: > main(): Failed opening 'includes/module.inc' for inclusion > (include_path='.:') in /usr/local/www/data/includes/bootstrap.inc on l > ine 645, referer: http://office.bals.org/ > [Wed Nov 02 00:15:42 2005] [error] [client 192.168.0.35] PHP Fatal > error: Call to undefined function: db_fetch_object() in > /usr/local/www/data/includes/bootstrap.inc on line 199, referer: > http://office.bals.org/ > [Wed Nov 02 00:15:46 2005] [error] [client 192.168.0.35] PHP Fatal > error: Cannot redeclare conf_init() (previously declared in > /usr/local/www/data/includes/bootstrap.inc:45) in /usr/local/www/data/in > cludes/bootstrap.inc on line 44, referer: http://office.bals.org/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"