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.0004414056{main}( ).../index.php:0
20.09004718608Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09004718608Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.328612446608Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.329512470968Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.330512526296Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.330812555120require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.341012990528K2ControllerItem->execute( ).../k2.php:64
90.341012990528K2ControllerItem->display( ).../BaseController.php:710
100.353313715728K2ControllerItem->display( ).../item.php:78
110.353313715728K2ControllerItem->display( ).../controller.php:19
120.359214112096Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.361614132464K2ViewItem->display( ).../ViewController.php:102
140.444317078624K2ViewItem->display( ).../view.html.php:742
150.444317078624K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.446717258824include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Debian
  • Read 2095 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.0004414056{main}( ).../index.php:0
20.09004718608Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09004718608Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.328612446608Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.329512470968Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.330512526296Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.330812555120require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.341012990528K2ControllerItem->execute( ).../k2.php:64
90.341012990528K2ControllerItem->display( ).../BaseController.php:710
100.353313715728K2ControllerItem->display( ).../item.php:78
110.353313715728K2ControllerItem->display( ).../controller.php:19
120.359214112096Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.361614132464K2ViewItem->display( ).../ViewController.php:102
140.444317078624K2ViewItem->display( ).../view.html.php:742
150.444317078624K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.446717258824include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top