Zend Anwar

Full stack web developer

Author: admin

Magento Error: Item (Mage_Core_Model_Store) with the same id “0” already exist

There can be multiple rows inserted with the same value in tables core_store, core_website and core_store_group. You have to delete such duplicate rows from core_store, core_website and core_store_group table. That is, if you have three rows with same value then remove the two duplicate rows. Refresh Cache from System -> Cache Management.

Read More

‘python’ is not recognized as an internal or external command

It’s very simple, just modify python install. just follow image.

Read More

Fatal error: Allowed memory size of 134217728 bytes exhausted in WP

it’s a memory issue on server side. you should check your php max memory limit on your hosting. ask your hosting provider to increase it if you can’t do it manually yourself

Read More

How to check OS and version using a Linux ?

For debian based system cat /etc/*_version or for a Red Hat based system cat /etc/*-release

Read More

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