Were do I report these warning for:

1) AdminMenu
warning: Parameter 1 to admin_menu_admin_menu() expected to be a reference, value given in /srv/www/drupal-6.14/drupal/includes/module.inc on line 471.

2) devel.module
warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /srv/www/drupal-6.14/drupal/sites/all/modules/devel/devel.module on line 897.

and/or can I make a correction to these mods until it's fixed? I know there warning, but, If there not harmlesss, I would like to turn these warnings off, there irritating, makes my site look buggy!

Comments

vm’s picture

1) check and ensure site is using latest version of module in question

2) what date is set in administer -> date & time?

Vc Developer’s picture

I have both the lastest version of:
Administration menu 6.x-1.5
Devel 6.x-1.18

including:
Date 6.x-2.4

Date & Time is set to:
America/Los Anegeles

...and these warning & errors should not be displaying on the user side, but on the local server only! Where do I set the params to do so?

Vc Developer’s picture

Well, I think I may now why these errors are displaying. I have PHP5.3 installed, because I didn't have these warnings in PHP5.2..., so I'm assuming these release don't work in PHP5.3?

vm’s picture

very possible. I wouldn't expect all modules for D6 to be compatible with PHP 5.3. I'm not sure D6 core is completely compatible with PHP 5.3.

Vc Developer’s picture

Is there a setting I can turn off warning messages...., and I want to make a correction, the warning messages are not showing on the user side, just when I'm logged as the Admin.

vm’s picture

best bet is rolling back to the last version of PHP 5.2.x, you are bound to run into other issues besides this one.

to disable errors from printing to the screen (bad idea IMO) try settings in administer -> error reporting
to disable them in total (worse idea IMO) in your php.ini file.

jaypan’s picture

Drupal core doesn't work with PHP 5.3, and many modules will not either. PHP 5.3 has removed the use of ereg(), which a lot of modules and the core use. It's not actually an official PHP release yet, so it's best to just work in php 5.2.

Contact me to contract me for D7 -> D10/11 migrations.

Vc Developer’s picture

Ok thanks! I was hoping you wouldn't say that....., because I'm running openSuSe 11.2 and php 5.2.6 is in openSuse 11.1..., well, ok, I'll just have to go back... sigh!...

vm’s picture

There is no way to simply change the version of PHP in use? as there is in WAMP or similar ?

Vc Developer’s picture

Well, no one on the openSuse Forum has responded to my question regarding that. So I tried to download all the php rpm's and install them, but kept getting too many version dependencies failures. I had to keep downloading other rpm's. It was too time consuming..., so I will just try going back to 11.1, install the apache, php and mysql stuff and then upgrade to 11.2 hoping it will not touch anything except file system default app's....