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.0003 | 414248 | {main}( ) | .../index.php:0 |
2 | 0.1452 | 4264704 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1452 | 4264704 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4093 | 11455728 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4103 | 11479992 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4111 | 11535320 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4114 | 11562720 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4206 | 11962352 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4206 | 11962352 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4402 | 12613056 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4402 | 12613056 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4454 | 12984096 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4540 | 13004464 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6133 | 15816160 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6133 | 15816160 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6155 | 15989096 | include( '/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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0003 | 414248 | {main}( ) | .../index.php:0 |
2 | 0.1452 | 4264704 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1452 | 4264704 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4093 | 11455728 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4103 | 11479992 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4111 | 11535320 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4114 | 11562720 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4206 | 11962352 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4206 | 11962352 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4402 | 12613056 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4402 | 12613056 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4454 | 12984096 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4540 | 13004464 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6133 | 15816160 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6133 | 15816160 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6155 | 15989096 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |