Zend Anwar

Full stack web developer

Author: admin

Magento 1.9.2 puts url in search field

This is problem occurred due to server miss-configuration. vhost.conf file location / { try_files $uri $uri/ /index.php?q=$uri&$args; } Removed ‘$uri’ and it looks like location / { try_files $uri $uri/ /index.php?$args; }

Read More

dbModel read resource does not implement Zend_Db_Adapter_Abstract

It is very simple just clear the cache /var/cache/folder

Read More

Magento search result with full breadcumb

It is very simple. Just alter with following code, file location /your_theme/template/page/html/breadcrumbs.phtml <?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at […]

Read More

image corrupt or truncated

It’s very simple, Your image may be corrupted. Please remove your previous image & upload new one.  

Read More

Could not open input file – artisan in laravel installation

F:\xampp\htdocs>php artisan serve Could not open input file: artisan It’s very simple. You are trying from root. Just go to your project with following command F:\xampp\htdocs>cd laravel then try F:\xampp\htdocs\laravel>php artisan server F:\xampp\htdocs\laravel>php artisan serve Laravel development server started on http://localhost:8000/  

Read More

Magento Dirty COW Linux OS Vulnerability

Dirty COW (CVE-2016-5195) is a privilege escalation vulnerability in the Linux Kernel that can allow a local user (like a web hosting account) to gain root access to the server. This can also be a huge problem if your Magento store is compromised and the attacker has the ability to upload files to your server or […]

Read More

Magento product delete from CSV

<?php ini_set(‘memory_limit’, ‘2048M’); ini_set(‘max_execution_time’, 180000); require_once ‘../app/Mage.php’; Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); Mage::init(); //echo “TTT”; $app = Mage::app(‘default’); Mage::register(‘isSecureArea’, 1); $row = 0; if (($handle = fopen(“delete.csv”, “r”)) !== FALSE) { while (($data = fgetcsv($handle, 1000, “,”)) !== FALSE) { echo ‘Importing product: ‘.$data[0].'<br />’; foreach($data as $d) { echo $d.'<br />’; } $row++; if($row == 1) continue; // […]

Read More

Can’t retrieve entity config: zeon_manufacturer/eav_attribute_option_value

It has a very simple solution app/code/community/Zeon/Manufacturer/Model/Mysql4/Manufacturer/Collection.php need to replace the code array(‘manufacturer_name_table’ => $this->getTable(‘eav_attribute_option_value’)), replace with array(‘manufacturer_name_table’ => $this->getTable(‘eav/eav_attribute_option_value’)), Hope it will work. CAIDA Directory

Read More

What is Composer

Composer is a new standard for the management of PHP packages and libraries. Basically is used to manage the libraries on which the project depends. Composer like so: Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project and it will manage install/update. Enables you to declare […]

Read More

What is LDAP?

LDAP is a Lightweight Directory Access Protocol. A directory contains objects; generally those related to users, groups, computers, printers.LDAP gives you query methods to add, update and remove objects within a directory.LDAP is also used to store your credentials in a network security system and retrieve it with your password and decrypted key giving you […]

Read More