主题 : 网站上的浏览量及访客数与后台显示的数字 为什么差距这么大 |
级别: 论坛管理员
|
181# 发表于:2020-09-11 15:57:08 IP:117.93.*.*
|
||||
---|---|---|---|---|---|
级别: 论坛管理员
|
183# 发表于:2020-09-11 16:08:43 IP:117.93.*.*
那看来开源版本是配置不了正式域名的 您可以试下用本地的ip做域名跑下项目如127.0.0.1这种
|
||
---|---|---|---|
级别: 童生
|
184# 发表于:2020-09-11 16:11:05 IP:222.57.*.*
可是这边是配出来了的呀,页面都是可以访问的,但就是浏览量那个用ip可以显示,域名就不显示了
|
||
---|---|---|---|
级别: 童生
|
186# 发表于:2020-09-11 16:24:15 IP:222.57.*.*
Cms.siteFlow("${base}", location.href, document.referrer, "${site.config.flowSwitch?string}"); 加了后面"${site.config.flowSwitch?string}这个生成静态页面的时候报错是怎么回事呢
|
||
---|---|---|---|
级别: 童生
|
188# 发表于:2020-09-11 16:47:06 IP:222.57.*.*
代码是这样的:<link href="${resSys}/front.css" rel="stylesheet" type="text/css"/>
<link href="${resSys}/jqueryUI/jquery.ui.css" rel="stylesheet" type="text/css"/> <script src="${resSys}/jquery.js" type="text/javascript"></script> <script src="${resSys}/jqueryUI/jquery-ui.js" type="text/javascript"></script> <script src="${resSys}/front.js" type="text/javascript"></script> <script type="text/javascript"> $(function() { Cms.siteFlow("${base}", location.href, document.referrer, "${site.config.flowSwitch?string}"); $.cookie("_site_id_cookie","${site.id!}",{path: '${base}' }); }); </script> 在后台维护的页面静态化里面生成首页就会报错 |
||
---|---|---|---|
级别: 童生
|
189# 发表于:2020-09-11 16:50:35 IP:222.57.*.*
报的错是这样的:The following has evaluated to null or missing: ==> site.config.flowSwitch [in template "WEB-INF/t/cms/dag/dag/index/index.html" at line 26, column 84] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction: ==> ${site.config.flowSwitch?string} [in template "WEB-INF/t/cms/dag/dag/index/index.html" at line 26, column 82]
|
||
---|---|---|---|