Opencart Issue document.cookie Alert on Page Load

坚强是说给别人听的谎言 提交于 2019-12-11 09:29:18

问题


enter image description hereOne of my client's Opencart website have issues when open the website, a prompt alert shows following code:

Conflict

<script>document.cookie = "humans_21909=1"; document.location.reload(true)</script>

How to get this resolve. Also help me to find the files where they are located to fix it.


回答1:


Had the same issue, it only happened to me when the request was something to do with "register", in my case it was "register.php", I only changed the documents name and problem was solved




回答2:


You need to change the filename of register.php and its occurrences on all places in the files.



来源:https://stackoverflow.com/questions/53629218/opencart-issue-document-cookie-alert-on-page-load

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!