>  기사  >  php教程  >  ECstore报表不显示解决,ecstore报表显示

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

WBOY
WBOY원래의
2016-06-13 09:22:30979검색

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 的操作按钮区的删除操作点击时不弹窗提示

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

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.