执行弹出屏幕时找不到页面?
我有一个配置为按钮的输入元素(请参阅下面的代码)。单击时,它会打开一个弹出窗口。
它几乎在安装的每个站点上都能完美运行。然而,在这个特定的网站上,每当点击它时,它都会转到 WordPress“找不到页面”,404 页面。
什么可能导致这种情况?
<input
type="button"
id="testUpload"
value="Upload"
onclick="window.open(
'http://www.mysite.com/wp-content/themes/mytheme/uploader.php?action=test',
'popup',
'width=330,height=235,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no'
);
return false"
/>
我已验证 uploader.php 文件是否存在。
I have an input element that's configured as a button (see code below). When clicked, it opens a popup window.
It works perfectly on almost every site its installed on. However, on this particular site, whenever its clicked, it goes to the WordPress "page not found", 404 page.
What could cause this?
<input
type="button"
id="testUpload"
value="Upload"
onclick="window.open(
'http://www.mysite.com/wp-content/themes/mytheme/uploader.php?action=test',
'popup',
'width=330,height=235,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no'
);
return false"
/>
I've verified that the uploader.php file is present.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过手动将链接输入到浏览器的地址栏中来访问该链接吗?
Can you reach the link by manually entering it into the browser's address bar?