Hi

I turned display_errors Off, changed the error_reporting (no Warnings, etc) level.... but it just doesnt work, PHP is producing and showing the known warnings:

strict warning: var: Deprecated. Please use the public/private/protected modifiers in /var/www/drupal-tlc/themes/engines/xtemplate/xtemplate.inc on line 42.

I thought some code in Drupal may be changing the settings... Any ideas?

Thank you very much.

Javier.

My system is:
Apache/1.3.33 (Debian GNU/Linux) PHP/5.0.3-1.dotdeb.0 mod_ssl/2.8.22 OpenSSL/0.9.7d
PHP Version 5.0.3-1.dotdeb.0
Drupal 4.5.2

Comments

killes@www.drop.org’s picture

How about reading the text on the download page? It clearly states that php 5 is not supported. Try the cvs version if you want php 5 support (and switch to another theme)
--
If you have troubles with a particular contrib project, please consider filing a support request. Thanks. And, by the way, Drupal 4.5 does not work with PHP 5.

jav’s picture

Such a friendly answer.... I know PHP5 is not oficially supported. I was just wondering if drupal code is forcing PHP5 to show the warnings.

killes@www.drop.org’s picture

Friendliness is optional.

No, Drupal doesn't do anything specific about this messages. You should be able to switch them off in the settings page. See "error reporting".
--
If you have troubles with a particular contrib project, please consider filing a support request. Thanks. And, by the way, Drupal 4.5 does not work with PHP 5.