1. MStore问题

1.1. 哪里下载模板?MStore怎么进入?

1.2. 搜索页面模版

search.htm为默认搜索模版,直接通过表单提交参数到mcms/search.do地址。

1.3. 新系统使用MStore模板生成报错

检查列表页是否存在内容标签

{ms:field.typetitle/} 
替换成
{ms:channel type='self'}
<a href="${global.url}${field.typelink}">${field.typetitle}</a>
{/ms:channel}
{ms:include filename=head-file.htm/}
替换成
<#include "head-file.htm">
{ms:arclist size=3}
[field.data fmt=yyyy/]
{/ms:arclist}
替换成
{ms:arclist size=3}
${field.data?string("yyyy")}
{/ms:arclist}

具体更多的情况可以参考 旧模板快速升级 的章节

1.4. MStore无法进入,点击图标没有反应

首先确保代码是最新的,使用master分支

1.5. Chrome 浏览mstore无法登陆进入

Chrome 51 开始,浏览器的 Cookie 新增加了一个SameSite属性,用来防止 CSRF 攻击和用户追踪。

Chrome升级到80版本后,默认限制了cross-site携带cookie,导致cookie失效,报错如下

A cookie associated with a cross-site resource at http://XXX.XXX.XXX.XXXX/ 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`. 

Chrome访问地址 chrome://flags/

搜索"SameSite",修改配置项如图,注意:设置好必须重启浏览器

Copyright © mingsoft.net 2021 all right reserved,powered by Gitbook该文件修订时间: 2023-02-20 14:55:12

results matching ""

    No results matching ""

    results matching ""

      No results matching ""