( ! ) 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.0003415536{main}( ).../index.php:0
20.07544720592Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.331014250120Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.331214250064Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.331214250440Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.331214250440Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.331414250536Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.332514290456require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.338414588144GKTemplate->__construct( ).../component.php:31
100.346614757520GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.347514802376require_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.0003415536{main}( ).../index.php:0
20.07544720592Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.331014250120Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.331214250064Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.331214250440Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.331214250440Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.331414250536Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.332514290456require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.338414588144GKTemplate->__construct( ).../component.php:31
100.350014930320GKTemplateMenu->getMenuType( ).../gk.framework.php:85
升级 Debian
Logo
Print this page

升级 Debian

由 5.0 (lenny) 升级至测试版本 (squeeze)

变身成系统使用者 (root) 的身份:

$ su
passwd:
#

将 /etc/apt/sources.list 中的 stable 或 lenny 转成 squeeze:

cd /etc/apt
cp sources.list sources.list.bak
sed -e 's/\<\(stable\|lenny\)\>/squeeze/g' sources.list.bak >sources.list

更新最新的套件资讯:

apt-get update

更新整个系统:

apt-get dist-upgrade

( ! ) 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.0009415272{main}( ).../index.php:0
20.11624720328Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11624720328Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.403412448496Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.404612472840Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.405312528168Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.406012556992require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.418312992400K2ControllerItem->execute( ).../k2.php:64
90.418312992400K2ControllerItem->display( ).../BaseController.php:710
100.432213717600K2ControllerItem->display( ).../item.php:78
110.432313717600K2ControllerItem->display( ).../controller.php:19
120.438914113968Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.441314134336K2ViewItem->display( ).../ViewController.php:102
140.577617087128K2ViewItem->display( ).../view.html.php:742
150.577617087128K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.580417267328include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Debian
  • Read 1391 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.0009415272{main}( ).../index.php:0
20.11624720328Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11624720328Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.403412448496Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.404612472840Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.405312528168Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.406012556992require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.418312992400K2ControllerItem->execute( ).../k2.php:64
90.418312992400K2ControllerItem->display( ).../BaseController.php:710
100.432213717600K2ControllerItem->display( ).../item.php:78
110.432313717600K2ControllerItem->display( ).../controller.php:19
120.438914113968Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.441314134336K2ViewItem->display( ).../ViewController.php:102
140.577617087128K2ViewItem->display( ).../view.html.php:742
150.577617087128K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.580417267328include( '/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.