marco
22-08-2006, 11:10
Próbuję właśnie uruchomić razem te komponenty. Przy otwieraniu poszczególnych kategorii forum nie ma problemu, ale przy próbie otwarcia jakiegokolwiek postu wywala mi błąd:
Fatal error: [] operator not supported for strings in .../.../components/com_sef/sef_ext.php on line 256
co to może być ?
kawałek kodu sef_ext.php od linii 251 do 260
//Plugin system
if (file_exists($GLOBALS['mosConfig_absolute_path'] . '/components/com_sef/sef_ext/' . $option . '.php')) {
include($GLOBALS['mosConfig_absolute_path'] . '/components/com_sef/sef_ext/' . $option . '.php');
}
else {
$title[] = getMenuTitle($option, (isset($task) ? @$task : null) );
$title[] = '/';
if (count($title) > 0) $string = sef_404::sefGetLocation($string, $title, (isset($task) ? @$task : null), (isset($limit) ? @$limit : null), (isset($limitstart) ? @$limitstart : null) );
}
return $string;
Fatal error: [] operator not supported for strings in .../.../components/com_sef/sef_ext.php on line 256
co to może być ?
kawałek kodu sef_ext.php od linii 251 do 260
//Plugin system
if (file_exists($GLOBALS['mosConfig_absolute_path'] . '/components/com_sef/sef_ext/' . $option . '.php')) {
include($GLOBALS['mosConfig_absolute_path'] . '/components/com_sef/sef_ext/' . $option . '.php');
}
else {
$title[] = getMenuTitle($option, (isset($task) ? @$task : null) );
$title[] = '/';
if (count($title) > 0) $string = sef_404::sefGetLocation($string, $title, (isset($task) ? @$task : null), (isset($limit) ? @$limit : null), (isset($limitstart) ? @$limitstart : null) );
}
return $string;