Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /home/ajoliebi/cmsdle.info/engine/classes/mysqli.class.php on line 162 2011-02-11 20:47 » CSS HTML

2011-02-11 20:47

Ошибка в друпал (ставлю галерею).

warning: Parameter 1 to imagefield_widget() expected to be a reference, value given in X:\home\test1.ru\244\includes\module.inc online 462.

Решение:
Открыть:
\sites\modules\imagefield\imagefield.module
Line: 181
Найти: function imagefield_widget(&$form, &$form_state, $field, $items, $delta = 0) {
Заменить на: function imagefield_widget($form, $form_state, $field, $items, $delta = 0) {

Открыть: \sites\modules\image_fupload\image_fupload_imagefield\image_fupload_imagefield_widget.inc
Line: 145
Найти: function theme_image_fupload_imagefield_widget(&$element) {
Заменить на: function theme_image_fupload_imagefield_widget($element) {

 (голосов: 0)