( ! ) 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.0019415288{main}( ).../index.php:0
20.18984720360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.581514250176Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.581714250120Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.581714250496Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.581714250496Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.581914250592Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.582514290512require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.590114588200GKTemplate->__construct( ).../component.php:31
100.598914757576GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.600114802432require_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.0019415288{main}( ).../index.php:0
20.18984720360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.581514250176Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.581714250120Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.581714250496Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.581714250496Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.581914250592Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.582514290512require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.590114588200GKTemplate->__construct( ).../component.php:31
100.603014930376GKTemplateMenu->getMenuType( ).../gk.framework.php:85
qnap .profile
Logo
Print this page

qnap .profile

/root/.profile

 

To make this setting permanent, you can add this to your .profile, before the 'reset' line

export PS1='[\w] # '
export TERMINFO='/usr/share/terminfo/'
reset

This assumes that you are using the default QNAP shell of /bin/sh. If you are using /bin/bash, put the export command in .bashrc.

 

Troubleshooting

  • If the .profile gets overwritten at reboot (which is the case with firmware 3.8.1) a workaround could be to create a .profile_backup in /share/HDA_DATA/ and overwrite the .profile in autorun.sh with:
cp /share/HDA_DATA/.profile_backup /root/.profile

( ! ) 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.0003414248{main}( ).../index.php:0
20.14524264704Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.14524264704Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.409311455728Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.410311479992Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.411111535320Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.411411562720require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.420611962352K2ControllerItem->execute( ).../k2.php:64
90.420611962352K2ControllerItem->display( ).../BaseController.php:710
100.440212613056K2ControllerItem->display( ).../item.php:78
110.440212613056K2ControllerItem->display( ).../controller.php:19
120.445412984096Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.454013004464K2ViewItem->display( ).../ViewController.php:102
140.613315816160K2ViewItem->display( ).../view.html.php:742
150.613315816160K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.615515989096include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Qnap
  • Read 1628 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.0003414248{main}( ).../index.php:0
20.14524264704Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.14524264704Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.409311455728Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.410311479992Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.411111535320Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.411411562720require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.420611962352K2ControllerItem->execute( ).../k2.php:64
90.420611962352K2ControllerItem->display( ).../BaseController.php:710
100.440212613056K2ControllerItem->display( ).../item.php:78
110.440212613056K2ControllerItem->display( ).../controller.php:19
120.445412984096Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.454013004464K2ViewItem->display( ).../ViewController.php:102
140.613315816160K2ViewItem->display( ).../view.html.php:742
150.613315816160K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.615515989096include( '/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.