News:

Support the VirtueMart project and become a member

Main Menu

vmError: $link["view"] is empty

Started by patrik60, February 17, 2012, 15:38:49 PM

Previous topic - Next topic

patrik60

I get this message above on every Joomla site when logged in as administrator.

Regards Patrik

Joomla 2.5.1 VM 2.0.2 rev 5467

Studio 42

DO you have add a menu link to frontpage of virtuemart 2 ?
If you want real sef you must add some menu link in joomla
ANd at same this remove this vmerror ;)
If not then we help you ...

patrik60

I do not exactly understand what you mean. I have added a menu link as for every other component. When I'm not logged in this message is not visible. When I'm logged in as a normal user this message doesn't appear either. It is only visible when I'm logged in as administrator.

Fintan

I am getting exactly the same issue in Joomla 2.5 and vm 2.0.1k

patrik60

#4
Ok, it's a SEO problem. When SEO is disabled, this message disappears. It's funny, that it only happens, when the admin (super user) is logged in.

fire47


patrik60

#6
Once again:

Is there a fix for this??


Just deleted the following lines in components/com_virtuemart/router.php , about line 863:

else {
vmError('$link["view"] is empty');
}



I know it makes no sence. But it makes as many sense as

QuoteGo in your virtuemart entry of your joomla menu... and store it again... it has somethign todo with the sef and the joomla menu item stuff.

Because it appears all the time again. I don't want to do this every three days.

uglyfashion

Is there a non-hack fix for this? 

Milbo

Give the link, which makes trouble.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

fire47

Quote from: Milbo on July 11, 2012, 08:45:16 AM
Give the link, which makes trouble.

There is no 'link' it shows on the entire site when logged in as an administrator.

fire47

Quote from: uglyfashion on July 11, 2012, 00:09:51 AM
Is there a non-hack fix for this?

Agreed, this is a BUG that needs fixed, not just some hack to get rid of the message.

Lenfitz

Just upgraded to VM 2.0.16 and bingo the error comes up again the same as it did in 2.0.14.

vmError('$link["view"] is empty');

must remove from router.php in components/com_virtuemart/router.php to get rid of it.

Please fix this issue...

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum