Magento : Undefined index after restore/moving site
If you have encountered an error like "Notice: Undefined index: 0 in .../app/code/core/Mage/Core/Model/Mysql4/Config.php on line 92" after moving a Magento installation or, like me, after restored a mySQL dump, here's my solution.
I used it much times and tested on 1.3.x and 1.4.x < 1.4.2
Magento 1.4.2.0 available
Magento CE Version 1.4.2.0 Stable is available for download and upgrade.
Magento – Actives CMS pages dynamic menu
Here's a little snippet to help you to build a dynamic menu listing the actives CMS pages from Magento.
-
<div>
-
<?php $collection = Mage::getModel('cms/page')->getCollection()->addStoreFilter(Mage::app()->getStore()->getId());?>
-
<?php $collection->getSelect()
-
->where('is_active = 1'); ?>
-
<ul>
-
<?php foreach ($collection as $page): ?>
-
<?php $PageData = $page->getData(); ?>
-
<?php if($PageData['identifier']!='no-route') { ?>
-
<li>
-
<a href="/<?php echo $PageData['identifier']?>"><?php echo $PageData['title'] ?></a>
-
</li>
-
<?php } ?>
-
<?php endforeach; ?>
-
</ul></div>
Magento Open House
The Magento team is pleased to invite 100 community members to the Magento's Headquarters in Culver City. The Open House will future lot of cool things like a Deejay, drinks, food and more.
The event's date is :
Thursday, November 18, 2010 - From 6h30 to 22h30 (PT) in Culver City, CA
There are only 100 spots available, so reserve your ticket here.
Source : Magento's Blog
Jirafe, a free realtime analytics for Magento
The leading extension developer Kristof Ringleff, known as Fooman to his large number of extension users, is releasing an exciting new free service called Jirafe. Jirafe provide a free realtime monitoring system for your Magento shops.
