Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem after migrating Magento
    primarykey
    data
    text
    <p>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.</p> <p>On the production server, our Magento is configured to run without displaying the <code>index.php</code>, but after attempting a migration to my local server, the <code>index.php</code> is required to access any links. Additionally, when I select a category to visit (for example), I am directed to <code>http://localhost/category.html</code> instead of <code>http://localhost/my-magento-store.com/index.php/category.html</code></p> <p>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.</p> <p>I am running a MAMP stack on the local server, and here is what I have done:</p> <ol> <li>Created a tar of the entire production server</li> <li>Created a database backup in Magento <code>System &gt; Tools &gt; Backups</code></li> <li>Downloaded and extracted tar into local directory</li> <li>Imported database dump into local MySQL using Alexey Ozerov's <a href="http://www.ozerov.de/bigdump.php" rel="nofollow">big dump</a> script. (The .sql file is 1.3m lines)</li> <li>Changed values of <code>web/unsecure/base_url</code> and <code>web/secure/base_url</code> in <code>core_config_data</code> table. (As I don't have a self-signed SSL cert, I put <code>http://localhost:8888/my-magento-store/</code> for both values)</li> <li>Dumped contents of <code>var/cache</code> and <code>var/sesson</code></li> <li>Changed permissions to 755 for all files on local dev server</li> <li>Navigated to <code>http://localhost:8888/my-magento-store/</code> but got the "Index of /" page instead.</li> <li>Navigated to <code>http://localhost:8888/my-magento-store/index.php</code> and got an error.</li> <li>Followed <a href="http://blog.chapagain.com.np/magento-error-%E2%80%93-notice-undefined-index-0-appcodecoremagecoremodelmysql4config-php-on-line-92/" rel="nofollow">these steps</a> to solve the error, reloaded the page, and the home page loaded correctly.</li> </ol> <p>Any ideas?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload