News:

Looking for documentation? Take a look on our wiki

Main Menu

SEF urls.... Error with router. Php

Started by mark R, January 30, 2012, 22:43:35 PM

Previous topic - Next topic

mark R

Hi all, the

I am trying to get SEF urls working with vm2 and j1. 7 but I am getting the following error.

Notice: Undefined index: view in .... /components/com_virtuemart/router.php on line 791

I am using joomla menus pointing to vm categories.. Not the vm category module..

Any help would be appreciated

Many thanks
Mark

Sent from my Transformer TF101 using Tapatalk
Seek and ye shall find.........
4 VM sites and counting

PRO


mark R

I am using vm 2.0.0


Sent from my Transformer TF101 using Tapatalk
Seek and ye shall find.........
4 VM sites and counting


mark R

Many thanks BanquetPro,
I now receive the following error

Notice: Use of undefined constant JVM_VERSION - assumed 'JVM_VERSION' in /home/precisi/public_html/ptdev/components/com_virtuemart/router.php on line 478

many thanks
Seek and ye shall find.........
4 VM sites and counting

PRO


mark R

Hi Banquet,

This error appears before the Joomla menu with the VM category link

div class="rt-block menu-block">
<br>
<b>Notice</b>
: Use of undefined constant JVM_VERSION - assumed 'JVM_VERSION' in
<b>..../components/com_virtuemart/router.php</b>
on line
<b>478</b>
<br>
<div class="rt-fusionmenu">
<div class="nopill">

thanks again
Seek and ye shall find.........
4 VM sites and counting

mark R

this also appears ate the top of my content pages above my category view

<br>
<b>Notice</b>
: Use of undefined constant JVM_VERSION - assumed 'JVM_VERSION' in
<b>......./components/com_virtuemart/router.php</b>
on line
<b>478</b>
<br>
<div class="category_description"> </div>
<div class="browse-view">
</div>
Seek and ye shall find.........
4 VM sites and counting

PRO


mark R

It is in the latest SVN

I have removed the offending lines and all is well (not sure of the overall effect but eh its working)
if ( JVM_VERSION===1 ) $this->setMenuItemId();
else $this->setMenuItemIdJ17();

Seek and ye shall find.........
4 VM sites and counting