Home > php教程 > php手册 > body text

ECstore报表不显示解决,ecstore报表显示

WBOY
Release: 2016-06-13 09:22:30
Original
977 people have browsed it

ECstore报表不显示解决,ecstore报表显示

最近研究ECSTORE发现后台报表显示空白,Google了一下发现N多统一的做法,直接往表里插几条数据。呵呵,更深入一点

1、要显示报表功能首先要确保已经配置好contab的定时任务,定时任务能够执行

2、报表任务执行的是执行\app\ectools\lib\analysis\task.php的ectools_analysis_task类中的analysis_day() 和analysis_hour() 方法

3、检查发现analysis_day() 方法中的

foreach(kernel::serviceList('ectools_analyse_day') AS $service){
         ……  
}
Copy after login

analysis_hour()中的

foreach(kernel::serviceList('ectools_analyse_hour') AS $service){
         ……  
}
Copy after login

  

找不到对应service

4、到对应的services.xml检查发现是空的

    <span><</span><span>service </span><span>id</span><span>="ectools_analysis_hour"</span><span>></span>

    <span></</span><span>service</span><span>></span>

    <span><</span><span>service </span><span>id</span><span>="ectools_analysis_day"</span><span>></span>

    <span></</span><span>service</span><span>></span>
Copy after login

把需要统计报表的class添加进去

Copy after login
<span> 1</span><span><</span><span>service </span><span>id</span><span>="ectools_analysis_hour"</span><span>></span>
Copy after login
<span> 2</span> <span><</span><span>class</span><span>></span>b2c_analysis_advanceday<span></</span><span>class</span><span>></span>
<span> 3</span> <span><</span><span>class</span><span>></span>b2c_analysis_saleday<span></</span><span>class</span><span>></span>
<span> 4</span> <span><</span><span>class</span><span>></span>b2c_analysis_shopsale<span></</span><span>class</span><span>></span>
<span> 5</span> <span></</span><span>service</span><span>></span>
<span> 6</span> 
<span> 7</span> <span><</span><span>service </span><span>id</span><span>="ectools_analysis_day"</span><span>></span>
<span> 8</span> <span><</span><span>class</span><span>></span>b2c_analysis_advanceday<span></</span><span>class</span><span>></span>
<span> 9</span> <span><</span><span>class</span><span>></span>b2c_analysis_saleday<span></</span><span>class</span><span>></span>
<span>10</span> <span><</span><span>class</span><span>></span>b2c_analysis_shopsale<span></</span><span>class</span><span>></span>
<span>11</span> <span></</span><span>service</span><span>></span>
Copy after login

尊重原创,转载请保留请保留:(ECstore报表不显示解决)http://www.cnblogs.com/seafood/p/4065893.html 

shopex的ECstore V10024版本的后台上传图片前台没显示

清除浏览器缓存
 

ecstore 怎让finder 的操作按钮区的删除操作点击时不弹窗提示

如果是标化产品是不支持;如果是支持个性化定制开发那此问题可以通过定制开发解决,去除提示弹窗
 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template