rss
twitter
    Find out what I'm doing, Follow Me :)

Saturday, February 13, 2010

Pin It

Widgets

Fix for Magento Backup Error

 If you see this error:

    Warning: Invalid argument supplied for foreach() in /home/USERNAME/domains/DOMAINNAME/public_html/MAGENTOLOCATION/lib/Varien/Data/Collection/Filesystem.php on line 234

    - go to line 234 on file : lib/Varien/Data/Collection/Filesystem.php
    - change this line :

    foreach (glob($folder . DIRECTORY_SEPARATOR . ‘*’) as $node) {

    with this :

    foreach ((array)glob($folder . DIRECTORY_SEPARATOR . ‘*’) as $node) {

    Note : this problem has been detected on version 1.3.2.2


Source : http://www.simplehelix.com/blog/2009/07/magento-backup-error/

No comments:

Post a Comment