Posted in by Tudipat 06:06Comments Off on Magento Common Problems
24 June 2016
There are a bunch of problems that we face while moving Magento from 1 server to another server. This article lists all the issues that we faced till date and their solutions:
The most common one is you moved sites from your development machine to deployment server and it does not work. In order to fix it:
First, go to app/etc/local.xml and change the DB settings.
Open table core_config_data and change values against web/unsecure/base_url and web/secure/base_url. If you are giving values like www.mymagentosite.com/ make sure you do not miss that /
Remove contents of var folder as it is relevant to your dev instance and not the production instance.
Change Admin password as you forgot what password you gave at the time of installation. Run this command and you can change it:
UPDATE admin_user SET password=CONCAT(MD5('qXbond123'), ':qX') WHERE username='admin'; // here bond123 is password and admin is the username
You see this message and do not know where the error is “There has been an error processing your request” error.
Go to errors folder and rename local.xml.sample to local.xml and now you would be able to see the errors.
Every once in a while you come across this error “SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine”.
Most likely you are running out of disk space on this machine (shared hosting?). Clean up the unused files/DBs and you should be fine.
The DB dump is way too big and you are sure what you can remove while moving the DB. Here are a few tables that you should truncate right away:
While installing the plugins you have given write permission to the complete folder and now you want to reset the permissions as they were earlier. There is this brilliant Magento clean up tool that you can use. Follow these steps:
Extract and move it to your mageno installation’s root folder as magento-cleanup.php
Hit <Your Installation Path>/magento-cleanup.php from browser and it would reset the permissions right.
We are sure that this is not the end of the problems with Magento. We will keep updating this article with new findings. In the meantime, if you come across any other problem that is not covered here, please leave a comment and we can help you.
There is this very annoying problem in the Magento on Chrome, 1) admin login does not work and 2) add to cart does not work. To fix both the problems, comment last 3 codes of the code block:
All content provided on this blog is for informational purposes only. Tudip Technologies provides no endorsement and makes no representations as to accuracy, reliability, completeness, suitability or validity of any information or content on, distributed through or linked, downloaded or accessed from this site. Tudip Technologies will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use of the information on this site. All information is provided on an as-is basis without any obligation to make improvements or to correct errors or omissions. This site may contain links to other websites. Tudip Technologies makes no guarantees or promises regarding these websites and does not necessarily endorse or approve of their content. You may not modify any part of the blog. The inclusion of any part of this blog in another work, whether in printed or electronic or other form, or inclusion of any part of the blog in another website by linking, framing or otherwise without the express permission of Tudip Technologies is prohibited. This site may not be used for any illegal or illicit purpose and Tudip Technologies reserves the right, at its sole discretion and without notice of any kind, to remove anything posted to this site. By using this site, you hereby acknowledge that any reliance upon any materials shall be at your sole risk.