大家好!
请,我尽一切努力解决此问题,一切都知道。
索引页面的加载速度更快,但是当我尝试登录仪表板并在PHP会话下访问所有其他页面时,我会在JS控制台上不断收到这些错误-而且,页面在PHP会话下的加载非常缓慢。 >
这些是错误:
> A cookie associated with a cross-site resource at http://flutterwave.com/ was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
5[Intervention] Slow network is detected. See <URL> for more details. Fallback font will be used while loading: <URL>
DevTools failed to load SourceMap: Could not parse content for https://azuredate.com/asset/css/bootstrap.css.map: Unexpected token < in JSON at position 0
33XHR finished loading: POST "<URL>".
jquery-2.2.3.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery-2.2.3.min.js:4
ajax @ jquery-2.2.3.min.js:4
n._evalUrl @ jquery-2.2.3.min.js:4
ua @ jquery-2.2.3.min.js:3
append @ jquery-2.2.3.min.js:3
(anonymous) @ jquery-2.2.3.min.js:3
K @ jquery-2.2.3.min.js:2
html @ jquery-2.2.3.min.js:3
success @ dashboard:1074
i @ jquery-2.2.3.min.js:2
fireWith @ jquery-2.2.3.min.js:2
z @ jquery-2.2.3.min.js:4
(anonymous) @ jquery-2.2.3.min.js:4
load (async)
send @ jquery-2.2.3.min.js:4
ajax @ jquery-2.2.3.min.js:4
load_unread_messages @ dashboard:1068
(anonymous) @ dashboard:1078
i @ jquery-2.2.3.min.js:2
fireWith @ jquery-2.2.3.min.js:2
ready @ jquery-2.2.3.min.js:2
J @ jquery-2.2.3.min.js:2
64XHR finished loading: GET "<URL>".
7Error with Feature-Policy header: Unrecognized feature: 'speaker'.
DevTools failed to load SourceMap: Could not load content for https://assets.flutterwave.com/assets/index.all.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://assets.flutterwave.com/assets/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not parse content for https://azuredate.com/asset/css/bootstrap.css.map: Unexpected token < in JSON at position 0
DevTools failed to load SourceMap: Could not load content for https://assets.flutterwave.com/assets/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
2DevTools failed to load SourceMap: Could not load content for https://assets.flutterwave.com/assets/index.all.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://assets.flutterwave.com/assets/popper.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://assets.flutterwave.com/assets/index.all.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://assets.flutterwave.com/assets/popper.min.js.map:
HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Meanwhile, below are the JS files am loading - which works perfectly fine on my localhost
<script type='text/javascript' src='<?php echo base_url();?>asset/js/jquery-2.2.3.min.js'></script>
<script src="<?php echo base_url();?>asset/js/jquery-ui.js"></script>
<!-- menu js aim -->
<script src="<?php echo base_url();?>asset/js/jquery.menu-aim.js"> </script>
<script src="<?php echo base_url();?>asset/js/main.js"></script> <!-- Resource jQuery -->
<!-- //menu js aim -->
<!-- for bootstrap working -->
<script src="<?php echo base_url();?>asset/js/bootstrap.js"></script>
<!-- //for bootstrap working -->
<!-- for smooth scrolling -->
<script type="text/javascript" src="<?php echo base_url();?>asset/js/move-top.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>asset/js/easing.js"></script>
I've tried using a jquery cdn for this particular issue, but it's not working. I have also tried a higher version of jQuery and it's not working either.
请帮助需要帮助的兄弟!
感谢您的期待。
答案 0 :(得分:1)
在您的错误顶部,它表示“检测到网络速度缓慢”,我想这可能是问题所在。仪表盘最终会加载吗?我认为您应该一一解决由错误引起的每个问题,即一开始缺少cookie可能会导致检索失败的顺畅效果,您会发现一堆未找到的404。也许为这些文件尝试其他来源,然后测试效果是否更好?