Tags » Magento

Magento: PHP Extensions “zlib” must be loaded

Go to downloader/lib/Mage/Archive/Helper/File/ in your Magento directory

and edit the Gz.php file. You need to replace:

if (!function_exists('gzopen')) {


if (!function_exists('gzopen64')) {

and also: 24 more words


Magento: Clear magento cache and log table

Step1 : Create a new file called cleanup.php in your magento root folder and add the following code to it:

switch($_GET['clean']) {
    case 'log':
    case 'var':

function clean_log_tables() {
    $xml = simplexml_load_file('./app/etc/local.xml', NULL, LIBXML_NOCDATA);

    if(is_object($xml)) {
        $db['host'] = $xml->global->resources->default_setup->connection->host;
        $db['name'] = $xml->global->resources->default_setup->connection->dbname;
        $db['user'] = $xml->global->resources->default_setup->connection->username;
        $db['pass'] = $xml->global->resources->default_setup->connection->password;
        $db['pref'] = $xml->global->resources->db->table_prefix;

        $tables = array(

        mysql_connect($db['host'], $db['user'], $db['pass']) or die(mysql_error());
        mysql_select_db($db['name']) or die(mysql_error());

        foreach($tables as $table) {
            @mysql_query('TRUNCATE `'.$db['pref'].$table.'`');
        echo "Log Cleared SuccessFully";
    } else {
        exit('Unable to load local.xml file');

function clean_var_directory() {
    $dirs = array(

    foreach($dirs as $dir) {
        exec('rm -rf '.$dir);
    echo "Cache Cleared SuccessFully";
… 28 more words

Caution: Vulnerabilities Your Magento Site Is Prone To

E-commerce and websites that deal with finance top the list of prying eyes of malicious users as they eye on the monetary transactions taking palace. Though we know that Magento is a popular e-commerce platform and big business brands even use it for their business worldwide, still Magento sites are quite vulnerable. 593 more words


Magento Development Administration

Presently, store proprietors having numerous e-business stores in light of Magento stage can deal with their diverse stores taking into account distinctive districts and clients through a solitary stage. 63 more words


How to Install Magento 2.0 and Developing an online store

Magento has released the most awaited E-commerce platform in November 2015, Magento 2.0. It is being considered as a revolutionary release of an existing and popular platform. 357 more words


Hide Shipping & Payment method on front end but show on admin panel

Hello Guys,

After a lots of days i am writing article to hide payment and shipping method on front end but visible on admin panel. 332 more words