Community & Support

Undefined offset:8192 and ereg() deprecation error.

Hi there,

I've recently taken quite an old site (drupal 5.11) off a production server to run on my local machine. I want to get it running so I can make the necessary upgrades/modifications necessary. I run a wampserver wamp stack, and have tried various php versions 5.2 through to 5.3 (namely .5.2.7, .8, .9), but still receive the following:

Notice: Undefined offset: 8192 in C:\wamp\www\sitename\includes\common.inc on line 561
Notice: Undefined offset: 8192 in C:\wamp\www\sitename\includes\common.inc on line 568

repeated many times, and then in red as a drupal warning:

: Function ereg() is deprecated in 
C:\wamp\www\sitename\includes\file.inc on line 649.

many times.

The site has e-commerce ubercart package modules enabled.

Looking to be pointed in the right direction, if someone can help? Thanks.

Comments

Resolved - somewhat.

disabling clean urls has resolved the problem. I'll be looking further into why.

Drupal 5 is not NOTICE free;

Drupal 5 is not NOTICE free; configure error_reporting to not show notices. Drupal 5 doesn't support PHP 5.3+.

Advertising helps build a successful ecosystem around Drupal.
nobody click here