Posts

Showing posts with the label Magento

Magento Help Files and Extension

Turn on the template path hints for frontend & backend by using this extension :-   Easy Template Path Hints (For below Magento Version 2.x) download me   Learning Magento Version 1.8,1.9 Version PDF :-     Magento- Beginner's Guide, 2nd Edition.pdf   download me  ,  Getting Started with Magento Extension Development.pdf   download me Learn Magento Version 2.0 PDF :-     Magento 2 Development Essentials 2016 .pdf   download me

Magento 2 images,logo,font awesome,CSS and JavaScript not loading

Image
I was facing this  problem when I install Magento version 2. there solution is so simple 1. Open DOS Command Prompt from Xampp Control Panel. Now Type this command:- cd htdocs/ (your folder name) PRESS ENTER php bin/magento setup:static-content:deploy PRESS ENTER 2.  Or We can try this second way. We have to delete caches and sessions of Magento version 2. Go to following paths and delete everything: ROOT > var > cache > *DELETE ALL* ROOT > var > page_cache > *DELETE ALL* ROOT > var > session > *DELETE ALL* When Magento 2 is not in production mode, it will try to create symlinks for some static resources on local server. We have to change that behavior of Magento 2 by going to edit  ROOT > app > etc > di.xml  file. Open up  di.xml  in your favorite code editor, find the  virtualType name="developerMaterialization"  section. In that section below, you will find an item  <item name="view_preprocessed" xsi:type=

Magento can't login in admin with right username and password in localhost

If you are having trouble to get logged in with the correct username and password, here are some ideas. If you have used google chrome to install magento, use firefox to open magento and edit the app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory and comment those below lines $cookieParams = array ( 'lifetime' => $cookie -> getLifetime (), 'path' => $cookie -> getPath () // 'domain' => $cookie->getConfigDomain(), // 'secure' => $cookie->isSecure(), // 'httponly' => $cookie->getHttponly() ); And use your credentials to log in. I hope this works for you!!!