似乎并非所有HTML页面都在某些浏览器中加载 [英] It seems that not all of my HTML page loads in some browsers

查看:62
本文介绍了似乎并非所有HTML页面都在某些浏览器中加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很奇怪.我不太确定发生了什么.我不知道这是MAMP服务器引起问题还是Laravel.我以前从未见过.

This is a weird one. I am not quite sure of what is going on. I don't know if it's MAMP server causing the problems or Laravel. I never seen this before.

我在MAC OS X上使用Google Chrome.在控制台中,我收到GET错误.但是,当我进入网络时,它仍然显示为错误,并且当我单击响应"之类的选项卡时,它表明没有加载任何内容...即使页面上有内容.然后,当我单击页眉"时,它说状态"是200 ...太好了...感到困惑了吗?

I am using Google Chrome on my MAC OS X. And in the console I get a GET error. But when I go to networking it still shows it as an error and when I click the tabs like Response it show that nothing loaded... Even if there is content on the page. Then when I click on Headers it says the Status is 200... So good... Confused yet?

即使预览为空,也显示一条错误消息,提示未加载任何内容.

Even preview is empty... With a error message that nothing loaded.

现在,如果我回到控制台并刷新它,则会在不同的行显示错误...因此,一旦到达74,我将刷新并得到81,如果再次刷新,它将显示另一个数字...非常奇怪.

Now if I go back to the console and I refresh it shows errors at different lines... So once it's at 74 then I refresh and I get 81 and if I refresh again it shows another number... Very strange.

即使我的javascript有时在HTML底部加载,有时也无法正常工作...

Even my javascript that is loaded at the bottom of the HTML some times works other times not...

它更奇怪,因为它们都可以在Firefox中使用.我尝试清空Chrome中的缓存...没有任何效果.有任何想法吗?有建议吗?

It's even more strange because it all works in Firefox. I tried emptying the cache in Chrome... Nothing works. Any ideas? Suggestions?

更新

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>Yaloub</title>
    <meta name="keywords" content="Yaloub, app network"/>
    <meta name="description" content="Yaloub is a app network."/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link href="http://fonts.googleapis.com/css?family=Noto+Sans" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="http://localhost:8888/Yaloub/public/assets/css/style.css"/>
    <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://localhost:8888/Yaloub/public/assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://localhost:8888/Yaloub/public/assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://localhost:8888/Yaloub/public/assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="http://localhost:8888/Yaloub/public/assets/ico/apple-touch-icon-57-precomposed.png">
    <link rel="shortcut icon" href="http://localhost:8888/Yaloub/public/assets/ico/favicon.png">
</head>
<body>
    <div id="wrap">
    <!-- Navbar -->
    <div class="navbar">
            <img src="http://localhost:8888/Yaloub/public/assets/ico/logo-page.png" alt=" " style="position:absolute;"/>
            <ul class="nav pull-right">
                                                        <!--<li><a href="http://localhost:8888/Yaloub/public/user">Logged in as user</a></li>-->
                <li><a href="http://localhost:8888/Yaloub/public/user/logout">Logout</a></li>
                                </ul>
        <div style="clear:both;"></div>
    </div>
    <!-- ./ navbar -->

    <!-- Container -->
    <div class="main container">
        <!-- Notifications -->
                    <!-- ./ notifications -->

        <!-- Content -->
        <section>
  <ul id="apps">
        <li class="app">
        <div class="app-frame">
            <a href="http://localhost:8888/Yaloub/public/ebooks" class="thumbnail"><img src="http://localhost:8888/Yaloub/public/assets/img/whitepage.png" alt="Ebooks" style="width: 200px; height: 200px;"/></a>
        </div>
        <div class="app-controls">
            <ul>
                <li class="app-controls-appname">Ebooks</li><li class="app-controls-favorite"><a href="app/ebooks/favorite/add"><div><span>Favorite</span></div></a></li><li class="app-controls-right-button app-controls-settings"><a href="app/ebooks/settings"><div><span>Settings</span></div></a></li>
            </ul>
        </div>
    </li>
        <li class="app">
        <div class="app-frame">
            <a href="http://localhost:8888/Yaloub/public/videos" class="thumbnail"><img src="http://localhost:8888/Yaloub/public/assets/img/videos.png" alt="Videos" style="width: 200px; height: 200px;"/></a>
        </div>
        <div class="app-controls">
            <ul>
                <li class="app-controls-appname">Videos</li><li class="app-controls-favorite"><a href="app/videos/favorite/add"><div><span>Favorite</span></div></a></li><li class="app-controls-right-button app-controls-settings"><a href="app/videos/settings"><div><span>Settings</span></div></a></li>
            </ul>
        </div>
    </li>
        <li class="app">
        <div class="app-frame">
            <a href="http://localhost:8888/Yaloub/public/photos" class="thumbnail"><img src="http://localhost:8888/Yaloub/public/assets/img/photos.png" alt="Photos" style="width: 200px; height: 200px;"/></a>
        </div>
        <div class="app-controls">
            <ul>
                <li class="app-controls-appname">Photos</li><li class="app-controls-favorite"><a href="app/photos/favorite/add"><div><span>Favorite</span></div></a></li><li class="app-controls-right-button app-controls-settings"><a href="app/photos/settings"><div><span>Settings</span></div></a></li>
            </ul>
        </div>
    </li>
    </ul>
</section>
<section id="app-settings">
<form method="POST" action="http://localhost:8888/Yaloub/public/app/appname/settings/add" accept-charset="UTF-8">
    <input type="hidden" name="_token" value="kfVaUXWVq8HuujqEuJQeVrD5kjr1HZR4Q0YNAm0q"/>
    <fieldset>
        <label for="app-settings-name">Name:</label>
        <input tabindex="1" type="text" name="app-settings-name" id="app-settings-name" />
        <label for="app-settings-url">URL:</label>
        <input tabindex="2" type="text" name="app-settings-url" id="app-settings-url" />
        <label for="app-settings-clientid">Client id:</label>
        <input tabindex="3" type="text" name="app-settings-clientid" id="app-settings-clientid" />
        <button tabindex="4" type="submit" class="btn">Save</button>
        <button tabindex="5" class="btn">Delete</button>
    </fieldset>
</form>
</section>
        <!-- ./ content -->
        <div style="clear:both;"></div>
    </div>
    <!-- ./ container -->

    <!-- the following div is needed to make a sticky footer -->
    <div id="push"></div>
    </div>
    <!-- ./wrap -->

    <footer id="footer">
      <div class="container">
        <p class="muted credit">&copy; All right reserved to Yalub.</p>
      </div>
    </footer>
    <script src="http://localhost:8888/Yaloub/public/assets/js/mootools-core-1.4.5-full-nocompat-yc.js"></script>
    <script src="http://localhost:8888/Yaloub/public/assets/js/site.js"></script>
</body>
</html>

当我刷新它时,会发生另一种行错误:

Here is what happens when I refresh it sends me another line error:

这里是再次刷新,请记住我没有触摸代码:

Here is after another refresh, and remember I did not touch the code:

推荐答案

11digitlabs 所述

As 11digitlabs mentioned here disable Xcache from your php.ini

这篇关于似乎并非所有HTML页面都在某些浏览器中加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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