Pyrocms admin page is not work in all browsers when site added in development server

帅比萌擦擦* 提交于 2019-12-06 10:01:43

问题


i have creating a website with pyrocms. i have seen that the admin page works fine in my localhost in all browsers. But when i add the site in the development server, the admin page works only in firefox and opera. It did not work in IE and Chrome. I am using pyrocms 1.3.x version. i have cleared the browser cache as well as pyrocms cache and try but not working. I found that it is the problem of session losing after login.

Is there any solution to fix this?


回答1:


i solved this by myself,

i just edit the config file in system/cms/config/config.php

and remove the value of $config['cookie_domain'].

ie,

$config['cookie_domain'] = "";

Hope this may help someone.



来源:https://stackoverflow.com/questions/9238358/pyrocms-admin-page-is-not-work-in-all-browsers-when-site-added-in-development-se

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