News:

Looking for documentation? Take a look on our wiki

Main Menu

Cache issue with Joomla 3.10.11 and Virtuemart

Started by VB74, October 10, 2022, 15:38:13 PM

Previous topic - Next topic

VB74

Hello everyone,

I recently bought an extension for Virtuemart (4.0.6 10690): a search module for the products and categories of my store. My site (www.senga.fr) is in French and English, the module is designed to work in both languages. I encounter a problem when I change the language. When I click on my "English" flag, I see that the module is still in the French version (so it does not find the English products). By doing several times CRTL+F5 I manage to switch my module to English after a while. I contacted the support of the extension, they tell me that it is a problem of cache.

And indeed there is something wrong with the cache component on my backend and on the FTP.

When I do "System" -> "Clear cache" (administrator/index.php?option=com_cache), my page loads for a long time and then gives me a blank page


"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log."


PS: I got the same Internal Server Error, when I click save in the Virtuemart Configuration/Settings.


For your information, in "System" -> "Cache Settings" I am configured like this:

Cache management: File
Path of the cache directory :
Cache duration 15
Platform specific caching: No
System cache: Disabled


Do you have any idea what the problem might be?

Thanks in advance

Milbo

This topic is quite complex, but not complicated. Did you read this already? https://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html
The screenshots are outdated, but the text is still valid.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

2dmaster

1054 Unknown column 'uikit_icon' in 'field list'
vm 4 latest cant use system tools of VM. deads allllll

2dmaster

and very hard bug for tools too = cant edit vm install not cant 1067 Invalid default value for 'notify_date'
387-389 versions

VB74

Quote from: Milbo on October 11, 2022, 00:42:38 AM
This topic is quite complex, but not complicated. Did you read this already? https://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html
The screenshots are outdated, but the text is still valid.

Hi,

Thank you for your answer. Yes, I already did that.

But it doesn't explain why I got Internal Server Erros when I clear the cache in the Joomla administration, or when I save the Virtuemart Configuration.




GJC Web Design

"Internal Server Error" tells nobody nothing

you need to find and trace the error before anyone can help ... plenty of pinned posts on here telling you how to do that
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

VB74

#6
I found that in the Error Log of my host :

[Wed Oct 12 08:33:45 2022] [error] [client 92.184.100.170] [host www.senga.fr] AH10141: FastCGI: comm with server "/homez.488/sengafradc/www/SENGAv2/administrator/index.php" aborted: idle timeout (160 sec), referer: https://www.senga.fr/administrator/index.php?option=com_cache
[Wed Oct 12 08:33:45 2022] [error] [client 92.184.100.170] [host www.senga.fr] AH10149: FastCGI: incomplete headers (0 bytes) received from server "/homez.488/sengafradc/www/SENGAv2/administrator/index.php", referer: https://www.senga.fr/administrator/index.php?option=com_cache

[Wed Oct 12 09:51:22 2022] [error] [client 90.85.192.65] [host www.senga.fr] AH10141: FastCGI: comm with server "/homez.488/sengafradc/www/SENGAv2/administrator/index.php" aborted: idle timeout (160 sec), referer: https://www.senga.fr/administrator/index.php?option=com_cache&view=purge
[Wed Oct 12 09:51:22 2022] [error] [client 90.85.192.65] [host www.senga.fr] AH10149: FastCGI: incomplete headers (0 bytes) received from server "/homez.488/sengafradc/www/SENGAv2/administrator/index.php", referer: https://www.senga.fr/administrator/index.php?option=com_cache&view=purge



[Tue Oct 11 11:49:30 2022] [error] [client 90.85.192.65] [host www.senga.fr] AH10141: FastCGI: comm with server "/homez.488/sengafradc/www/SENGAv2/administrator/index.php" aborted: idle timeout (160 sec), referer: https://www.senga.fr/administrator/index.php?option=com_virtuemart&view=config
[Tue Oct 11 11:49:30 2022] [error] [client 90.85.192.65] [host www.senga.fr] AH10149: FastCGI: incomplete headers (0 bytes) received from server "/homez.488/sengafradc/www/SENGAv2/administrator/index.php", referer: https://www.senga.fr/administrator/index.php?option=com_virtuemart&view=config

GJC Web Design

At  a guess the server times out?

If u keep clicking the clear cache does it eventually empty it?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

VB74

How could I check if the cache is empty ?

Anyway, for example when I save in Virtuemart Configuration, I got an Internal Server Error after long time (a 5 minutes loading) but it works (changes are saved). Maybe the cache clearing also works even if I got the error.

My problem it that I can't access to administrator/index.php?option=com_cache.