( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0025413888{main}( ).../index.php:0
20.08854264384Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.355213114776Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.355413114720Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.355513115096Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.355513115096Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.355713115192Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.356113153432require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.361713445792GKTemplate->__construct( ).../component.php:31
100.368813587312GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.369513631280require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0025413888{main}( ).../index.php:0
20.08854264384Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.355213114776Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.355413114720Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.355513115096Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.355513115096Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.355713115192Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.356113153432require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.361713445792GKTemplate->__construct( ).../component.php:31
100.371813754144GKTemplateMenu->getMenuType( ).../gk.framework.php:85
centos 6 memcached php 5.3.x ius repo
Logo
Print this page

centos 6 memcached php 5.3.x ius repo

 

yum install -y memcached
 
yum install php53u-pecl-memcached
 
yum install php53u-pecl-memcache
 
service memcached start
 
chkconfig memcached on
 
测试是否安装成功
 
ps aux|grep memcached 
 
php.ini
 
添加 
 
extension="memcache.so"  
 
修改/etc/init.d/memcached文件
 
CACHESIZE=1024
 
service memcached restart
 
/etc/init.d/httpd restart
Last modified onSunday, 23 December 2012 14:47

( ! ) 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.0009414368{main}( ).../index.php:0
20.08894264896Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08894264896Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.296011455992Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.297411480320Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.298411535648Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.298711563048require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.310311962680K2ControllerItem->execute( ).../k2.php:64
90.310411962680K2ControllerItem->display( ).../BaseController.php:710
100.321712613384K2ControllerItem->display( ).../item.php:78
110.321712613384K2ControllerItem->display( ).../controller.php:19
120.328012984424Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.332113004792K2ViewItem->display( ).../ViewController.php:102
140.418315785304K2ViewItem->display( ).../view.html.php:742
150.418315785304K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.420915958240include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) 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.0009414368{main}( ).../index.php:0
20.08894264896Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08894264896Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.296011455992Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.297411480320Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.298411535648Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.298711563048require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.310311962680K2ControllerItem->execute( ).../k2.php:64
90.310411962680K2ControllerItem->display( ).../BaseController.php:710
100.321712613384K2ControllerItem->display( ).../item.php:78
110.321712613384K2ControllerItem->display( ).../controller.php:19
120.328012984424Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.332113004792K2ViewItem->display( ).../ViewController.php:102
140.418315785304K2ViewItem->display( ).../view.html.php:742
150.418315785304K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.420915958240include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.