Got stumped on this and a whole bunch of Google results gave a bunch of random fixes.
I personally try and avoid hacking core wp files as future upgrades break my hacks.
Found a plugin that does it here: Third Party Host Fix.
UPDATE: Well it turns out this fixes the store, but not the downloader/PEAR updater. More work to figure that one out!
I’ve been trialing Magento on and off for a few years and one day I’ll get my butt into gear to migrate my whole store from Zen Cart (which desperately needs to be patched anyway) to Magento, but I’ve been trying to tie it into a new automated pricing script I’ve been developing (also for a year or so).
I’ve also rationalised my count of subdomains on my domain and moved my old magento development environment from dev.domain.com to store.domain.com. Previously migrating domains has been a major PITA for Magento but today I decided to screw around in the database and found it to be rather painless!
The database is in the same location with same username/password so all I needed to do was to update the base_url and here’s all I did:
So a few steps, confirm that the two config_data fields are where you want them:
select * from mag_core_config_data where path like 'web/%/base_url';
I have the following output:
+-----------+---------+----------+-----------------------+---------------------------------+ | config_id | scope | scope_id | path | value | +-----------+---------+----------+-----------------------+---------------------------------+ | 19 | default | 0 | web/unsecure/base_url | http://dev.domain.com/ | | 20 | default | 0 | web/secure/base_url | http://dev.domain.com/ | +-----------+---------+----------+-----------------------+---------------------------------+
So it was a simple case of updating these values:
update mag_core_config_data set value = 'http://store.domain.com/' where path like 'web/%/base_url';
BUT unfortunately it still wasn’t rendering properly. I discovered that the pages get cached! OH NOES!
Oh well, let’s just purge the cache and start again:
#rm -Rf /path/to/magento/install/var/cache
And good to go! Now to upgrade to the latest version.
As with all my software, I like my server to run the function if possible. I have my torrents, calender/PIM, knowledge base and now my RSS feeds all accessible via the web from my webserver.
TT-RSS is a great piece of software, it’s AJAXified PHP so the interface is smooth as but nice and responsive.
Couple of great features, it can be single or multi-user, there is a grouping + tagging/label function. This involves setting SQL strings, but I haven’t used it yet. TT-RSS can be set to download in the background or when you load it.
I imported my OPML from Akregator and now I’m up and running, just needed to sort the categories as it only supports 1 level of grouping as opposed to nested in Akregator.
I recommend giving it a go!
EDIT: Added links, some reason I didn’t before .. weird!
Another follow-up to my online knowledge base ….
After my previous post about “GKnow“, I checked out Google Docs ….
Amazingly (or maybe not so amazingly but logically?) Google Docs actually does a lot of what I want. Here’s a summary:
- By nature it’s in edit mode, I can still click [most] links in edit mode with Ctrl-LMouse.
- Every document is private unless I mark it public. I actually like this idea, more than my original proposal.
- There is an option “Edit HTML”. I can effectively import all my previous documents from Knowledgebasepublisher to Google Docs via C&P’ing the HTML source!
- There is an extensive list of export options, HTML, PDF, OO.
- Google services do not support Opera [Which leads me to two new articles, My love/hate relationship with Opera and How to get Google Services working with Opera, neither are written yet, but will add links when I do]
- I’m at the mercy of the Google servers. I did want to host it on my own machine, therefore I know who and what is being accessed when. I have a innate scepticism for Google since they went public. Call it paranoia, but it’s there.
Of course there are negatives otherwise I’d be raving on like a mad man saying I’ve solved the worlds [which is my] problems!
Well, I’m going to give it a go and see how it pans out until I find exactly what I want.
I found this software a few weeks ago to help organise some thoughts on a new project I’m undertaking at work.
I just found the latest beta 0.9.0 Beta 9 and all I can say is wow! v0.8.0 was impressive but v0.9 takes it to a new level.
You can add embedded HTML notes and can even publish it to a website with either an applet or as flash.
It’s a tool that’s becoming a regular in my arsenal of computer apps and being developed in java, works on any platform!
One of the thing Opera can do it address bar searches. I like this feature alot, as around 75% of new tabs I open lead are for doing some sort of Google search.
The keyboard shortcut to enter the address bar is either
F8. I used to use F8 more until I started using Epiphany which is only
To do a normal google search simply type “
g I want to search for this”
Easy as hey?
So now I live in Australia I want this to default to Google Aus. To change it do this:
Tools -> Preferencesor
ctrl-F12then Search tab.
http://www.google.comto your local Google, in my case I added .au to the end so the string became
Whilst you are there, you might as well check that Google is the default and tick both
default search engine and
Speed Dial search engine.
Now, I also use Google Linux alot, so I’ve created a new search called
gl. Can you guess why?
To do this:
If you want to use this as default, then check the default boxes.
Now you can type
gl wajig and it uses Google Linux!
On a side note, change the part of the string
num=50 to another number to change the number of results on each page.