无法加载包含错误的网页:在此服务器上找不到请求的网址 [英] Failed to load webpage with error: The requested URL was not found on this server

查看:1755
本文介绍了无法加载包含错误的网页:在此服务器上找不到请求的网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个奇怪的错误与我的PhoneGap应用程序:每奇怪的时间,我运行模拟器(或测试部署的应用程序在我的手机上),我得到错误

I'm experiencing a weird error with my PhoneGap app: every odd time I run the simulator (or the test deployed app on my phone), I get the error

Failed to load webpage with error: The requested URL was not found on this server.

它运行模拟器甚至每次。这是从我第一次部署我的应用程序发生。我当时没有使用任何插件,但从那时起,我一直在试图让Facebook iOS SDK工作,这可能是不相关的,但我的应用程序实际上成功启动的时间,我不能点击

It works every even time I run the simulator. This has been happening since I first deployed my app. I was not using any plugins at the time, but since then I've been trying to get the Facebook iOS SDK working, and this probably isn't related but the times that my app actually succeeds to start up, I can't click anything.

上帝帮助我。

这是 iOS应用程序,所以这可能是一个新手的错误 - 在这之前我的应用程序只是一个移动网站。

This is my first time building an iOS app, so this is probably a newbie mistake - before this my app was just a mobile website.

推荐答案

重定向导致此。避免在PhoneGap中使用 window.location = ??? 在所有费用的初始页面上)

It was a javascript redirect that was causing this. Avoid using window.location = ??? on the initial pageload at all costs in PhoneGap :)

这篇关于无法加载包含错误的网页:在此服务器上找不到请求的网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆