Comments on: Magento Base URLs and dev/staging installations https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/ Coding, retro-gaming, and other projects Mon, 05 Aug 2024 17:02:21 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: Jools https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-276 Fri, 17 Jul 2015 01:12:57 +0000 http://maglife.co.uk/?p=8#comment-276 In reply to Wayne Walrath.

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.

]]>
By: Wayne Walrath https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-275 Fri, 17 Jul 2015 01:10:05 +0000 http://maglife.co.uk/?p=8#comment-275 Useful writeup, thanks! I wanted to avoid the extra setup with the webserver, and be able to achieve the same with app/etc/local.xml. Using mostly all your code, this module came out of it.
https://github.com/wkw/Magento-BaseurlOverride-Module
-w

]]>
By: MrT https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-176 Wed, 28 Nov 2012 15:53:23 +0000 http://maglife.co.uk/?p=8#comment-176 In reply to Victor Galitsky.

Sure? Didn’t work for me… Did someone else try this?

]]>
By: Best practises for Magento Deployment(Resolved) - Tech Forum Network https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-175 Thu, 24 May 2012 00:52:36 +0000 http://maglife.co.uk/?p=8#comment-175 […] Overriding the base url in php. Blog article on setting up dev and staging databases […]

]]>
By: Victor Galitsky https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-174 Sat, 03 Dec 2011 19:11:27 +0000 http://maglife.co.uk/?p=8#comment-174 Hi there,
will be glad to share for everybody more simplier sollution:
just delete records for baseUrl from core_config_data 😉

Have a nice dev
Thanks

]]>
By: More Magento | Kitten Village https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-173 Mon, 02 May 2011 13:33:06 +0000 http://maglife.co.uk/?p=8#comment-173 […] http://maglife.co.uk/2009/03/28/magento-base-urls-and-devstaging-installations/ […]

]]>
By: Bart Popenoe https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-172 Wed, 10 Nov 2010 01:46:26 +0000 http://maglife.co.uk/?p=8#comment-172 Hmm, I can’t get any traction on this at all. I’ve been through the solution many times and understand the steps but it doesn’t seem to have any effect on my site. I’m expecting to see the URL in the address bar update with the location specified in my url.ini file, is that correct?

I’m running MAMP Pro and have the rewrite_module enabled.

]]>
By: Jools Wills https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-171 Thu, 21 Oct 2010 04:56:34 +0000 http://maglife.co.uk/?p=8#comment-171 In reply to Jason Ferrier.

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.

]]>
By: Jason Ferrier https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-170 Thu, 21 Oct 2010 01:24:12 +0000 http://maglife.co.uk/?p=8#comment-170 In reply to Rory.

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?

]]>
By: roco https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-169 Fri, 23 Jul 2010 21:20:55 +0000 http://maglife.co.uk/?p=8#comment-169 In reply to Rory.

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…

]]>
By: PAJ https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-168 Wed, 21 Jul 2010 07:51:23 +0000 http://maglife.co.uk/?p=8#comment-168 In reply to Gunnar.

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.

http://ec2-184-72-23-67.us-west-1.compute.amazonaws.com/

]]>
By: Tim https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-167 Tue, 29 Jun 2010 01:26:57 +0000 http://maglife.co.uk/?p=8#comment-167 In reply to Rory.

Same problem here… Any ideas on what might be causing this?

]]>
By: Rory https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-166 Mon, 03 May 2010 21:40:00 +0000 http://maglife.co.uk/?p=8#comment-166 Thanks for this great post!

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?

]]>
By: Rory https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-165 Mon, 03 May 2010 21:32:42 +0000 http://maglife.co.uk/?p=8#comment-165 In reply to Bryan.

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().

]]>
By: Canvas Prints Online https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-164 Thu, 11 Mar 2010 16:08:27 +0000 http://maglife.co.uk/?p=8#comment-164 Yes this seemed to work pretty well for me as well – Cheers

]]>
By: Phil https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-163 Sat, 06 Feb 2010 06:53:01 +0000 http://maglife.co.uk/?p=8#comment-163 Hi there, i’m hoping you can help me.

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.

]]>
By: Dmitriy Pariyskiy | Net@Work https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-162 Wed, 27 Jan 2010 15:04:20 +0000 http://maglife.co.uk/?p=8#comment-162 In reply to Dmitriy Pariyskiy | Net@Work.

*timesink

]]>
By: Dmitriy Pariyskiy | Net@Work https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-161 Wed, 27 Jan 2010 15:03:22 +0000 http://maglife.co.uk/?p=8#comment-161 Works like a charm. Thank you very much. Having multiple databases was a big time sync on our last project.

]]>
By: Bryan https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-160 Thu, 07 Jan 2010 22:15:02 +0000 http://maglife.co.uk/?p=8#comment-160 Hi..

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

]]>
By: Eric https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-159 Tue, 05 Jan 2010 22:17:07 +0000 http://maglife.co.uk/?p=8#comment-159 Worked like a charm! Thanks!

]]>
By: Waheed Khan https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-158 Thu, 31 Dec 2009 11:50:28 +0000 http://maglife.co.uk/?p=8#comment-158 Jools

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.

]]>
By: Team Novo https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-157 Fri, 04 Dec 2009 07:19:32 +0000 http://maglife.co.uk/?p=8#comment-157 Just sharing our thoughts on Magento Installation requirements in localhost

http://magento.novosoftwares.com/magento-installation/magento-installation-requirements/

Kind Regards,

Team Novo

]]>
By: Jools Wills https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-156 Wed, 18 Nov 2009 11:57:57 +0000 http://maglife.co.uk/?p=8#comment-156 In reply to Gunnar.

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 ?

]]>
By: Gunnar https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-155 Wed, 18 Nov 2009 08:28:26 +0000 http://maglife.co.uk/?p=8#comment-155 I’ve tried your version, but i get a strange error:

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…

]]>
By: Tony Rieker https://jwills.co.uk/2009/03/magento-base-urls-and-devstaging-installations/#comment-154 Thu, 12 Nov 2009 10:46:50 +0000 http://maglife.co.uk/?p=8#comment-154 Jools,

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

]]>
Powered by atecplugins.com