首頁 >php教程 >php手册 >ECstore报表不显示解决,ecstore报表显示

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

WBOY
WBOY原創
2016-06-13 09:22:301002瀏覽

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