VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: thefbi on October 13, 2018, 07:56:11 am

Title: Server overload
Post by: thefbi on October 13, 2018, 07:56:11 am
Hello,

my webhost makes me notice that sometimes there is an overload on the server on which my site is located. After analysis, he told me that these are called pages, which run in an endless loop instead of going, according to him, to a 404 page.

Here is an example of a page that turns endlessly :

MY-SITENAME.ch/administrator/components/com_virtuemart/helpers/vmmodel.php:878
or
MY-SITENAME.ch/components/com_virtuemart/views/category/view.html.php:256

He also told me that
"Let me clarify in relation to my previous message that this is probably the reason why your site probably loads abnormally when an indexing robot (google, bing, etc.) comes to index your site and checks if "old" pages still exist.
 
This triggers an error 404 which causes the CMS to run in a loop.
 
The error page configured in your CMS may no longer exist and so it goes into an endless loop."

He also told me that
" think I have identified about the source of the problem.
 
Page 404 seems to be linked to the shop, but until you have visited a category or article, a call to a non-existent file such as https://lampedesign.ch/apple-touch-icon-120x120.png goes on a loop.
 
However, if you visit an article and then try to access this same url, page 404 is displayed."

But I don't understand this problem and how to solve it.
What if someone has an idea?

My Joomla version is 3.8.13 and VM 3.4.2

Title: Re: Server overload
Post by: Jörgen on October 13, 2018, 09:36:34 am
Hello
Sorry to hear that You are having problems. Check this out, might help You:
http://forum.virtuemart.net/index.php?topic=141213.0 (http://forum.virtuemart.net/index.php?topic=141213.0)

Jörgen @ Kreativ Fotografi
Title: Re: Server overload
Post by: AH on October 13, 2018, 10:08:48 am
If you cannot wait for a "fix"

Turn off Vm404 error handling in VM configuration

labelled "Enable VirtueMart 404 error handling"

The error handling will then use Joomla's default methods
Title: Re: Server overload
Post by: thefbi on October 13, 2018, 11:37:11 am
Hello,

ok, thank you, that did the trick for now.