Magento News
Problems after migrating Magento to local server
by Jason_BLC (Posted Fri, 08 Oct 2010 22:26:46 GMT)
I am trying to create an exact mirror of a Magento production server on my local server for further development, but I have run into a few issues.
On the production server, our Magento is configured to run without displaying the index.php, but after attempting a migration to my local server, the index.php is required to access any links. Additionally, when I select a category to visit (for example), I am directed to http://localhost:8888/category.html instead of http://localhost:8888/my-magento-store.com/index.php/category.html
The other issue I’ve noticed is that I am unable to log in to the admin section. After entering the correct login credentials, I am redirected to the login screen again without any error messages.
I am running a MAMP stack on the local server, and here is what I have done:
1. Created a tar of the entire production server
2. Created a database backup in Magento System > Tools > Backups
3. Downloaded and extracted tar into local directory
4. Imported database dump into local MySQL using Alexey Ozerov’s Big Dump script. (My .sql file is 1.3m lines)
5. Changed values of web/unsecure/base_url and web/secure/base_url in core_config_data table. (As I don’t have a self-signed SSL cert, I put http://localhost:8888/my-magento-store/ for both values)
6. Dumped contents of var/cache and var/sesson
7. Changed permissions to 755 for all files on local dev server
8. Navigated to http://localhost:8888/my-magento-store/ but got the “Index of /” page instead.
9. Navigated to http://localhost:8888/my-magento-store/index.php and the home page loaded correctly.
Any ideas?
http://magento-forum.co.uk/viewtopic.php?f=5&t=451#p1609
Possibly Related Posts:
- Hiring #Magento #Developers at #Ahmedabad location. http://t.co/O5PmfSqi #Magento #PHP #Mysql #Jobs #Ahmedabad
- わかってるよ………… あんたの「鉄球」はツェペリの一族のより上の技術があるんだろ? 安心してるよ
- Magento Upgrade by blugreen http://t.co/ZyH6G2MO #jobs #Freelance
- Looking for #Zend #Developers at #Ahmedabad location. http://t.co/O5PmfSqi #Magento #PHP #Mysql #Jobs #Ahmedabad
- Looking for #Zend #Developers at #Ahmedabad location. http://t.co/xDkodbp4 #Magento #PHP #Mysql #Jobs #Ahmedabad
RSS Feed