virtualmin apache setting

mod_cache.c,mod_mem_cache.c,mod_disk_cache.c

 

 

Servers --- Apache Webserver ---Global configuration --- Configure Apache Modules --- enable

 

 

etc/apache2/httpd.conf

 

LoadModule cache_module modules/mod_cache.so
<IfModule mod_cache.c>
LoadModule mem_cache_module modules/mod_mem_cache.so
<IfModule mod_mem_cache.c>
CacheEnable mem /images
MCacheSize 4096
MCacheRemovalAlgorithm LRU
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
CacheMaxExpire 864000
CacheDefaultExpire 86400
CacheDisable /php
</IfModule>
</IfModule> 
Last modified onSaturday, 05 January 2013 13:17

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0020413792{main}( ).../index.php:0
20.11134718344Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11134718344Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.332912446344Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.334112470704Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.335012526032Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.335212554856require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.344412990264K2ControllerItem->execute( ).../k2.php:64
90.344412990264K2ControllerItem->display( ).../BaseController.php:710
100.355413715464K2ControllerItem->display( ).../item.php:78
110.355413715464K2ControllerItem->display( ).../controller.php:19
120.360214111832Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.362314132200K2ViewItem->display( ).../ViewController.php:102
140.490617078360K2ViewItem->display( ).../view.html.php:742
150.490617078360K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.494017258560include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Debian
  • Read 2094 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0020413792{main}( ).../index.php:0
20.11134718344Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11134718344Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.332912446344Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.334112470704Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.335012526032Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.335212554856require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.344412990264K2ControllerItem->execute( ).../k2.php:64
90.344412990264K2ControllerItem->display( ).../BaseController.php:710
100.355413715464K2ControllerItem->display( ).../item.php:78
110.355413715464K2ControllerItem->display( ).../controller.php:19
120.360214111832Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.362314132200K2ViewItem->display( ).../ViewController.php:102
140.490617078360K2ViewItem->display( ).../view.html.php:742
150.490617078360K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.494017258560include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top