[magento]Please enter a valid URL. Protocol is required (http://, https:// or ftp://)
来源:互联网 发布:遵义广电网络客服电话 编辑:程序博客网 时间:2024/06/05 07:56
安装magento时遇到“
Please enter a valid URL. Protocol is required (http://, https:// or ftp://)
”这个问题,谢谢Jerome的回答,想法挺活跃的,就是不知道是不是像他说的那样“it works like a cake !!! ”,haha..
I came across with the same problem. Let me share how i over came it.
1. Go to js\prototype and open the file “validation.js”. (FYI : All the validation takes place through this script on both front end and back end)
2. Find this line and remove it / Comment it
[’validate-url’, ‘Please enter a valid URL. Protocol is required (http://, https:// or ftp://)’, function (v) {
return Validation.get(’IsEmpty’).test(v) || /^(http|https|ftp):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i.test(v)
}],
3. Now continue your installation it works like a cake !!!
4. After your installation, Don’t forget to add it / uncomment it for validation of URLs in future
If you have any difficulties with this kindly let me know !!!
Wish You a Happy and Great New year 2011 with Magento grin
REGARDS,
Jerome Denis D
http://haijerome.wordpress.com
haijerome@gmail.com
+919846219974
Magento Consultation | Magento customization
Please enter a valid URL. Protocol is required (http://, https:// or ftp://)
”这个问题,谢谢Jerome的回答,想法挺活跃的,就是不知道是不是像他说的那样“it works like a cake !!! ”,haha..
I came across with the same problem. Let me share how i over came it.
1. Go to js\prototype and open the file “validation.js”. (FYI : All the validation takes place through this script on both front end and back end)
2. Find this line and remove it / Comment it
[’validate-url’, ‘Please enter a valid URL. Protocol is required (http://, https:// or ftp://)’, function (v) {
return Validation.get(’IsEmpty’).test(v) || /^(http|https|ftp):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i.test(v)
}],
3. Now continue your installation it works like a cake !!!
4. After your installation, Don’t forget to add it / uncomment it for validation of URLs in future
If you have any difficulties with this kindly let me know !!!
Wish You a Happy and Great New year 2011 with Magento grin
REGARDS,
Jerome Denis D
http://haijerome.wordpress.com
haijerome@gmail.com
+919846219974
Magento Consultation | Magento customization
0 0
- [magento]Please enter a valid URL. Protocol is required (http://, https:// or ftp://)
- 【转】magento安装域名出错Please enter a valid URL. Protocol is required
- archive for required library could not be read or is not a valid ZIP file
- 56. magento 判断 https or http
- Archive for required library: "xxxx" in project '*' cannot be read or is not a valid ZIP file
- maven 构建项目出现(Archive for required library: cannot be read or is not a valid ZIP file)
- eclipse maven error: Archive for required library in project cannot be read or is not a valid ZIP fi
- git中Please enter a commit message to explain why this merge is necessary. Please enter a commit mess
- It's possible your PC or network is sending automatic requests. To continue, please enter following
- Merge branch 'master' of https://git.coding.net/app-develop/iOS_xxxx Please enter a commit
- BW:Enter a valid value
- Error: An App ID with identifier "*****" is not avaliable. Please enter a different string.
- An App ID with Identifier is not available. Please enter a different string
- An App ID with Identifier 'com.XXX.XXX’ is not available. Please enter a differ
- An App ID with Identifier 'com.domainName.AppName' is not available. Please enter a different string
- git:Please enter a commit message to explain why this merge is necessary
- An App ID with Identifier 'XXXX' is not available. Please enter a different string.
- An App ID with Identifier 'com.FE.BMH' is not available. Please enter a different string.
- 学习笔记-expect使用方法系统总结
- 金牌、银牌、铜牌
- 【LeetCode】Binary Tree Level Order Traversal
- 练习瑜伽常见8大误区
- fat jar 安装
- [magento]Please enter a valid URL. Protocol is required (http://, https:// or ftp://)
- 高德地图SDK导入后报错的原因
- PMOS管学习应用
- java wait和notify时不起作用要注意的事项。
- Memcached介绍及简单的使用
- 浙江大学ACM俱乐部 1029:清雪
- poj——1200——Crazy Search
- Java异常处理机制【转载】
- word2007切换输入法