Call to undefined method Mage_Admin_Model_Observer::actionPostDispatchAdmin()
I upgraded Magento to 1.4.0.0 to 1.4.0.1 and got the following error: Call to undefined method Mage_Admin_Model_Observer::actionPostDispatchAdmin() Everything inside /var/sessions/ and /var/cache and (if it exists) /app/code/core/Zend/Cache/ must be deleted.
toolbar.phtml -> Magento 1.4 error
Came across this error in toolbar.phtml for Magento 1.4: Warning: Invalid argument suppplied for foreach() line 51. Fix is available from here (this is only a fix, it doesn’t solve the problem – The paging is removed). References: http://www.sonassi.com/knowledge-base/magento-1-4-install-errors/
Enabling Sales Order Notification in Magento
Very helpful post there that enables sales order notifications to the shop admin email address. Dont’s use the Bcc option System Configuration -> Sales menu, you have to send a copy of the email to another email address. References: http://nik.chankov.net/2009/10/28/adding-notification-when-new-order-arrives-magento/
Bluehost wont allow gmail SMTP connections
According to bluehost, you cannot send emails through SMTP connections from web applications hosted on bluehost. They only allow sending through their own SMTP servers. The problem I had was trying to send emails in Magento using GMAIL (Google Apps) using the code from this forum: http://www.magentocommerce.com/boards/viewthread/1073/ The work around is that I setup a [...]
JFactory::getDate() doesn’t automatically add offset
By default, calling JFactory::getDate() doesn’t automatically apply the timezone offset. The default date/time is GMT. By using the following code, you can set the offset from the global joomla configuration file <?php $thisJApp = &JFactory::getApplication(); $thisJDate = JFactory::getDate(); $thisJDate ->setOffset($thisJApp ->getCfg(‘offset’)); echo $thisJDate->toFormat(“%A %d %b %Y”); ?> If you want to set the date from [...]
Blocking IP Addresses on Linux Server
Had some suspect IP addresses trying to attempt to login via the admin user in Moodle. Best thing to do is block the IP address to the server or even better the IP range (after doing a IP lookup to see where the IP address came from). References: http://www.cyberciti.biz/faq/how-do-i-block-an-ip-on-my-linux-server/
SimplePie Joomla Proxy Issue
The issue I had with a particular joomla site is that I could not load external RSS feeds. The error was “Could not connect to {server}”. RSS Feed load failed. This was caused in the SimplePie.php class around line 6601. Steps to resolve: I enabled the cUrl extension in php.ini (running on a IIS platform) [...]
broken ubuntu gutsy sources.list
Attempting to update my repository on our Ubuntu VPS running the gutsy 7.10 version…I noticed that I was getting 404 ERRORs caused by the distribution being moved from its normal place within the mirrors. deb http://old-releases.ubuntu.com/ubuntu gutsy main restricted universe multiverse replace all the URL’s with http://old-releases.ubuntu.com you should now be able to update your [...]
A CMS that integrates into ASP.NET MVC
Here is a open source CMS called N2 that provides a CMS framework to build web applications on using the ASP.NET MVC Model. Its a very basic CMS, but it provides all the core functionality including Pages, Articles and a .NET Permissions Model (it also has some add ons and allows developers to contribute their [...]
Considerations for implementing a Content Management System into your organisation
The abbreviation CMS is becoming very popular among organisations and the open source community. There is a huge range of CMS’s available through open source initiatives and in the commercial sector that have a range of different features and modules. If you are considering implementing a CMS into your organisation, consider these three key areas [...]


