qnap .profile
- font size decrease font size increase font size
/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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 415936 | {main}( ) | .../index.php:0 |
2 | 0.0915 | 4721008 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0915 | 4721008 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2965 | 12449232 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2971 | 12473576 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2978 | 12528904 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.2980 | 12557728 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3059 | 12993136 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3060 | 12993136 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3166 | 13718336 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3166 | 13718336 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3212 | 14114704 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3229 | 14135072 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4185 | 17079744 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4185 | 17079744 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4206 | 17259944 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Qnap
- Read 1630 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0004 | 415936 | {main}( ) | .../index.php:0 |
2 | 0.0915 | 4721008 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0915 | 4721008 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2965 | 12449232 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2971 | 12473576 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2978 | 12528904 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.2980 | 12557728 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.3059 | 12993136 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.3060 | 12993136 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.3166 | 13718336 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.3166 | 13718336 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.3212 | 14114704 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3229 | 14135072 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.4185 | 17079744 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.4185 | 17079744 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.4206 | 17259944 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |