Thanks for answer.
After disaling JoomSEF cache the problem didn't disappeared, as I thought before, but became more seldom. So it's not a JoomSEF problem, but a Joomla caching mechanism problem.
I had to gave up using virtuemart user classes and to alter core virtuemart files to avoid the problem at all.So my problem is not solved as I wanted, but it works.
But for understanding the roots of the problem. In each class file, i.e.
administrator/components/com_virtuemart/classes/ps_product_category.php the structure is like this, which either includes my VM template user class, which defines class (
class ps_product_category extends vm_ps_product_category { /* my methods*/ } ), or defines an empty class which extends the base one:
class vm_ps_product_category extends vmAbstractObject {
//....here goes the class methods
}
if (!defined('VM_ALLOW_EXTENDED_CLASSES') && file_exists(dirname(__FILE__).'/../virtuemart.cfg.php')) {
include_once(dirname(__FILE__).'/../virtuemart.cfg.php');
}
// If settings are loaded, extended Classes are allowed and the class exisits...
if (defined('VM_ALLOW_EXTENDED_CLASSES') && defined('VM_THEMEPATH') && VM_ALLOW_EXTENDED_CLASSES && file_exists(VM_THEMEPATH.'user_class/'.basename(__FILE__))) {
// Load the theme-user_class as extended
include_once(VM_THEMEPATH.'user_class/'.basename(__FILE__));
} else {
// Otherwise we have to use the original classname to extend the core-class
class ps_product_category extends vm_ps_product_category {}
}
And this if-include-and-define-else-define works wrong when caching.
Maybe if you read this and understand the problem from the first reading, you have a suggestion.
The web-site is lux4man.ru.