I am trying to move a magento plateform from a domain to another (in a sub folder). To do that, i referred to this tutorial: http://www.templatemonster.com/help/magento-how-to-move-your-website-from-one-domain-to-another.html
I think i succeed to change url modifications and database connexions because the first time i try to go the le site, the homepage worked well.
Unfortunately, then i notice when i reload this homepage i get an 500 error: Internal Server Error...
First i thought about a permission error. So i double checked the permission and i tried the magento-cleanup.php script: http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions
I think it reset well file permissions because just after this script finished, i was able to go to the home again. But on reload the same error come back and i have to redo the process (error > script > work > reload > error).
For information, i have configure memory_limit to 128M.
Could it be a miss configuration in the database which break the permissions?
Any advice will be welcomed.
This is more of a guess, but it's most likely not a problem with the database. You might try these to find out what causes this error:
Go to System > Cache Management and clear all caches. Or even better disable them for the time of debugging. This will make sure, that all cache is cleared.
Make sure that RewriteBase in your .htaccess file matches site's new location. You may also want to check if it is a rewrite problem. If yourdomain.com/magento/some-category/some-product.html doesn't work try yourdomain.com/magento/index.php/some-category/some-product.html. You might even try turning off pretty urls in rewrites in System > Configuration > Web > Search Engines Optimisation
Check server logs for anything that might cause the error.
They are located in var/log folder of your Magento root. If you can't find any please check if they are enabled in System > Configuration > Developer > Log settings.