Thanks. Glad it was of use – I wrote the article some years ago – I should probably do some updates, as I have probably changed stuff since this was written. I’ll take a look at your module – cheers.
]]>Sure? Didn’t work for me… Did someone else try this?
]]>Have a nice dev
Thanks
I’m running MAMP Pro and have the rewrite_module enabled.
]]>I would need more details of your modification. you can contact me privately @ jools [at] oxfordinspire.co.uk and I can try and help. The solution I posted here does work, and I still use it in a setup myself.
]]>I am in the same position as the others. I modified your code to not use an external file, but am suffering from the same problem of the backend not working.
I used firefox LiveHTTPheaders to see that /index.php/[admin_front_name] keeps getting a 302 response – to the same URL.
In my case, https:// is the protocol in the database and web/secure/use_in_adminhtml is set to 1.
Any idea on how to fix this?
]]>Did you ever solve this? I am hoping this is a good way to work with staging and production catalogs, but I would like to be sure that this is a viable solution before diving in headfirst…
]]>Hello
I’m testing a full restore of my live magento site to a temp server. I backed up the full /magento/ folder excluding cached dirs etc into a tar package. I restore the files and database to my temp server but whenever I try and load the site I get the error
Can’t retrieve entity config: core/store_group
I’m pulling my hair out because I can’t identify where the problem is, base urls are set correctly but this error seems to be happening before the DB connect, if I set the local.xml connect credentials to rubbish the error still appears. A google search bought me here and I wondered if you could shed anymore light on it?
You can see the problem temporarily i.e. today 21.07.2010 here.
]]>Same problem here… Any ideas on what might be causing this?
]]>I’ve set everything up on our server, front-end is working perfectly, everything is behaving as it should. The only problem that I have is that whenever I try to access the Magento admin panel, it directs me to our live-site admin URL, instead of the staging admin URL.
I’ve refreshed all caches, checked all settings for this extension in comparison to the post, can’t seem to narrow down the problem though.
Any ideas on what the cause of this can be?
]]>If you’re on shared hosting, you can enter those same settings in an .htaccess file in the root of your development server.
Also, you’ll need to make sure that if you do this, that your webhost has ‘mod_env’ enabled, you can check this, by using phpinfo().
]]>Site works fine right now with Server Rewrites off. When I turn them on, the index page works fine but as soon as I go to a category page I get a 500 error. (I’ve searched everywhere to fix this problem and have tried all the htaccess tricks and all)
Here’s the interesting part…if I change http to https (I have SSL enabled), the friendly URL works fine, and I don’t get the 500 error.
In other words:
1. http://domain.com/index.php/category.html WORKS
2. https://domain.com/index.php/category.html WORKS
3. https://domain.com/category.html WORKS
4. http://domain.com/category.html DOES NOT WORK
…and of course all links of the home page are to http
Any help would be greatly appreciated…i’ve spent hours looking for a solution to no avail.
]]>*timesink
]]>Regarding the SetEnv MAGENTO_DEVURLS /path/to/urls.ini
..dose any one have an idea where the ‘Apache Config’ folder is located?
My ‘staging’ site is located on a subdomain of our web site, hosted with a web hosting company and cPanel is our file manager.
No where in our ‘home directory’ can we find the ‘Apache’ ‘Config’ folder in which we think we include the … SetEnv MAGENTO_DEVURLS /path/to/urls.ini some where with-in.
Do we need to create these folders? Where about is the …urls.ini line entered?
Any help / clarification about this would be grate and very much appreciated.
Thanks
]]>You are really well informed and are really talented. I have read the above but I too new to work out what i need to do. I am new to magento and code for that matter. I have installed a working copy of magento but am not sure on how to set up a staging site and run multiple websites from multiple domains with one magento install. Would be grateful for a dummies guide.
]]>http://magento.novosoftwares.com/magento-installation/magento-installation-requirements/
Kind Regards,
Team Novo
]]>You get this error after applying the dev/staging url changes? removing them makes the store work as normal ? What version of magento are you running ?
]]>Can’t retrieve entity config: core/store_group
I haven’t found any documentation on what it means, there’s two that have similar problem, but no solution anywhere…
]]>Woops! I should have re-read your original post (and remembered that your solution was to use the full path in apache config).
Thanks again!
-Tony
]]>