Magento | naveenOS https://www.naveenos.com How may I help you - Magento Certified Developer Wed, 20 Apr 2022 15:16:21 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 Magento2 Admin login not working https://www.naveenos.com/2021/11/magento2-admin-login-not-working https://www.naveenos.com/2021/11/magento2-admin-login-not-working#respond Sat, 13 Nov 2021 11:05:00 +0000 https://www.naveenos.com/?p=1034 Generally we faced one issue on creating a clone of our any production site or staging server. The issue is that after setup the project, we are unable to login to admin while we entering the correct username and password. To fix this issue, follow the step: Go to PhpMyadmin Open table core_config_data Run this […]

The post Magento2 Admin login not working first appeared on naveenOS.]]>
https://www.naveenos.com/2021/11/magento2-admin-login-not-working/feed 0
Install Latest or Old version of Magento2 via Composer https://www.naveenos.com/2020/12/install-latest-or-old-version-of-magento2-via-composer https://www.naveenos.com/2020/12/install-latest-or-old-version-of-magento2-via-composer#respond Wed, 23 Dec 2020 09:37:31 +0000 https://www.naveenos.com/?p=600 To get the Magento metapackage: Log in to your Magento server or localhost path where you would like to install the Magento. Make sure you have proper permissions to use that folder. Change to the web server docroot directory or a directory that you have configured as a virtual host docroot. Create a new Composer […]

The post Install Latest or Old version of Magento2 via Composer first appeared on naveenOS.]]>
https://www.naveenos.com/2020/12/install-latest-or-old-version-of-magento2-via-composer/feed 0
Magento2 Wrong create options MYSQL Error https://www.naveenos.com/2019/10/magento2-wrong-create-options-mysql-error https://www.naveenos.com/2019/10/magento2-wrong-create-options-mysql-error#respond Thu, 17 Oct 2019 17:55:36 +0000 https://www.naveenos.com/?p=960 On transferring a Magento website Database running on MySQL 5.7.34 to MariaDB 10.2.39, I get the following error: SQL Strict mode was already off on this MySQL server. To fix the problem, edited the db.sql file, added below line at the top of the file. After this change, the restore worked without any error. Tweet […]

The post Magento2 Wrong create options MYSQL Error first appeared on naveenOS.]]>
https://www.naveenos.com/2019/10/magento2-wrong-create-options-mysql-error/feed 0
Magento2 Folder and Files Permissions https://www.naveenos.com/2017/06/magento2-folder-and-files-permissions https://www.naveenos.com/2017/06/magento2-folder-and-files-permissions#respond Wed, 21 Jun 2017 17:59:40 +0000 https://www.naveenos.com/?p=962 We all are developers and generally we do mistake in files and folders permission. It might be intentionally to fix any issue or by mistake. But how to fix the permissions back when it happened. Just go to your Magento setup root folder and run these all commands: Tweet This Post

The post Magento2 Folder and Files Permissions first appeared on naveenOS.]]>
https://www.naveenos.com/2017/06/magento2-folder-and-files-permissions/feed 0
Magenta Connect – Access is locked. Please try again in a few minutes https://www.naveenos.com/2017/03/magenta-connect-access-locked-please-try-minutes https://www.naveenos.com/2017/03/magenta-connect-access-locked-please-try-minutes#respond Sat, 11 Mar 2017 14:33:44 +0000 http://www.naveenos.com/?p=574 Getting error on Magento connect manager “Access is locked. Please try again in a few minutes.” Go to var/ folder and open file /var/brute-force.ini Change the following two first lines to: brute-force-bad-attempts-count = 0 brute-force-diff-time-to-attempt = 180 and remove all other lines and Save. Tweet This Post

The post Magenta Connect – Access is locked. Please try again in a few minutes first appeared on naveenOS.]]>
https://www.naveenos.com/2017/03/magenta-connect-access-locked-please-try-minutes/feed 0
How to programmatically add shipment with a tracking number to any order : PART II https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-ii https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-ii#comments Tue, 15 May 2012 06:45:58 +0000 http://www.naveenos.com/?p=514 In my previous post [How to programmatically add shipment with a tracking number to any order : PART I], you found that how can we generate shipment for an order programmatically. Here we are going to learn next step to add tracking number with generated shipment. We are assuming that you are going to use […]

The post How to programmatically add shipment with a tracking number to any order : PART II first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-ii/feed 1
How to programmatically add shipment with a tracking number to any order : PART I https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-i https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-i#respond Tue, 15 May 2012 06:30:27 +0000 http://www.naveenos.com/?p=509 We are assuming that we have an order incremented id. and we want to make shipment for this order. Here also we are assuming that invoice has been generated for order already. so we are going to generate only shipment. $orderId = '1000001'; $order = Mage::getModel('sales/order')->loadByIncrementId($orderId); Here we are checking the current status of order […]

The post How to programmatically add shipment with a tracking number to any order : PART I first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-programmatically-add-shipment-with-a-tracking-number-to-any-order-part-i/feed 0
How to get ordered Items and their detail for an order ID in Magento? https://www.naveenos.com/2012/05/how-to-get-ordered-items-and-their-detail-for-an-order-id-in-magento https://www.naveenos.com/2012/05/how-to-get-ordered-items-and-their-detail-for-an-order-id-in-magento#respond Thu, 10 May 2012 09:34:21 +0000 http://www.naveenos.com/?p=505 I tried to wrote this code when I was working on a cron file for all orders. My client wants a cron file that get all orders information including all ordered item and their detail. First, I searched on google but I didn’t found any exact solution then I tried below code: By below code […]

The post How to get ordered Items and their detail for an order ID in Magento? first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-get-ordered-items-and-their-detail-for-an-order-id-in-magento/feed 0
How to add custom layout template in Magento https://www.naveenos.com/2012/05/how-to-add-custom-layout-template-in-magento https://www.naveenos.com/2012/05/how-to-add-custom-layout-template-in-magento#respond Thu, 10 May 2012 08:14:17 +0000 http://www.naveenos.com/?p=500 Magento provides following types of page layout in default. 1column, 2columns-left, 2columns-right, 3columns, empty, and print. But sometimes we need to change design in layout and we do not want to affect on other pages. For example, we want to use different layout for all static pages. and we want to use 2columns-left layout style […]

The post How to add custom layout template in Magento first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/how-to-add-custom-layout-template-in-magento/feed 0
Magento: How to merge multiple fields in a colum in Magento admin panel grid? https://www.naveenos.com/2012/05/magento-how-to-merge-multiple-fields-in-a-colum-in-magento-admin-panel-grid https://www.naveenos.com/2012/05/magento-how-to-merge-multiple-fields-in-a-colum-in-magento-admin-panel-grid#comments Thu, 03 May 2012 07:48:36 +0000 http://www.naveenos.com/?p=491 Magento provides lot of inbuild functionalities. Using “protected function _prepareColumns()” function we can create or add new column to the grid. Like: protected function _prepareColumns() { $this->addColumn('first_name', array( 'header' => Mage::helper('custommodule')->__('First Name'), 'align' => 'left', 'width' => '50px', 'index' => 'first_name', )); $this->addColumn('last_name', array( 'header' => Mage::helper('custommodule')->__('Last Name'), 'align' => 'left', 'width' => '50px', 'index' […]

The post Magento: How to merge multiple fields in a colum in Magento admin panel grid? first appeared on naveenOS.]]>
https://www.naveenos.com/2012/05/magento-how-to-merge-multiple-fields-in-a-colum-in-magento-admin-panel-grid/feed 1