[support] Re: [drupal-support] Drupal not working after upgrade to PHP 4.4.1

Ron Wilhoite ronw at bals.org
Wed Nov 2 13:39:07 UTC 2005


Bèr Kessels wrote:
> Are you sure you
> a) followed the upgrade instructuions to the point? (so REMOVE, then upload 
> new)

Thanks for the reply Bèr. If I missed something please let me know.

I used portupgrade, which completed with no errors. I checked the PHP 
site and didn't see any special instructions on the site or in the 
changelog. FWIW, the portupgrade procedure worked fine on a similar 
server (same versions of FreeBSD, Apache, and PHP) that uses 
Squirrelmail instead of Drupal.

> b) sure you got all files copied?

I'm trusting that port maintainer got it right. Apache worked after the 
upgrade, as did a phpinfo() test page, and the home page for the Drupal 
site.

> c) your permissions are back to teh way they were (that means rwx for the 
> apache user, typically named ww-data)?

No change in permissions, and the apache user "www" has rwx on the 
/usr/local/www/data directory.

> 
> Bèr
> 
> Op woensdag 02 november 2005 07:02, schreef Ron Wilhoite:
>> 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.
>>
>> Ron Wilhoite
>>
>> 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/
>  Bèr
> 

-- 
[ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list