Denwer
Версия базы данных: 5.1.40-community
Версия PHP: 5.2.12
1: <!--error--><br />
2: <b>Notice</b>: Undefined property: FeedItem::$fulltext in <b>\www\components\com_rss\rss.php</b> on line <b>314</b><br />
3: <script language=JavaScript src='/denwer/errors/phperror_js.php'></script><?xml version="1.0" encoding="UTF-8"?>
4: <!-- generator="Joostina CMS" -->
5: <rss version="2.0">
это ошибка при RSS кроме яндекса
if(isset($yes_yandex)) {
// yandex export
$item->fulltext = $row->fulltext?$row->introtext.$row->fulltext:$row->introtext;
$item->fulltext = htmlspecialchars(strip_tags($item->fulltext));
$item->fulltext = str_replace("'","'",$item->fulltext);
$item->fulltext = preg_replace('/{mosimage\s*.*?}/iu','',$item->fulltext);
if($row->images) {
$item->images = array();
$row->images = explode("\n",$row->images);
foreach($row->images as $img) {
$img = trim($img);
if($img) {
$temp = explode('|',trim($img));
$item->images[] = '/images/stories/'.$temp[0];
}
}
}
// yandex export
}
314 $item->fulltext = html_optimize($item->fulltext);
если 314 строку внести в условие яндекса, ошибка пропадает
if(isset($yes_yandex)) {
// yandex export
$item->fulltext = $row->fulltext?$row->introtext.$row->fulltext:$row->introtext;
$item->fulltext = htmlspecialchars(strip_tags($item->fulltext));
$item->fulltext = str_replace("'","'",$item->fulltext);
$item->fulltext = preg_replace('/{mosimage\s*.*?}/iu','',$item->fulltext);
if($row->images) {
$item->images = array();
$row->images = explode("\n",$row->images);
foreach($row->images as $img) {
$img = trim($img);
if($img) {
$temp = explode('|',trim($img));
$item->images[] = '/images/stories/'.$temp[0];
}
}
}
// yandex export
$item->fulltext = html_optimize($item->fulltext);
}