( ! ) 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.0014415400{main}( ).../index.php:0
20.20044720560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.858617253200Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.858717253256Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.858717253632Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.858717253632Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.858817253728Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.859517293648require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.866617590920GKTemplate->__construct( ).../component.php:31
100.877117774888GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.878317819744require_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.0014415400{main}( ).../index.php:0
20.20044720560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.858617253200Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.858717253256Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.858717253632Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.858717253632Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.858817253728Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.859517293648require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.866617590920GKTemplate->__construct( ).../component.php:31
100.881417948072GKTemplateMenu->getMenuType( ).../gk.framework.php:85
Reverse Proxy & Log Format
Logo
Print this page

Reverse Proxy & Log Format

Tip when you install ispconfig 3 behind a reverse proxy like nginx.

In /etc/apache2/sites-available/ispconfig.conf changes '%h' to '%{X-Real-IP}i' to get this:

Code:
LogFormat "%v %{X-Real-IP}i %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig

In order to apache logs for awstats works properly.

I've also defined in my /etc/nginx/nginx.conf config file:

Code:
proxy_set_header   X-Real-IP        $remote_addr;

A better solution will be appreciated


( ! ) 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.0014415400{main}( ).../index.php:0
20.20044720560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.20044720560Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.662412355640Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.663312377432Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.665512432760Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.666012461584require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.689612896992K2ControllerItem->execute( ).../k2.php:64
90.689612896992K2ControllerItem->display( ).../BaseController.php:710
100.707513622192K2ControllerItem->display( ).../item.php:78
110.707513622192K2ControllerItem->display( ).../controller.php:19
120.716014018560Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.718714038928K2ViewItem->display( ).../ViewController.php:102
140.851917246760K2ViewItem->display( ).../view.html.php:742
150.851917246760K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.854817426960include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Rate this item
    (0 votes)
  • Published in Nginx
  • Read 1775 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.0014415400{main}( ).../index.php:0
20.20044720560Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.20044720560Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.662412355640Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.663312377432Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.665512432760Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.666012461584require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.689612896992K2ControllerItem->execute( ).../k2.php:64
90.689612896992K2ControllerItem->display( ).../BaseController.php:710
100.707513622192K2ControllerItem->display( ).../item.php:78
110.707513622192K2ControllerItem->display( ).../controller.php:19
120.716014018560Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.718714038928K2ViewItem->display( ).../ViewController.php:102
140.851917246760K2ViewItem->display( ).../view.html.php:742
150.851917246760K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.854817426960include( '/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.