Drupal

Drupal and php 5.3 Compatibility

I was upgrading my server the other day & had a couple of very old Drupal 4.7 sites and quite a few Drupal 5.23 sites which I wanted to keep working. I thought I was in for a right headache but it turned out to be surprisingly easy with the following patches:

Drupal 5 Compatibility patch
http://drupal.org/node/853064

Drupal 4
And these are the lines I replaced in my Drupal 4.7 install.

Line 498 : common.inc
if ($errno & (E_ALL & ~E_NOTICE & ~E_DEPRECATED)) { // replaced: if ($errno & (E_ALL ^ E_NOTICE)) {

Line 497 : user.module

 
info@theanthillsocial.co.uk XHTML 1.0 Strict CSS2 WAI