BAD URLS - Assign the component VirtueMart to a menu item [Warning}

Started by marvays, November 25, 2018, 22:47:06 PM

Previous topic - Next topic

marvays

Hi. I have problem with urls.
When I go to product from product slider etc, i have url without menu item id, cant display modules in left menu and have this notice . . . .
Notice: Undefined index: Itemid in /data/web/virtuals/123447/virtual/www/domains/luky.richta.eu/components/com_virtuemart/router.php on line 903

I have VM 3.4.2 and joomla 3.9

Any idea?

marvays

So, last night i trying solved problem. And found it. But cnat solved it.
Problem is in generate urls. When i go to produt detail form menu, all its good. But, when i go to product from any module (for example futured product) url havent menu item ID. When url havent menu item id, crashed Breadcrumbs. And crashed display modules asignet to product detail in left position.

When I try instal blank joomla +virtuemart with demo data, links from module with futured product have manu item id.
test with demo data:
http://virtuemart.richta.eu/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=300&virtuemart_category_id=11&Itemid=101

test my webpage:
http://www.luky.richta.eu/index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=68&virtuemart_product_id=398

Where is the problem?

I cant resolve it. I must go, make new joomla instal, virtuemart instal and use jMigrator and build all new webpage :(

PS: I tryed another template, downgrade joomla, downgrade VM, delete overwrite . . . use default VM module, use +offlajn module . . . nothing.


Milbo

Did you set a default homepage?

Because that is the fallback, we use a joomla function to get the right Itemid.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

marvays

Yes. But it is hidden. Can it be hidden?

marvays

Ok. Now i delete all links to Vm from all menus. Add one to Vm homepage. Problem not solved. Second i tried add homepage vm as product category. Problem not solved.

marvays

#5
I am not understand it :(



All setup are good, right? On menu I have link to all VM category. Where is the problém?

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


Studio 42

If you have multilanguage active. Then you need to set a Joomla menu for each language and virtuemart root category.

marvays

I have only single language . . . . or . . . . default language of joomla is englisch. I am instal czech language. And VM use only with czech. It si multi? or not?

Jörgen

If You have more than one language installed that is active, it should be considered multi language.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

marvays

Now i have link to root category with my language. But problem stay.


If you want, I can prepare a copy for the test. Will someone help me? Please.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


marvays

I was uninstal Custom fields for All, but problem stay.
Second, i try on test page restore system default, and have error: 1146 Table 'd123447_lazecky.#__virtuemart_permgroups' doesn't exist . . . . can this be a clue?