( ! ) 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.0008413752{main}( ).../index.php:0
20.07884264144Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.442715896568Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.442915896624Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.443015897000Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.443015897000Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.443115897096Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.443615935336require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.449216227280GKTemplate->__construct( ).../component.php:31
100.457616381160GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.458516425128require_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.0008413752{main}( ).../index.php:0
20.07884264144Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.442715896568Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.442915896624Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.443015897000Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.443015897000Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.443115897096Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.443615935336require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.449216227280GKTemplate->__construct( ).../component.php:31
100.460916548376GKTemplateMenu->getMenuType( ).../gk.framework.php:85
rc.local
Logo
Print this page

rc.local

/etc/rc.d/rc.local似乎是很多linux系统管理员的偏爱,因为凡是需要随系统自动启动的服务、程序等,只要系统没有提供Sys V风格的启动脚本,就把这些需求都塞到/etc/rc.d/rc.local。

当然,绝大部分情况下,你会发现这一切都工作得很正常,看上去也很美好。不过,当你遇到了一些诡异的问题的时候,也许你应该好好的去看看/etc/rc.d/rc.local里都写了什么了?

虽然/etc/rc.d/rc.local 的描述是你可以把你需要的自动启动的程序放到这里,不过那仅仅只是限于没有别的地方可以放置了,或者说系统也没有提供其他办法了,我们才这么干,然而实际 上,我碰到的很多/etc/rc.d/rc.local里放置的内容,其实系统提供了更好的处理方式

Last modified onSaturday, 05 January 2013 13:22

( ! ) 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.0008413752{main}( ).../index.php:0
20.07884264144Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07884264144Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.309911455160Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.310911479424Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.312111534752Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.312511562152require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.324211961784K2ControllerItem->execute( ).../k2.php:64
90.324211961784K2ControllerItem->display( ).../BaseController.php:710
100.338112612488K2ControllerItem->display( ).../item.php:78
110.338112612488K2ControllerItem->display( ).../controller.php:19
120.344812983528Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.347013003896K2ViewItem->display( ).../ViewController.php:102
140.434515805488K2ViewItem->display( ).../view.html.php:742
150.434515805488K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.436915978424include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in 主机
  • Read 3035 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.0008413752{main}( ).../index.php:0
20.07884264144Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07884264144Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.309911455160Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.310911479424Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.312111534752Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.312511562152require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.324211961784K2ControllerItem->execute( ).../k2.php:64
90.324211961784K2ControllerItem->display( ).../BaseController.php:710
100.338112612488K2ControllerItem->display( ).../item.php:78
110.338112612488K2ControllerItem->display( ).../controller.php:19
120.344812983528Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.347013003896K2ViewItem->display( ).../ViewController.php:102
140.434515805488K2ViewItem->display( ).../view.html.php:742
150.434515805488K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.436915978424include( '/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.