News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Fatal error: require(): Failed opening required 'VMPATH_ADMIN/helpers/vmmodel.ph

Started by Roman Petrenko, April 02, 2015, 17:39:03 PM

Previous topic - Next topic

Roman Petrenko

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

GJC Web Design

But these are 3rd party extensions..

It is really for Gavik to make them VM3 compatible -
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

Roman Petrenko

This problem have been duscussed at there 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.

Milbo

gavick pro just shoud do VmConfig::loadConfig() at begin as described in the dev docs.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/