News:

Support the VirtueMart project and become a member

Main Menu

[solved]Info: Assign virtuemart to a menu item

Started by nflmerch, October 06, 2011, 23:48:09 PM

Previous topic - Next topic

nflmerch

Tried updating from subrelease G to subrelease H on j1.71 and I get this error on the FRONT END of the website:

"Info: Assign virtuemart to a menu item"

I also tried a brand new install of joomla 1.71 and brand new install of VM2-G on a subdomain and got the same error.

Milbo

You can ignore this error, when you have an menue item. Imho this is a joomla error in j1.7.1. When someone knows how to solve it working for j1.5 and j1.7, great. The other solution is to provide two installers, what we avoid like fire the water,  lol.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

nflmerch

Ok thanks. I thought I'd post it here since the error didn't happen with subrelease G, it only started with subrelease H (on same joomla and same server).

Sorry, I don't understand how to remove the error.

nflmerch

Well I made a joomla menu item point to the Virtuemart homepage and the error dissapeared.   However, if I don't want the menu item there and I unpublish it, the error returns.
I'm sure I can find a way to have a joomla menu item published but not visible on the page... but something just seems wrong because I doubt everyone out there will know how to do that, plus I didn't have this error in subrelease G

charles99

That might be a joomla bug!   For some reason it has a problem creating an menu item when you are doing an upgrade.   It either fails to create a menu item in the front or back, which force be to edit my database and do a re-install.

nflmerch

complete re-install on fresh subdomain and fresh database didn't solve the problem for me  :-\

nflmerch

ok my work-around for this error was to make a new joomla menu with a menu link pointed at the menu type "VirtueMart Default Layout", and a new joomla module associated with that new menu and I put the module in a fake position that doesn't show up in my template.
still seems weird that I didn't get this error in subrelease G, but now I do with H ...  Am I not following correct logic when that makes me believe it's not joomla?

Milbo

Quote from: nflmerch on October 06, 2011, 23:48:09 PM
"Info: Assign virtuemart to a menu item"

humpf, I mixed it up with the error message "couldnt create menuitem". This is not an error. It is an hint, because without assigning vm to a menuitem, you get trouble with sef/seo stuff.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

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

nflmerch

I know that it says "Info" but it shows up on the FRONT END of the website for everyone to see and looks just like an error, and it was difficult to get rid of.   I would think hints would be on the back end.

It shows up on the front end when I install joomla and VM right out of the box on a new subdomain and database, so why did I need to do menu assignments and then have to hide the menu in a fake spot on my template? And why didn't I have to do this with any version until subrelease H?  Does everybody have to do this?  It seems like I just found a work-around, not the actual solution.

Sorry if I'm being troublesome, and I appreciate the help, but I don't see anything in that thread about my topic. 
The one thing I'm gathering is perhaps I will try using MySQLi instead of MySQL.   (I've seen in this forum alot that it's better to use MySQL so that's what I've been going with for all the subreleases. Now I will try MySQLi)

nflmerch

Quote from: nflmerch on October 11, 2011, 21:39:20 PMThe one thing I'm gathering is perhaps I will try using MySQLi instead of MySQL. 

Nope, that didn't change anything

Milbo

#11
Read this thread http://forum.virtuemart.net/index.php?topic=91602.0 it explains you why it was not shown in the old version. The current fix is to show the message, else you get other problemes.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

nflmerch

#12
QuoteSorry if I'm being troublesome, and I appreciate the help, but I don't see anything in that thread about my topic.

Posting the link to the same thread twice, when I already said I read it, does not help much.  I've read it 3 or 4 times now and I don't see what it has to do with this issue.

So did I do the right thing then?  Does that imply Everyone has to create a fake menu pointed to a fake module position and hide it in their template?

Thanks for your patience, I am doing my best to help test and point out problems and offer advice on this forum as well.

Milbo

I am sorry, I dont find the right post. But it is connected to Fatal error: Class 'VirtuemartController{Name of category}' not found in .../components/com_virtuemart/virtuemart.php on line 59


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

nflmerch

Wow this thread is confusing  :o   The first few strange answers have led me to spend alot of time looking into things and reading forums that has nothing to do with my error.

Now again, I searched all over the forum for any thread with the  Fatal error: Class 'VirtuemartController error, and looked at the code, and I'm still not sure what that has to do with Info: Assign virtuemart to a menu item.  And just an FYI, this thread was marked [solved] when it hasn't been