UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Komento Integration with Virtuemart

Alvin Konda · ·
6:41 PM Monday, 15 June 2015
None
Hello,

We have a client who has purchased "Komento Professional" Version from your Website. We are now trying to integrate this with the Virtuemart Component, but ran into the following issues:

1 - Right after a fresh installation of the Komento Component, after going to Components > Komento > Integration we ran into the following Notices and a Fatal Error:
Notice: Use of undefined constant JVM_VERSION - assumed 'JVM_VERSION' in C:\wamp\www\CustomWorks\Magazine_Virtuemart\administrator\components\com_virtuemart\helpers\vmtable.php on line 33
Notice: Use of undefined constant VMPATH_ADMIN - assumed 'VMPATH_ADMIN' in C:\wamp\www\CustomWorks\Magazine_Virtuemart\administrator\components\com_virtuemart\helpers\vmtable.php on line 46
Warning: require(VMPATH_ADMIN\helpers\vobject.php): failed to open stream: No such file or directory in C:\wamp\www\CustomWorks\Magazine_Virtuemart\administrator\components\com_virtuemart\helpers\vmtable.php on line 46

Fatal error: require(): Failed opening required 'VMPATH_ADMIN\helpers\vobject.php' (include_path='.;C:\php\pear') in C:\wamp\www\CustomWorks\Magazine_Virtuemart\administrator\components\com_virtuemart\helpers\vmtable.php on line 46

First, we fixed this issue by getting a file found on your Forums (See first attachment - ~Back-End Integration error fix~com_virtuemart)

After this, the back-end seemed to work normally. The component was being displayed on the Front-end Products, but we ran into the following issue; When trying to add a comment, as a guest or as a logged-in User, we received the following error (As well as some warnings that I am not posting here - Check screenshot):

Fatal error: require(): Failed opening required 'VMPATH_ADMIN\helpers\vmtable.php' (include_path='.;C:\php\pear') in C:\wamp\www\CustomWorks\Magazine_Virtuemart\administrator\components\com_virtuemart\tables\products.php on line 21

We continued to check for similar cases on your forums and found another file (See second attachment - ~Backend and Comments Work~com_virtuemart.zip)

So, at this moment, both the back-end and front-end seem to work perfectly. We are only left with the following notices:
Notice: Undefined offset: 0 in C:\wamp\www\CustomWorks\Magazine_Virtuemart\plugins\content\includeitem\includeitem.php on line 112
Notice: Undefined offset: 0 in C:\wamp\www\CustomWorks\Magazine_Virtuemart\plugins\content\includeitem\includeitem.php on line 169
Notice: Undefined offset: 0 in C:\wamp\www\CustomWorks\Magazine_Virtuemart\plugins\content\includeitem\includeitem.php on line 211

Data on the Website - Currently on Localhost, will be delivered to the client after the work is done:
System Information:
MySQL: 5.6.17
Apache: 2.4.9
PHP: 5.5.12

Joomla Version: 3.4.1
Virtuemart Version: 3.0.9
Komento Version (Professional): 1.8.3

Our questions:
1 - Are the files we have replaced suitable for the Komento version installed on the website? Do you have a latest patch for the above issues? We would not want to have omitted any changes by replacing an outdated file.
2 - The Notices we are left with only showed up after the replacement of the files explained above. Are they related to your component? Can they be fixed? (We would prefer not to modify the core Joomla Files)

We'd greatly appreciate your feedback,

Best Regards
The replies under this section are restricted to logged in users or users with an active subscription with us