[magento]Please enter a valid URL. Protocol is required (http://, https:// or ftp://)
2014-02-20 21:30
357 查看
安装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
相关文章推荐
- Please enter a valid URL. Protocol is required (http://, https:// or ftp://) in Magento 1.9.2
- 【转】magento安装域名出错Please enter a valid URL. Protocol is required
- eclipse maven error: Archive for required library in project cannot be read or is not a valid ZIP fi
- 判断是不是以http:// ftp://和https:// 开头的URL
- sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
- It's possible your PC or network is sending automatic requests. To continue, please enter following
- http://url is already routed to the Default zone of another application. Remove that mapping or use a different URL
- 解决sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
- Archive for required library:xxxxx/spring-beans-3.2.4.RELEASE.jar in project XXXXX cannot be read or is not a valid ZIP file
- 记一个mvn奇怪错误: Archive for required library: 'D:/mvn/repos/junit/junit/3.8.1/junit-3.8.1.jar' in project 'xxx' cannot be read or is not a valid ZIP file
- Archive for required library xx cannot be read or is not a valid ZIP file
- Intellij IDEA 报错 Cannot open URL. Please check this URL is correct: http://localhost:8080/
- Maven异常_05_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 问题
- The URL "filename" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web
- Type Archive for required library: 'C:/Users/EuphemiaShaw/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.6.5/hadoop-hdfs-2.6.5.jar' in project 'mapreduce' cannot be read or is not a valid ZIP file
- Archive for required library: "xxxx" in project '*' cannot be read or is not a valid ZIP file
- maven项目导入出现Type Archive for required library: XXX.jar cannot be read or is not a valid ZIP file
- Sharepoint Error : The URL "filename" is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web
- At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /embedded-