Magento 1 Password Reset

To reset the password for the admin user in Magento 1 installation, go to phpMyAdmin, run the following SQL command. UPDATE admin_user SET `password` = CONCAT(MD5(‘xxPASSOWRD_HERE’), ‘:xx’) WHERE `username` = ‘admin’; In the above SQL command, replace PASSOWRD_HERE with your new password. If you don’t know Magento backend URL, you can find it in file … Read more

Magento 2 Unable to proceed: the maintenance mode is enabled

Magento

When i visit a Magento 2 site, i get error 1 exception(s): Exception #0 (Exception): Unable to proceed: the maintenance mode is enabled. Exception #0 (Exception): Unable to proceed: the maintenance mode is enabled. #1 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#000000003459ecdd0000000028ca744b#) called at [index.php:39] To fix this, login to the server using SSH, run following command. php bin/magento maintenance:disable This … Read more

Install Elasticsearch 7 on Ubuntu for Magento 2.3

To install Elasticsearch, add the key Install apt-transport-https Add apt repository install elasticsearch with apt Set elasticsearch to start on boot Elasticsearch can be started and stopped as follows: Verify Elasticsearch is running with or with if it fails to start, you can debug it with Official install instructions at https://www.elastic.co/guide/en/elasticsearch/reference/8.3/deb.html See elasticsearch

Magento 2 Disable Two-Factor Authentication

Magento 2.4.0 come with Two-Factor authentication. Once you installed Magento 2.4.0 or latest you will be asked to setup Two-Factor Autentication. To Disable Two-Factor Authentication, edit file vi app/etc/config.php Find ‘Magento_TwoFactorAuth’ => 1, Replace with ‘Magento_TwoFactorAuth’ => 0, Run commands php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f Now you will be able to login to … Read more

Magento 2

Magento 2 list enabled modules Magento 2 Enable SSL Magento 2 CLI Magento 2 Disable Two-Factor Authentication Magento 2 Change Email of an Admin user Set Magento 2 in Production Mode

Magento 2 list enabled modules

To list Modules in Magento 2, run php bin/magento module:status Example [markt-24@server public_html]$ php bin/magento module:status List of enabled modules: Magento_AdminAnalytics Magento_Store Magento_AdobeIms Magento_AdobeImsApi Magento_AdobeStockAdminUi Magento_MediaGallery Magento_AdobeStockAssetApi Magento_AdobeStockClient Magento_AdobeStockClientApi Magento_AdobeStockImage Magento_Directory Magento_AdobeStockImageApi Magento_AdvancedPricingImportExport Magento_Theme Magento_Amqp Magento_AmqpStore Magento_Config Magento_Backend Magento_Authorization Magento_Search Magento_Backup Magento_Eav Magento_Variable Magento_BundleImportExport Magento_CacheInvalidate Magento_Customer Magento_AdminNotification Magento_Indexer Magento_Security Magento_GraphQl Magento_EavGraphQl Magento_Cms Magento_CatalogImportExport Magento_Catalog Magento_CatalogInventory … Read more

Magento Change URL

Magento

Magento store website URL in table core_config_data. This is the same for Magento 1 and Magento 2. To see the current URL, in phpMyAdmin or MySQL command line, run Normally this shows 2 entries. If it shows more than 2 entries, it is because you have more store configured in your Magento installation. In such … Read more

Magento 1 Command Line Tool

Magento

Magento 2 comes with command line tool to manage magento installation. This help you to do many tasks like clearning cache, install extension easier. Magento 1 CLI is available from https://github.com/netz98/n98-magerun To install Magento 1 command line tool, go to Magento install folder and run wget https://files.magerun.net/n98-magerun.phar chmod +x ./n98-magerun.phar Now you will be able … Read more

Enable SSL in Magento 1.9

To enable SSL in Magento, go to System > Configuration Click on “Web” link on left menu. On this page, set Auto-redirect to Base URL to No. Under “Unsecure” option, change the URL to use HTTPS. Under “Secure” option, set “https” for Base URL. Set “Yes” for both “Use Secure URLs in Frontend” and “Use … Read more

Change Magento 1.9 admin URL

To change Magento admin URL, login to Magento Admin area. Go to System > Configuration On next page, from side menu, click on Admin menu. On next page Use Custom Admin Path = Yes Custom Admin Path = okadmin Replace “okadmin” with whatever folder name you need for your magento admin area. Click “Save Config” … Read more