主题 : X1.5版本静态化配置
级别: 贡士
UID: 137250
积分:644 加为好友
威望: 1 精华: 0
主题:78 回复:136
注册时间:2021-02-04
在线时长:0
11#   发表于:2021-05-14 09:29:27  IP:211.168.*.*
回复第10楼1.5版本的怎么手动生成静态页呀?
级别: 管理员
UID: 136355
积分:2689 加为好友
威望: 0 精华: 0
主题:0 回复:2042
注册时间:2020-11-03
在线时长:0
12#   发表于:2021-05-14 09:51:30  IP:111.200.*.*
回复第11楼
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
13#   发表于:2021-05-14 09:53:20  IP:111.200.*.*
您好,手动您站点开启了静态页就行,但是不会实时更新
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
级别: 贡士
UID: 137250
积分:644 加为好友
威望: 1 精华: 0
主题:78 回复:136
注册时间:2021-02-04
在线时长:0
14#   发表于:2021-05-14 10:00:35  IP:211.168.*.*
回复第12楼之前已经设置了,现在还有两个问题,一个是移动端访问静态页内容显示的是pc端的静态页,一个是有些文章不知道为什么还是生成不了静态页

生成静态内容列表页数设置了1000
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
15#   发表于:2021-05-14 10:07:02  IP:111.200.*.*
回复第14楼
您好,稍等下已反馈技术
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
16#   发表于:2021-05-14 10:13:33  IP:111.200.*.*
回复第14楼
您这个生成的静态页有报错么?后台运行是否报错
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
级别: 贡士
UID: 137250
积分:644 加为好友
威望: 1 精华: 0
主题:78 回复:136
注册时间:2021-02-04
在线时长:0
17#   发表于:2021-05-14 10:30:29  IP:211.168.*.*
<script type="text/javascript">
            Cms.siteFlow("${base}", location.href, document.referrer, "${site.config.flowSwitch?string}");
</script>
这里的${site.config.flowSwitch?string}报错了
级别: 贡士
UID: 137250
积分:644 加为好友
威望: 1 精华: 0
主题:78 回复:136
注册时间:2021-02-04
在线时长:0
18#   发表于:2021-05-14 10:31:57  IP:211.168.*.*
   FreeMarker template error:
        The following has evaluated to null or missing:
==> site.config.flowSwitch  [in template "WEB-INF/t/cms/www/mobile/index/index.html" at line 20, column 74]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like 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 parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

        ----
        FTL stack trace ("~" means nesting-related):
        - Failed at: ${site.config.flowSwitch?string}  [in template "WEB-INF/t/cms/www/mobile/index/index.html" at line 20, column 72]
        ----

        Java stack trace (for programmers):
        ----
        freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
                at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
                at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:85)
                at freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:48)
                at freemarker.core.BuiltInsForMultipleTypes$stringBI._eval(BuiltInsForMultipleTypes.java:707)
                at freemarker.core.Expression.eval(Expression.java:83)
                at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100)
                at freemarker.core.DollarVariable.accept(DollarVariable.java:63)
                at freemarker.core.Environment.visit(Environment.java:330)
                at freemarker.core.Environment.visit(Environment.java:336)
                at freemarker.core.Environment.process(Environment.java:309)
                at freemarker.template.Template.process(Template.java:384)
                at com.jeecms.content.service.impl.ContentStaticPageServiceImpl.index(ContentStaticPageServiceImpl.java:801)
                at com.jeecms.content.service.impl.ContentStaticPageServiceImpl.index(ContentStaticPageServiceImpl.java:734)
                at com.jeecms.content.service.impl.ContentStaticPageServiceImpl$$FastClassBySpringCGLIB$$70f4f83d.invoke(<generated>)
                at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
                at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
                at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)
                at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
                at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
                at com.jeecms.content.service.impl.ContentStaticPageServiceImpl$$EnhancerBySpringCGLIB$$c69a8553.index(<generated>)
                at com.jeecms.system.job.CronTypeIndexJob.execute(CronTypeIndexJob.java:40)
                at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
级别: 管理员
UID: 136269
积分:8356 加为好友
威望: 0 精华: 0
主题:0 回复:6382
注册时间:2020-10-26
在线时长:0
19#   发表于:2021-05-14 10:34:34  IP:111.200.*.*
您好,模板书写不规范,您看标签文档修复改
不是享乐,也不是受苦;而是行动,在每个明天,我们命定的目标和道路,都要比今天前进一步。
级别: 贡士
UID: 137250
积分:644 加为好友
威望: 1 精华: 0
主题:78 回复:136
注册时间:2021-02-04
在线时长:0
20#   发表于:2021-05-14 11:38:21  IP:211.168.*.*
回复第19楼移动端显示pc端的静态页也是因为书写不规范吗
|< < 1 2 3 > >| 共3页