virtualmin 设置

1. system - Account Plans

default plan 

 

Quota for entire server     
Quota for server administrator user

     

 

 

2. php.ini  修改 /etc/php.ini

upload_max_filesize = 100M

post_max_size = 10M

max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = -1 ; Maximum amount of time each script may spend parsing request data
memory_limit = 256M ; Maximum amount of memory a script may consume (16MB)

 

3.默认增加目录 backup 方便 akee

Last modified onSunday, 14 October 2012 04:07

( ! ) 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.0009412728{main}( ).../index.php:0
20.12234262664Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.12244262664Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.351311453520Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.352211477800Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.353411533128Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.353811560528require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.364511960160K2ControllerItem->execute( ).../k2.php:64
90.364511960160K2ControllerItem->display( ).../BaseController.php:710
100.377712610864K2ControllerItem->display( ).../item.php:78
110.377712610864K2ControllerItem->display( ).../controller.php:19
120.383612981904Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.384813002272K2ViewItem->display( ).../ViewController.php:102
140.464915794992K2ViewItem->display( ).../view.html.php:742
150.464915794992K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.466615967928include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Webmin
  • Read 3153 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.0009412728{main}( ).../index.php:0
20.12234262664Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.12244262664Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.351311453520Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.352211477800Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.353411533128Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.353811560528require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.364511960160K2ControllerItem->execute( ).../k2.php:64
90.364511960160K2ControllerItem->display( ).../BaseController.php:710
100.377712610864K2ControllerItem->display( ).../item.php:78
110.377712610864K2ControllerItem->display( ).../controller.php:19
120.383612981904Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.384813002272K2ViewItem->display( ).../ViewController.php:102
140.464915794992K2ViewItem->display( ).../view.html.php:742
150.464915794992K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.466615967928include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top