Oh Magento, Magento, Magento!
When doing the most common task ever, installing Magento to a local development machine, I get the following error when using “localhost” as the address root
Please enter a valid URL. Protocol is required (http://, https:// or ftp://)
Although the protocol is nicely there submitted by not ME but by Magento’s own installer.
Solution to the “please enter a valid url” Magento installation error:
Use 127.0.0.1 instead of localhost.
Nobody is perfect, Magento, don’t worry!