strict warning: Declaration of views_handler_field::query() should be compatible with views_handler::query($group_by = false) in /etc/drupal6/mysite/modules/contrib/views/handlers/views_handler_field.inc on line 1147.
strict warning: Declaration of views_handler_sort::options_validate() should be compatible with views_handler::options_validate($form, &$form_state)
strict warning: Declaration of views_handler_sort::options_submit() should be compatible with views_handler::options_submit($form, &$form_state)
strict warning: Declaration of views_handler_sort::query() should be compatible with views_handler::query($group_by = false)
strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state)
strict warning: Declaration of views_handler_filter::query() should be compatible with views_handler::query($group_by = false)
strict warning: Declaration of views_plugin_query::options_submit() should be compatible with views_plugin::options_submit($form, &$form_state) in /etc/drupal6/mysite/modules/contrib/views/plugins/views_plugin_query.inc on line 169.
strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options()
strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state)
strict warning: Declaration of content_handler_field::element_type() should be compatible with views_handler_field::element_type($none_supported = false, $default_empty = false, $inline = false) in /etc/drupal6/mysite/modules/contrib/cck/includes/views/handlers/content_handler_field.inc on line 229.
strict warning: Declaration of date_handler_field_multiple::pre_render() should be compatible with views_handler_field::pre_render($values) in /etc/drupal6/mysite/modules/contrib/date/date/date_handler_field_multiple.inc on line 185.
Como resolvemos bueno de la manera mas facil que yo encontre se las comento para que no se maten tanto.
En el archivo Settings.php colocan esta linea
ini_set('error_reporting', 22519);
Luego van al archivo Common.inc que se encuentra en la ruta: /SITIO_WEB/INCLUDES/ y buscan esta funcion COMENTAN LO QUE TENGO EN NEGRITA OJO y agregan la linea que tengo en AZUL
function drupal_error_handler($errno, $message, $filename, $line, $context) {
// If the @ error suppression operator was used, error_reporting will have
// been temporarily set to 0.
if (error_reporting() == 0) {
return;
}
// if ($errno & (E_ALL ^ E_DEPRECATED ^ E_NOTICE)) {
if ($errno & (E_ALL ^ E_DEPRECATED ^ E_NOTICE) & error_reporting()) {
$types = array(1 => 'error', 2 => 'warning', 4 => 'parse error', 8 => 'notice', 16 => 'core error', 32 => 'core warning', 64 => 'compile error', 128 => 'compile warning', 256 => 'user error', 512 => 'user warning', 1024 => 'user notice', 2048 => 'strict warning', 4096 => 'recoverable fatal error');
// For database errors, we want the line number/file name of the place that
// the query was originally called, not _db_query().
if (isset($context[DB_ERROR])) {
$backtrace = array_reverse(debug_backtrace());
// List of functions where SQL queries can originate.
$query_functions = array('db_query', 'pager_query', 'db_query_range', 'db_query_temporary', 'update_sql');
// Determine where query function was called, and adjust line/file
// accordingly.
foreach ($backtrace as $index => $function) {
if (in_array($function['function'], $query_functions)) {
$line = $backtrace[$index]['line'];
$filename = $backtrace[$index]['file'];
break;
}
}
}
// If the @ error suppression operator was used, error_reporting will have
// been temporarily set to 0.
if (error_reporting() == 0) {
return;
}
// if ($errno & (E_ALL ^ E_DEPRECATED ^ E_NOTICE)) {
if ($errno & (E_ALL ^ E_DEPRECATED ^ E_NOTICE) & error_reporting()) {
$types = array(1 => 'error', 2 => 'warning', 4 => 'parse error', 8 => 'notice', 16 => 'core error', 32 => 'core warning', 64 => 'compile error', 128 => 'compile warning', 256 => 'user error', 512 => 'user warning', 1024 => 'user notice', 2048 => 'strict warning', 4096 => 'recoverable fatal error');
// For database errors, we want the line number/file name of the place that
// the query was originally called, not _db_query().
if (isset($context[DB_ERROR])) {
$backtrace = array_reverse(debug_backtrace());
// List of functions where SQL queries can originate.
$query_functions = array('db_query', 'pager_query', 'db_query_range', 'db_query_temporary', 'update_sql');
// Determine where query function was called, and adjust line/file
// accordingly.
foreach ($backtrace as $index => $function) {
if (in_array($function['function'], $query_functions)) {
$line = $backtrace[$index]['line'];
$filename = $backtrace[$index]['file'];
break;
}
}
}
Les digo que Es importante señalar que en PHP 5.4, cambiaron E_ALL incluir E_STRICT. (http://us.php.net/ChangeLog-5.php # 5.4.0)
FYI para otros se ejecutan en este problema: es posible que pueda ajustar su valor de error_reporting en php.ini. Aquí está la documentación para esa variable que viene con Ubuntu 12.10:
; error_reporting
, Valor de Desarrollo: E_ALL
, Valor de la producción: E_ALL y ~ y ~ E_DEPRECATED E_STRICT
(Tenga en cuenta que en un entorno de producción, error_reporting debe apagar el E_STRICT poco como se hace en este ejemplo, el uso de "y ~ E_STRICT".)
Espero que les sirva cualquier cosa comenten.
FYI para otros se ejecutan en este problema: es posible que pueda ajustar su valor de error_reporting en php.ini. Aquí está la documentación para esa variable que viene con Ubuntu 12.10:
; error_reporting
, Valor de Desarrollo: E_ALL
, Valor de la producción: E_ALL y ~ y ~ E_DEPRECATED E_STRICT
(Tenga en cuenta que en un entorno de producción, error_reporting debe apagar el E_STRICT poco como se hace en este ejemplo, el uso de "y ~ E_STRICT".)
Espero que les sirva cualquier cosa comenten.
Gracias por tu ayuda...me sirvio muchisimo!!
ResponderEliminar