VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: patrik60 on February 17, 2012, 15:38:49 PM

Title: vmError: $link["view"] is empty
Post by: patrik60 on February 17, 2012, 15:38:49 PM
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
Title: Re: vmError: $link["view"] is empty
Post by: Studio 42 on February 17, 2012, 23:23:35 PM
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 ...
Title: Re: vmError: $link["view"] is empty
Post by: patrik60 on February 18, 2012, 00:46:49 AM
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.
Title: Re: vmError: $link["view"] is empty
Post by: Fintan on February 18, 2012, 08:22:40 AM
I am getting exactly the same issue in Joomla 2.5 and vm 2.0.1k
Title: Re: vmError: $link["view"] is empty
Post by: patrik60 on February 18, 2012, 14:38:15 PM
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.
Title: Re: vmError: $link["view"] is empty
Post by: fire47 on March 22, 2012, 17:52:06 PM
Is there a fix for this?
Title: Re: vmError: $link["view"] is empty
Post by: patrik60 on April 12, 2012, 16:20:14 PM
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.
Title: Re: vmError: $link["view"] is empty
Post by: uglyfashion on July 11, 2012, 00:09:51 AM
Is there a non-hack fix for this? 
Title: Re: vmError: $link["view"] is empty
Post by: Milbo on July 11, 2012, 08:45:16 AM
Give the link, which makes trouble.
Title: Re: vmError: $link["view"] is empty
Post by: fire47 on August 26, 2012, 15:45:12 PM
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.
Title: Re: vmError: $link["view"] is empty
Post by: fire47 on August 26, 2012, 15:52:20 PM
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.
Title: Re: vmError: $link["view"] is empty
Post by: Lenfitz on December 28, 2012, 00:56:19 AM
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...
Title: Re: vmError: $link["view"] is empty
Post by: jenkinhill on December 28, 2012, 13:02:00 PM
It is most likely a Joomla menu problem.  http://forum.virtuemart.net/index.php?topic=105330.msg373831#msg373831