Hello
VM 3.0.6.2
Joomla 3.4.1
Template Puruty III (latest version)
When I publish at the frontend modul News Show Pro GK5 (latest version) which displays VM latest product I get this error:
QuoteNotice: Use of undefined constant VMPATH_ADMIN - assumed 'VMPATH_ADMIN' in mysite/administrator/components/com_virtuemart/models/vendor.php on line 23
Warning: require(VMPATH_ADMIN/helpers/vmmodel.php): failed to open stream: No such file or directory in mysite/administrator/components/com_virtuemart/models/vendor.php on line 23
Fatal error: require(): Failed opening required 'VMPATH_ADMIN/helpers/vmmodel.php' (include_path='.:/usr/local/lib/php-5.3.13/lib/php') in mysite/administrator/components/com_virtuemart/models/vendor.php on line 23
When I try to use another modul to display latest products News Show SP2 (latest version) I get this error:
QuoteNotice: Use of undefined constant VMPATH_ADMIN - assumed 'VMPATH_ADMIN' in mysite/administrator/components/com_virtuemart/helpers/vmmodel.php on line 24 Warning: require(VMPATH_ADMIN/helpers/vobject.php): failed to open stream: No such file or directory in mysite/administrator/components/com_virtuemart/helpers/vmmodel.php on line 24
Fatal error: require(): Failed opening required 'VMPATH_ADMIN/helpers/vobject.php' (include_path='.:/usr/local/lib/php-5.3.13/lib/php') in mysite/administrator/components/com_virtuemart/helpers/vmmodel.php on line 24
Please help
But these are 3rd party extensions..
It is really for Gavik to make them VM3 compatible -
This problem have been duscussed at there (https://www.gavick.com/forums/storefront/tabs-gk-problem-loading-products-44711?p=224051&hilit=virtuemart#p224051) Gavick's forum without decision.
But if you upgrade the News Show Pro GK5 module to the latest version and clear all cache (browser and site) you don't solve the problem untill you change in
Basic settings - Module mode from Standart to Product or Product 2.
And it partially solves the problem.
gavick pro just shoud do VmConfig::loadConfig() at begin as described in the dev docs.