Hello
I have a problem in magento shop
When I turn on logging my [login to view URL] file logs 2 problems
and it will not stop.
He keeps logging the same 2 problem over and over again, whithout any delay
This errors will be logged into var / log / [login to view URL] very fast, causing my server to overload.....
So I manually stopped logging now
problem 1)
2012-01-11T11:51:30+00:00 ERR (3): Notice: Undefined index: title in /home/knr182d05/domains/[login to view URL] on line 126
2012-01-11T11:51:30+00:00 ERR (3): Notice: Undefined index: title in /home/knr182d05/domains/[login to view URL] on line 126
2012-01-11T11:51:30+00:00 ERR (3): Notice: Undefined index: title in /home/knr182d05/domains/[login to view URL] on line 126
2012-01-11T11:51:30+00:00 ERR (3): Notice: Undefined index: title in /home/knr182d05/domains/[login to view URL] on line 126
When looking at code:
public function getIntervals()
{
on line 126 we have:
$this->_intervals[$t['title']] = $t;
I think "title" is not declared / or not initialized ????
This must be investigeated and fixed.
Problem 2)
In my Magento Error log I see following notice:
2012-01-11T10:44:29+00:00 ERR (3): Notice: Undefined index: link in /home/knr182d05/domains/[login to view URL] on line 263
In file app code local Mage Catalog Block Product [login to view URL] there is a problem
Here below you see the function where the error occurs see line: ( <<<<--------------- )
I outcommented this line and put a dummy fix there
I think "link" is not declared / or not initialized ????
This must be investigeated and fixed.
public function getBreadCrumb()
{
$breadcrumbBlock = $this->getLayout()->getBlock("catalog_breadcrumbs");
$html ='';
if($breadcrumbBlock) {
$path = Mage::helper('catalog')->getBreadCrumbPath();
$html .= '<ul class="breadcrumbs-product">';
foreach ($path as $name => $breadcrumb) {
$label = $breadcrumb['label'];
//$link = $breadcrumb['link']; // <<<<---------------
$link = "[login to view URL]";
if($link != '') {
$html .= '<li>
<a href="'.$link.'" title="'.$label.'">'.$label.'</a>
<span class="seperator"> - </span>
</li>';
} else {
$html .= '<li><strong>'.$label.'</strong></li>';
}
}
$html .= '</ul>';
}
return $html;
}
FTP details will be send after project agreement.
Kind regards
John
Just check PMB for more details. click to the attachment here our best projects I have linked. We are having 7 years experience development. Please check PMB.