Package: drupal6 Version: 6.18-1squeeze1 Severity: normal *** Please type your report below this line ***
The deprecated (in PHP 5.3) functions ereg() and ereg_replace are still being used by some Drupal files: ~$ grep ereg /usr/share/drupal6/includes/* /usr/share/drupal6/includes/file.inc: $regex = '/\.('. ereg_replace(' +', '|', preg_quote($extensions)) .')$/i'; /usr/share/drupal6/includes/file.inc: elseif ($depth >= $min_depth && ereg($mask, $file)) { /usr/share/drupal6/includes/unicode.inc: if (!$bom && ereg('^<\?xml[^>]+encoding="([^"]+)"', $data, $match)) { /usr/share/drupal6/includes/unicode.inc: $data = ereg_replace('^(<\?xml[^>]+encoding)="([^"]+)"', '\\1="utf-8"', $out); Found because www-data is having messages sent to it by cron: <b>Deprecated</b>: Function ereg() is deprecated in <b>/usr/share/drupal6/includes/file.inc</b> on line <b>926</b><br /> <br /> Thank you. -- System Information: Debian Release: 6.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages drupal6 depends on: ii apache2 2.2.16-6+squeeze4 Apache HTTP Server metapackage ii apache2-mpm-prefork 2.2.16-6+squeeze4 Apache HTTP Server - traditional n ii curl 7.21.0-2.1+squeeze1 Get a file from an HTTP, HTTPS or ii dbconfig-common 1.8.46+squeeze.0 common framework for packaging dat ii debconf [debconf-2.0 1.5.36.1 Debian configuration management sy ii mysql-client 5.1.49-3 MySQL database client (metapackage ii mysql-client-5.1 [vi 5.1.49-3 MySQL database client binaries ii php5 5.3.3-7+squeeze7 server-side, HTML-embedded scripti ii php5-gd 5.3.3-7+squeeze7 GD module for php5 ii php5-mysql 5.3.3-7+squeeze7 MySQL module for php5 ii php5-pgsql 5.3.3-7+squeeze7 PostgreSQL module for php5 ii postfix [mail-transp 2.7.1-1+squeeze1 High-performance mail transport ag ii postgresql-client-8. 8.4.10-0squeeze1 front-end programs for PostgreSQL ii wwwconfig-common 0.2.1 Debian web auto configuration Versions of packages drupal6 recommends: ii mysql-server 5.1.49-3 MySQL database server (metapackage ii mysql-server-5.1 [mysql-serve 5.1.49-3 MySQL database server binaries and drupal6 suggests no packages. -- debconf information: drupal6/pgsql/manualconf: drupal6/mysql/method: unix socket drupal6/pgsql/authmethod-user: drupal6/purge: false drupal6/remove-error: abort drupal6/dbconfig-upgrade: true drupal6/pgsql/admin-user: postgres drupal6/install-error: abort drupal6/dbconfig-remove: drupal6/db/dbname: drupal6 drupal6/pgsql/changeconf: false drupal6/internal/skip-preseed: true drupal6/pgsql/method: unix socket drupal6/missing-db-package-error: abort drupal6/upgrade-error: abort drupal6/remote/host: drupal6/db/basepath: drupal6/passwords-do-not-match: drupal6/internal/reconfiguring: false drupal6/pgsql/no-empty-passwords: drupal6/db/app-user: drupal6 drupal6/database-type: drupal6/upgrade-backup: true drupal6/dbconfig-reinstall: false drupal6/mysql/admin-user: root drupal6/pgsql/authmethod-admin: ident drupal6/remote/newhost: * drupal6/dbconfig-install: false drupal6/remote/port: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org