首页 >后端开发 >php教程 >ECstore报表不显示解决,ecstore报表显示_PHP教程

ECstore报表不显示解决,ecstore报表显示_PHP教程

WBOY
WBOY原创
2016-07-13 10:15:331031浏览

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){
         ……  
}

analysis_hour()中的

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

  

找不到对应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>

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


<span> 1</span><span><</span><span>service </span><span>id</span><span>="ectools_analysis_hour"</span><span>></span>
<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>

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

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

清除浏览器缓存
 

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

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

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/903840.htmlTechArticleECstore报表不显示解决,ecstore报表显示 最近研究ECSTORE发现后台报表显示空白,Google了一下发现N多统一的做法,直接往表里插几条数据。呵...
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn