( ! ) 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.0021416296{main}( ).../index.php:0
20.08914722208Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.405317190312Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.405417190368Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.405417190744Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.405417190744Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.405617190840Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.405917230760require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.410117528032GKTemplate->__construct( ).../component.php:31
100.416917712416GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.417517757272require_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.0021416296{main}( ).../index.php:0
20.08914722208Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.405317190312Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.405417190368Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.405417190744Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.405417190744Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.405617190840Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.405917230760require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.410117528032GKTemplate->__construct( ).../component.php:31
100.419017885600GKTemplateMenu->getMenuType( ).../gk.framework.php:85
mysqldump: Couldn’t execute ‘SHOW FUNCTION STATUS WHERE Db = ‘your-db-here”: Column count of mysql.proc is wrong. Expected 20, found 16. Created with MySQL 50077, now running 50152. Please use mysql_upgrade to fix this error. (1558)
Logo
Print this page

mysqldump: Couldn’t execute ‘SHOW FUNCTION STATUS WHERE Db = ‘your-db-here”: Column count of mysql.proc is wrong. Expected 20, found 16. Created with MySQL 50077, now running 50152. Please use mysql_upgrade to fix this error. (1558)

mysqldump: Couldn’t execute ‘SHOW FUNCTION STATUS WHERE Db = ‘your-db-here”: Column count of mysql.proc is wrong. Expected 20, found 16. Created with MySQL 50077, now running 50152. Please use mysql_upgrade to fix this error. (1558)

 

/usr/bin/mysql_upgrade -uxxxx -pxxxxxx

 

如果你的webmin/virtualmin自动备份出现下面的错误,那么,就是mysql升级后没有做mysql_upgrade 表修复。 在新版下执行mysql_upgrade命令,其实这个命令包含一下三个命令:


# mysqlcheck –check-upgrade –all-databases –auto-repai

# mysql_fix_privilege_tables

# mysqlcheck –all-databases –check-upgrade –fix-db-names –fix-table-names

Note: 在每一次的升级过程中,mysql_upgrade这个命令我们都应该去执行,它通过mysqlcheck命令帮我们去检查表是否兼容新版本的数据库同时作出修复,还有个很重要的作用就是使用mysql_fix_privilege_tables命令去升级权限表。

 

Last modified onSaturday, 05 January 2013 13:01

( ! ) 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.0021416296{main}( ).../index.php:0
20.08914722208Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08914722208Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.299112450904Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.299812475968Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.300412531296Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.300712560120require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.308512995528K2ControllerItem->execute( ).../k2.php:64
90.308512995528K2ControllerItem->display( ).../BaseController.php:710
100.317913720728K2ControllerItem->display( ).../item.php:78
110.317913720728K2ControllerItem->display( ).../controller.php:19
120.321914117096Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.325014137464K2ViewItem->display( ).../ViewController.php:102
140.398917101056K2ViewItem->display( ).../view.html.php:742
150.398917101056K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.400917281256include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 1291 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.0021416296{main}( ).../index.php:0
20.08914722208Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08914722208Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.299112450904Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.299812475968Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.300412531296Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.300712560120require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.308512995528K2ControllerItem->execute( ).../k2.php:64
90.308512995528K2ControllerItem->display( ).../BaseController.php:710
100.317913720728K2ControllerItem->display( ).../item.php:78
110.317913720728K2ControllerItem->display( ).../controller.php:19
120.321914117096Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.325014137464K2ViewItem->display( ).../ViewController.php:102
140.398917101056K2ViewItem->display( ).../view.html.php:742
150.398917101056K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.400917281256include( '/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.