Servage Magazine

Information about YOUR hosting company – where we give you a clear picture of what we think and do!

Handling common Magento problems

Monday, June 10th, 2013 by Servage

Today Magento is an unbeatable e-commerce solution to meet the requirements of the modern age. Therefore, avoiding Magento is a sin for PHP web developer, for newbie in particular. In due course, I have initiated this post to get accustomed with Magento and its common issues for both, Magento developer and admin.

For New Domain

If you have, old store and running with constantly updated products there are more chances that you think about some new and cloying domain name. Once you obtain your desired one, it is likely you will consult your e-commerce web developer and expect to migrate from old to new.

Now, what your web programmer will do. She will go to your Magento cPanel and will open up phpMyAdmin where she will select the database of your Magento store and will find out core_config_data and will click on it to edit further.

Here e-commerce store programmer has to edit two fields in the table:



In order to edit these fields you have to click on the pen icon and replace your old domain name with new one without touching anything else. Once replacement finished, push the Go button to save new changes.

If you think that your job is over, but that is not true because there is a Magento cache, which hold the old data in it and will create conflicts when propagated. Therefore, you need to clear the cache and this cache folder is located in the Magento installation directory as /var/cache. Here you have to do nothing, but simply delete that folder.

If you ask any seasoned Magento developer about this cache folder, she will immediately respond you that the most of Magento related issues are arising due to this cache folder. Thus, it is better you delete it this time again.

Admin Password

However, Magento offer password settings for other members allocated by admin, but if you need to change admin’s password you have to go for coding, not through interface or modules only. Now, you have to log-in to cPanel and go to phpMyAdmin where again select the database and push the SQL tab/button. Here you need to write password change query where you have to replace newpass with your new password and replace AdminUsername with your admin user name for Magento.

That query is:

UPDATE admin_user SET password=CONCAT(MD5('sGnewpass'), ':sG') WHERE username='AdminUsername';

Performance Issues

Today page load and interaction speed like performance parameters are greatly affecting the user experiences. Google search engine and people by-and-large consider these performance issues with enough sensitivity. In due course, Magento programmers have to take some steps at her side and Magento visual designer has to take some.

For visual designer the image optimization is the biggest one to speed up loading process and reduce the burden over processors of the devices. At programmer side, many things need attention and Compilation function is the major one. If you want to enable compilation function through Magento admin panel, you have to go to system tab and go to tools where you will find the field for compilation. Simply enable that and done!

It is true that coding patterns and practices again are affecting the performance of the Magento store directly or indirectly. Therefore, always do coding standard ways and use compact coding practices with enough commenting so your coding will be comprehensive for other developers in case of emergency.


Handling common Magento problems, 4.5 out of 5 based on 2 ratings
Categories: Business, Tips & Tricks

Keywords: ,

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet (leave a comment)

You are welcome to initiate a conversation about this blog entry.

Leave a comment

You must be logged in to post a comment.