Although file upload works as normal, an error message is triggered.
Ahmad edited PHP.ini to suppress error reporting.
Behaviour: File upload triggers warnings but is successful
This seems to be a (in)compatibility issues with PHP5.3. The benale site has PHP5.2.1 installed and there it works fine. The icarda site has PHP5.3.1. ( it seems that something has changes in the way drupal_alter calls a module ?)
http://drupal.org/node/705512#comment-4050074 nr38 Posted by TwoD on February 5, 2011 at 12:20am@ionmedia, the real problem is in the code calling drupal_alter(), not in the date_form_alter() function signature.The caller should use '__drupal_alter_by_ref' like in the patch from #32 (it has already been comitted to CCK so it will no longer be the cause of this problem, but other modules can still do it the wrong way).
I can see 4 options to fix this
Upadte all the modules that have available updates in the hope that they have addressed the PHP issue. Also, try a newer version of OA. This should be done anyway, but is unlikely to fix the problem completely as not all modules will be updated.
(2) suppress error reporting
Ok, php allows you to control what warnings are reported. The "eregi() error" is not in fact an error, but just a deprecation notice and can be safely ignored. To disable this warning you'll need to tell php to tone down it's reporting with a line like error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE in your php.ini file. That is, if you want to keep using php 5.3
error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
(3) Downgrade PHP
(4) edit common.inc (ugly hack)
Option (1) update is not going to solve it:
The only modules that have updates available
The otyher 8 are up to date
Your email address will not be published. Required fields are marked *
Notify me of follow-up comments by email.
Notify me of new posts by email.