( ! ) 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.0005415456{main}( ).../index.php:0
20.07094720680Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.439317192312Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.439517192368Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.439617192744Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.439617192744Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.439717192840Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.440017232760require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.444217530032GKTemplate->__construct( ).../component.php:31
100.451217714416GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.452017759272require_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.0005415456{main}( ).../index.php:0
20.07094720680Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.439317192312Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.439517192368Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.439617192744Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.439617192744Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.439717192840Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.440017232760require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.444217530032GKTemplate->__construct( ).../component.php:31
100.454117887600GKTemplateMenu->getMenuType( ).../gk.framework.php:85
CentOS Linux: Fix bash: ntpdate: command not found centos
Logo
Print this page

CentOS Linux: Fix bash: ntpdate: command not found centos

First you have to install ntp:

Run as root:

yum install ntp

Then if you run ntpdate again you might get the error again. You can run ntpdate with:

/usr/sbin/ntpdate 2.pool.ntp.org

Replace 2.pool.ntp.org with another server if that doesn’t work.

If you get a ntpdate[585863]: the NTP socket is in use, exiting Error, then run:

/etc/init.d/ntpd stop

Took me 10 precious minutes to update the time in a server … That’s a lot!

Last modified onSaturday, 05 January 2013 12:50

( ! ) 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.0005415456{main}( ).../index.php:0
20.07094720680Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07094720680Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.300612448976Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.301612473432Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.302612528760Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.303012557584require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.313812992992K2ControllerItem->execute( ).../k2.php:64
90.313812992992K2ControllerItem->display( ).../BaseController.php:710
100.325813718192K2ControllerItem->display( ).../item.php:78
110.325813718192K2ControllerItem->display( ).../controller.php:19
120.330714114560Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.332114134928K2ViewItem->display( ).../ViewController.php:102
140.430817098440K2ViewItem->display( ).../view.html.php:742
150.430817098440K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.433917278640include( '/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.0005415456{main}( ).../index.php:0
20.07094720680Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07094720680Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.300612448976Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.301612473432Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.302612528760Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.303012557584require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.313812992992K2ControllerItem->execute( ).../k2.php:64
90.313812992992K2ControllerItem->display( ).../BaseController.php:710
100.325813718192K2ControllerItem->display( ).../item.php:78
110.325813718192K2ControllerItem->display( ).../controller.php:19
120.330714114560Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.332114134928K2ViewItem->display( ).../ViewController.php:102
140.430817098440K2ViewItem->display( ).../view.html.php:742
150.430817098440K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.433917278640include( '/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.