- Posts: 52
- Thank you received: 1
A PHP Exception occurred on your site
6 years 3 months ago #321163
by xatzopou
A PHP Exception occurred on your site was created by xatzopou
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3.19
Hello,
Recently, I receive many emails everyday like the following.
Do I have to worry?
Is there anything I can do in order not to receive them?
Best regards
Makis
A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: Exception
File: /home/petshop/public_html/libraries/src/MVC/View/HtmlView.php
Line: 712
Message: Η σελιδοποίηση show δεν βρέθηκε
#0 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2479): Joomla\CMS\MVC\View\HtmlView->loadTemplate(NULL)#1 /home/petshop/public_html/libraries/src/MVC/View/HtmlView.php(230): hikashopView->loadTemplate(NULL)#2 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2462): Joomla\CMS\MVC\View\HtmlView->display(NULL)#3 /home/petshop/public_html/components/com_hikashop/views/category/view.html.php(26): hikashopView->display(NULL)#4 /home/petshop/public_html/libraries/src/MVC/Controller/BaseController.php(672): CategoryViewCategory->display()#5 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2200): Joomla\CMS\MVC\Controller\BaseController->display(false, false)#6 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(1941): hikashopController->display()#7 /home/petshop/public_html/libraries/src/MVC/Controller/BaseController.php(710): hikashopController->show()#8 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2178): Joomla\CMS\MVC\Controller\BaseController->execute('show')#9 /home/petshop/public_html/components/com_hikashop/hikashop.php(92): hikashopController->execute('show')#10 /home/petshop/public_html/libraries/src/Component/ComponentHelper.php(402): require_once('/home/petshop/p...')#11 /home/petshop/public_html/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/petshop/p...')#12 /home/petshop/public_html/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_hikashop')#13 /home/petshop/public_html/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()#14 /home/petshop/public_html/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\SiteApplication->doExecute()#15 /home/petshop/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()#16 {main}
Request information GET variables
Array( [option] => com_hikashop [task] => show [cid] => 9625 [name] => woof-moda-vrakaki-ygieinis-small [Itemid] => 285 [category_pathway] => )
POST variables
Array()
COOKIE variables
Array()
REQUEST variables
Array( [option] => com_hikashop [task] => show [cid] => 9625 [name] => woof-moda-vrakaki-ygieinis-small [Itemid] => 285 [category_pathway] => [hikashop_front_end_main] => 1 [view] => category [layout] => show)
SERVER variables
Array( [PHPRC] => /home/petshop/fcgi-bin/../etc/php7.3 [SCRIPT_FILENAME] => /home/petshop/public_html/index.php [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin [PWD] => /home/petshop/fcgi-bin [SHLVL] => 0 [PHP_FCGI_MAX_REQUESTS] => 99999 [SCRIPT_NAME] => /index.php [REQUEST_URI] => /index.php?option=com_hikashop&task=show&cid=9625&name=woof-moda-vrakaki-ygieinis-small&Itemid=285&category_pathway= [QUERY_STRING] => option=com_hikashop&task=show&cid=9625&name=woof-moda-vrakaki-ygieinis-small&Itemid=285&category_pathway= [REQUEST_METHOD] => GET [SERVER_PROTOCOL] => HTTP/1.1 [GATEWAY_INTERFACE] => CGI/1.1 [REMOTE_PORT] => 7659 [SERVER_ADMIN] => root@localhost [CONTEXT_DOCUMENT_ROOT] => /home/petshop/public_html [CONTEXT_PREFIX] => [REQUEST_SCHEME] => https [DOCUMENT_ROOT] => /home/petshop/public_html [REMOTE_ADDR] => 157.55.39.195 [SERVER_PORT] => 443 [SERVER_ADDR] => 159.69.146.74 [SERVER_NAME] => petshop.gr [SERVER_SOFTWARE] => Apache/2.4.6 [SERVER_SIGNATURE] => [HTTP_USER_AGENT] => Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) [HTTP_HOST] => petshop.gr [HTTP_FROM] => bingbot(at)microsoft.com [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_ACCEPT] => */* [HTTP_PRAGMA] => no-cache [HTTP_CONNECTION] => close [HTTP_CACHE_CONTROL] => no-cache [SSL_TLS_SNI] => petshop.gr [HTTPS] => on [SCRIPT_URI] => petshop.gr/index.php [SCRIPT_URL] => /index.php [UNIQUE_ID] => XvDBE2-b1s@FseO6CFVadwAAABA [FCGI_ROLE] => RESPONDER [PHP_SELF] => /index.php [REQUEST_TIME_FLOAT] => 1592836371.2167 [REQUEST_TIME] => 1592836371)
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3.19
Hello,
Recently, I receive many emails everyday like the following.
Do I have to worry?
Is there anything I can do in order not to receive them?
Best regards
Makis
A PHP Exception occurred on your site. Here you can find the stack trace:
Exception Type: Exception
File: /home/petshop/public_html/libraries/src/MVC/View/HtmlView.php
Line: 712
Message: Η σελιδοποίηση show δεν βρέθηκε
#0 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2479): Joomla\CMS\MVC\View\HtmlView->loadTemplate(NULL)#1 /home/petshop/public_html/libraries/src/MVC/View/HtmlView.php(230): hikashopView->loadTemplate(NULL)#2 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2462): Joomla\CMS\MVC\View\HtmlView->display(NULL)#3 /home/petshop/public_html/components/com_hikashop/views/category/view.html.php(26): hikashopView->display(NULL)#4 /home/petshop/public_html/libraries/src/MVC/Controller/BaseController.php(672): CategoryViewCategory->display()#5 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2200): Joomla\CMS\MVC\Controller\BaseController->display(false, false)#6 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(1941): hikashopController->display()#7 /home/petshop/public_html/libraries/src/MVC/Controller/BaseController.php(710): hikashopController->show()#8 /home/petshop/public_html/administrator/components/com_hikashop/helpers/helper.php(2178): Joomla\CMS\MVC\Controller\BaseController->execute('show')#9 /home/petshop/public_html/components/com_hikashop/hikashop.php(92): hikashopController->execute('show')#10 /home/petshop/public_html/libraries/src/Component/ComponentHelper.php(402): require_once('/home/petshop/p...')#11 /home/petshop/public_html/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/petshop/p...')#12 /home/petshop/public_html/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_hikashop')#13 /home/petshop/public_html/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()#14 /home/petshop/public_html/libraries/src/Application/CMSApplication.php(196): Joomla\CMS\Application\SiteApplication->doExecute()#15 /home/petshop/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()#16 {main}
Request information GET variables
Array( [option] => com_hikashop [task] => show [cid] => 9625 [name] => woof-moda-vrakaki-ygieinis-small [Itemid] => 285 [category_pathway] => )
POST variables
Array()
COOKIE variables
Array()
REQUEST variables
Array( [option] => com_hikashop [task] => show [cid] => 9625 [name] => woof-moda-vrakaki-ygieinis-small [Itemid] => 285 [category_pathway] => [hikashop_front_end_main] => 1 [view] => category [layout] => show)
SERVER variables
Array( [PHPRC] => /home/petshop/fcgi-bin/../etc/php7.3 [SCRIPT_FILENAME] => /home/petshop/public_html/index.php [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin [PWD] => /home/petshop/fcgi-bin [SHLVL] => 0 [PHP_FCGI_MAX_REQUESTS] => 99999 [SCRIPT_NAME] => /index.php [REQUEST_URI] => /index.php?option=com_hikashop&task=show&cid=9625&name=woof-moda-vrakaki-ygieinis-small&Itemid=285&category_pathway= [QUERY_STRING] => option=com_hikashop&task=show&cid=9625&name=woof-moda-vrakaki-ygieinis-small&Itemid=285&category_pathway= [REQUEST_METHOD] => GET [SERVER_PROTOCOL] => HTTP/1.1 [GATEWAY_INTERFACE] => CGI/1.1 [REMOTE_PORT] => 7659 [SERVER_ADMIN] => root@localhost [CONTEXT_DOCUMENT_ROOT] => /home/petshop/public_html [CONTEXT_PREFIX] => [REQUEST_SCHEME] => https [DOCUMENT_ROOT] => /home/petshop/public_html [REMOTE_ADDR] => 157.55.39.195 [SERVER_PORT] => 443 [SERVER_ADDR] => 159.69.146.74 [SERVER_NAME] => petshop.gr [SERVER_SOFTWARE] => Apache/2.4.6 [SERVER_SIGNATURE] => [HTTP_USER_AGENT] => Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) [HTTP_HOST] => petshop.gr [HTTP_FROM] => bingbot(at)microsoft.com [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_ACCEPT] => */* [HTTP_PRAGMA] => no-cache [HTTP_CONNECTION] => close [HTTP_CACHE_CONTROL] => no-cache [SSL_TLS_SNI] => petshop.gr [HTTPS] => on [SCRIPT_URI] => petshop.gr/index.php [SCRIPT_URL] => /index.php [UNIQUE_ID] => XvDBE2-b1s@FseO6CFVadwAAABA [FCGI_ROLE] => RESPONDER [PHP_SELF] => /index.php [REQUEST_TIME_FLOAT] => 1592836371.2167 [REQUEST_TIME] => 1592836371)
Please Log in or Create an account to join the conversation.
6 years 3 months ago #321173
by nicolas
Replied by nicolas on topic A PHP Exception occurred on your site
Hi,
That indicates that an invalid URL has been requested by someone on your website.
The big question here is why someone called that URL.
Because to call it, it must first know about it from somewhere else. And HikaShop doesn't generate that URL normally.
Looking at the HTTP_USER_AGENT parameter in the report, you can see that it's actually a crawler from bing, the search engine who is trying to request that page.
Check several reports and see if it's always bing. In that case, you want to go to www.bing.com/toolbox/webmaster/ and check there what can be done to avoid crawling these URLs.
If it's also other crawlers, or even normal users with browsers, then there is still something on your website telling them these invalid URLs. The problem is I don't know where. One thing you could do is use the "redirection" component of your Joomla to direct the users and crawlers to another page of your website when they access these invalid URLs.
That indicates that an invalid URL has been requested by someone on your website.
The big question here is why someone called that URL.
Because to call it, it must first know about it from somewhere else. And HikaShop doesn't generate that URL normally.
Looking at the HTTP_USER_AGENT parameter in the report, you can see that it's actually a crawler from bing, the search engine who is trying to request that page.
Check several reports and see if it's always bing. In that case, you want to go to www.bing.com/toolbox/webmaster/ and check there what can be done to avoid crawling these URLs.
If it's also other crawlers, or even normal users with browsers, then there is still something on your website telling them these invalid URLs. The problem is I don't know where. One thing you could do is use the "redirection" component of your Joomla to direct the users and crawlers to another page of your website when they access these invalid URLs.
The following user(s) said Thank You: xatzopou
Please Log in or Create an account to join the conversation.
6 years 3 months ago #321230
by xatzopou
Replied by xatzopou on topic A PHP Exception occurred on your site
Thanks for your quick reply Nicolas.
Can you write to me which URL or URLs I have to redirect?
Thank you in advance.
Best regards.
Makis
Can you write to me which URL or URLs I have to redirect?
Thank you in advance.
Best regards.
Makis
Please Log in or Create an account to join the conversation.
6 years 3 months ago #321234
by nicolas
Replied by nicolas on topic A PHP Exception occurred on your site
Hi,
I don't know all of them. You need to check the reports that you're getting.
In them, you have the "REQUEST_URI" parameter.
For the report you posted in your first message the value is: /index.php?option=com_hikashop&task=show&cid=9625&name=woof-moda-vrakaki-ygieinis-small&Itemid=285&category_pathway=
So you can redirect that URL.
I don't know all of them. You need to check the reports that you're getting.
In them, you have the "REQUEST_URI" parameter.
For the report you posted in your first message the value is: /index.php?option=com_hikashop&task=show&cid=9625&name=woof-moda-vrakaki-ygieinis-small&Itemid=285&category_pathway=
So you can redirect that URL.
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds