Magenta problems and solutions

Problem with Magento Installation on mac:

cd <path to your installation>
chmod -R 777 app/etc
chmod -R 777 var
chmod -R 777 media

InnoDB issue solution:
app/code/local/Company/InstallBugfix/Model/Installer/Db/Mysql4.php:
public function supportEngine()
    {
        $supportsEngine = parent::supportEngine();
        if ($supportsEngine) {
            return true;
        }
        $variables = $this
                     ->_getConnection()
                     ->fetchPairs('SHOW ENGINES');
        return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
    }

 

 

 

URL related issues

Magento – get directory paths, get Base URLs, get URLs in static block, get secure URL