By Alvin Konda on Monday, 15 June 2015
Posted in Technical Issues
Likes 0
Views 1.8K
Votes 0
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
Hello Alvin,

I am sorry for the delay of this reply.

The issue has already been addressed in Komento 2.0. Perhaps you can upgrade the komento to the latest version and see if the problem still persist?
·
Tuesday, 16 June 2015 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Thank you for your feedback.
Our client has purchased the latest version (I believe) since he made the purchase last week.
The package reads: "com_komento_pro_1.8.3". Is your Professional Version not upgraded to the latest version?

I checked the back-end and it says that the latest version of Komento 1.8.3 is being used.
If I go to Extension Manager > Update > Find Updates > The Komento Extension is not being displayed saying a newer version is available.

Please advise,

Best Regards
·
Tuesday, 16 June 2015 17:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alvin,

You can try to advise your client to download the installer directly from his stackideas dashboard page, http://stackideas.com/dashboard . Hope these help.
·
Tuesday, 16 June 2015 19:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

I did as you advised. The client was able to find the latest version on his Dashboard, and the update solved the issues.
Thank you for your assistance. This Topic has been resolved.

Best Regards
·
Wednesday, 17 June 2015 15:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alvin,

You are most welcome. Glad to hear that the issue has been resolved.
·
Wednesday, 17 June 2015 15:25
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post