бер.
13
error : Parameter 2 to frontpage() expected to be a reference, value given in /var/www/html/sitio/includes/ Cache / Lite / Function . php )

После обновления версии РНР с 5.2 на 5.3.2 многие владельцы сайтов увидели это сообщение:

error : Parameter 2 to frontpage() expected to be a reference, value given in /var/www/html/sitio/includes/Cache/ Lite/Function.php

Решение:

1) Ищем файл /includes/Cache /Lite/Function.php

Заменяем код:

$arguments = func_get_args();

на код:

$arguments = func_get_args();
$numargs = func_num_args();
for($i=1; $i < $numargs; $i++){
$arguments[$i] = &$arguments[$i];
}


2) Ищем файл /includes/vcard.class.php

Перед строкой 38:
Вставляем код:

if(!function_exists('quoted_printable_encode'))
{
  /Тут размещаем все что было с 38 до 77 строки */
}
 
Источник: joomla.org
Add bookmark

Add comment


Security code
Refresh

Hekima! Blog