Please enter a valid URL. Protocol is required (http://, https:// or ftp://) in Magento 1.9.2 installing?

ε祈祈猫儿з 提交于 2019-11-28 20:38:36

问题


Please enter a valid URL. Protocol is required (http://, https:// or ftp://) in Magento 1.9.2 installing?

While installing Magento, I am facing error for web validation in Magento 1.9.2


回答1:


Resolve this issue by the following methods (from good to worse):

1) Inspect the url field and delete the class 'validate-url' to stop validation from the field and proceed the process. have a good Luck guys.

2) just mark the "Skip Base URL Validation Before the Next Step" checkbox.

3) use 127.0.0.1 instead of localhost like http://127.0.0.1/magento192/




回答2:


We need to disable URL validation here.

Quick solution:

  1. Inspect "Base URL" input in firebug
  2. Remove "validate-url" from the list of classes
  3. Click "continue"



回答3:


While installing Magento in the local server, in the configuration section, you may be asked to enter the base url. But the installation wizard will not accept the local server url. It is because

Magento won’t consider the local server url as a valid url.

For this you need to remove the validation for the particular section.

Open \app\design\install\default\default\template\install\config.phtml

Find the textbox where the base url is entered. It will be around line no 85 with name ‘config[unsecure_base_url]‘ Remove ‘validate-url’ from its class and save the file.

OR

Use Ip of your localhost,

http://127.0.0.1/magento/




回答4:


There is also a "Skip URL validation" box down below, if you check it, you can ignore the validation. But for some strange reason you still have to write a "correct" address, as mentioned in other answers, meaning 127.0.0.1 instead of localhost.




回答5:


Open \app\design\install\default\default\template\install\config.phtml

Find the textbox where the base url is entered. It will be around line no 85 with name config[unsecure_base_url]

Remove validate-url from its class and save the file.

Now you can continue the installation

It will work (Niraj)




回答6:


For this you need to remove the validation for the particular section. Open app\design\install\default\default\template\install\config.phtml Find the textbox where the base url is entered. It will be around line no 50 and 94 with name ‘config[unsecure_base_url]‘ Remove 'validate-url' from its class and save the file. Working fine Please enter a valid URL. Protocol is required (http://, https:// or ftp://)




回答7:


NO much need to do all this.. you just need to go to web access checkbox options and see the base url checkbox text saying this simply::: check this option if url can not verify automatically.

check it and go on...



来源:https://stackoverflow.com/questions/31670285/please-enter-a-valid-url-protocol-is-required-http-https-or-ftp-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!