News:

Looking for documentation? Take a look on our wiki

Main Menu

Recent posts

#1
Installation, Migration & Upgrade / Re: Undefined constant "VMPATH...
Last post by PRO - February 27, 2026, 20:51:39 PM
Did you try the "install or update tables" ? in the tools?


Have you checked with error reporting?
#2
Installation, Migration & Upgrade / Re: Undefined constant "VMPATH...
Last post by stawebnice - February 26, 2026, 19:47:25 PM
so I looked up 319 in table xx_virtuemart_category_categories and removed the 1st line



then again renamed the vm folder in administrator and tried to install 4.6.6, this red error is gone but still the same error even though it says that the istallation was successful

Instalace: Nelze najít soubor XML nastavení (can't find xml settings file)
info
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calcs.calc_kind_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_categories.opc_virtuemart_category_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_manufacturers.opc_virtuemart_manufacturer_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_shoppergroups.opc_virtuemart_shoppergroup_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_countries.opc_virtuemart_country_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_states.opc_virtuemart_state_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_categories.virtuemart_category_id_uindex
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_categories.category_parent_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_category_categories.category_child_id_uindex
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_category_categories.category_parent_id_index
alterKey ADD INDEX category_child_id
alterColumns ei5qk_virtuemart_customs from TEXT NOT NULL to custom_params TEXT AFTER `layout_pos`
alterTable CHANGE ei5qk_virtuemart_customs.custom_params query ALTER TABLE `ei5qk_virtuemart_customs` CHANGE COLUMN `custom_params` `custom_params` TEXT AFTER `layout_pos`
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_customs.virtuemart_custom_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_orders.order_number_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_orders.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_histories.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_histories.created_on_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_items.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_calc_rules.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.product_gtin_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.published_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.virtuemart_vendor_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.product_mpn_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.product_sales_index
IGNORE: alterColumns ei5qk_virtuemart_product_customfields from MEDIUMTEXT to customfield_params TEXT COMMENT 'PARAM FOR PLUGINS'
alterTable DROP INDEX ei5qk_virtuemart_product_customfields.unique_custf_prd_value
alterTable DROP INDEX ei5qk_virtuemart_product_customfields.unique_cust_prd_value
alterKey ADD INDEX unique_custf_prd_value
alterKey ADD INDEX unique_cust_prd_value
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_manufacturers.virtuemart_manufacturer_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.product_override_price_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.product_price_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.virtuemart_shoppergroup_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.virtuemart_product_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_rating_votes.virtuemart_rating_vote_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_shoppergroups.virtuemart_vendor_id_index
IGNORE: alterColumns ei5qk_virtuemart_vendors_cs_cz from MEDIUMTEXT to vendor_letter_header_html VARCHAR(6500) NOT NULL DEFAULT '
{VM:VENDORNAME}

{VM:VENDORADDRESS}
'
IGNORE: alterColumns ei5qk_virtuemart_vendors_cs_cz from MEDIUMTEXT to vendor_letter_footer_html VARCHAR(6500) NOT NULL DEFAULT '

{VM:VENDORLEGALINFO}
PAGE {VM:PAGENUM}/{VM:PAGECOUNT}
'
All countries are up to date
90 souborů, pro které máte ve své šabloně přepsání, byly aktualizováno a měli byste tyto změny zkontrolovat.
info
Table updated: Tablename ei5qk_virtuemart_customs dropped: 0 altered: 1 added: 0
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_payment_plg_standard
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_payment_plg_paypal_checkout
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_payment_plg_paypal
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_shipment_plg_weight_countries
success
Instalace balíčku byla úspěšná. (package installation was successful)
Došlo k chybě. (an error occured)

    0 Undefined constant "VMPATH_ADMINISTRATOR"



#3
Installation, Migration & Upgrade / Re: Undefined constant "VMPATH...
Last post by stawebnice - February 26, 2026, 19:37:05 PM


This is what I see when I try to resave the category 319 in the live VM
but when I check in db, I only see one category with id 319 in the table
#4
Installation, Migration & Upgrade / Re: Undefined constant "VMPATH...
Last post by stawebnice - February 26, 2026, 19:31:50 PM
I renamed the vm folders in administrator and tried installing 4.6.4 to replicate the errors again and I got this

vmError: FAILED: alterKey ADD INDEX category_child_id: Duplicate entry '319' for key 'category_child_id' ALTER TABLE `ei5qk_virtuemart_category_categories` ADD UNIQUE KEY `category_child_id` (`category_child_id`)

rest of the messages:

Deleted old column locked_on from #__virtuemart_order_calc_rules
Deleted old column locked_by from #__virtuemart_order_calc_rules
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calcs.calc_kind_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_categories.opc_virtuemart_category_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_manufacturers.opc_virtuemart_manufacturer_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_shoppergroups.opc_virtuemart_shoppergroup_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_countries.opc_virtuemart_country_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_calc_states.opc_virtuemart_state_id
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_categories.virtuemart_category_id_uindex
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_categories.category_parent_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_category_categories.category_child_id_uindex
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_category_categories.category_parent_id_index
alterColumns ei5qk_virtuemart_customs from TEXT NOT NULL to custom_params TEXT AFTER `layout_pos`
alterTable CHANGE ei5qk_virtuemart_customs.custom_params query ALTER TABLE `ei5qk_virtuemart_customs` CHANGE COLUMN `custom_params` `custom_params` TEXT AFTER `layout_pos`
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_customs.virtuemart_custom_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_orders.order_number_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_orders.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_histories.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_histories.created_on_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_items.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_order_calc_rules.virtuemart_order_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.product_gtin_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.published_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.virtuemart_vendor_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.product_mpn_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_products.product_sales_index
IGNORE: alterColumns ei5qk_virtuemart_product_customfields from MEDIUMTEXT to customfield_params TEXT COMMENT 'PARAM FOR PLUGINS'
alterTable DROP INDEX ei5qk_virtuemart_product_customfields.unique_custf_prd_value
alterTable DROP INDEX ei5qk_virtuemart_product_customfields.unique_cust_prd_value
alterKey ADD INDEX unique_custf_prd_value
alterKey ADD INDEX unique_cust_prd_value
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_manufacturers.virtuemart_manufacturer_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.product_override_price_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.product_price_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.virtuemart_shoppergroup_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_product_prices.virtuemart_product_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_rating_votes.virtuemart_rating_vote_id_index
IGNORE: alterTable DROP INDEX ei5qk_virtuemart_shoppergroups.virtuemart_vendor_id_index
IGNORE: alterColumns ei5qk_virtuemart_vendors_cs_cz from MEDIUMTEXT to vendor_letter_header_html VARCHAR(6500) NOT NULL DEFAULT '
{VM:VENDORNAME}

{VM:VENDORADDRESS}
'
IGNORE: alterColumns ei5qk_virtuemart_vendors_cs_cz from MEDIUMTEXT to vendor_letter_footer_html VARCHAR(6500) NOT NULL DEFAULT '

{VM:VENDORLEGALINFO}
PAGE {VM:PAGENUM}/{VM:PAGECOUNT}
'
All countries are up to date
98 souborů, pro které máte ve své šabloně přepsání, byly aktualizováno a měli byste tyto změny zkontrolovat.
danger
vmError: FAILED: alterKey ADD INDEX category_child_id: Duplicate entry '319' for key 'category_child_id' ALTER TABLE `ei5qk_virtuemart_category_categories` ADD UNIQUE KEY `category_child_id` (`category_child_id`)
info
Table updated: Tablename ei5qk_virtuemart_customs dropped: 0 altered: 1 added: 0
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_payment_plg_standard
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_payment_plg_paypal_checkout
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_payment_plg_paypal
com_virtuemart_allinoneInstallerScript:: VirtueMart update #__virtuemart_shipment_plg_weight_countries
success
Instalace balíčku byla úspěšná.
#5
Installation, Migration & Upgrade / Undefined constant "VMPATH_ADM...
Last post by stawebnice - February 26, 2026, 19:23:58 PM
Hi Max,

please could you help me?

I'm trying to update VM on Joomla 4.4.10 (PHP 8.1) to 4.6.0 (tried the same with 4.6.2 and 4.6.4) but when I do it, I get this error:

Undefined constant "VMPATH_ADMINISTRATOR" and the whole admin of Joomla is blocked by this,


I can't get anywhere, even to install it again (which is what shows as recommendation when I install it firt)

Do you have any tip how to fix this?

Thank you!

Peta
#6
3rd party extension / Re: Mollie for VirtueMart
Last post by vmfyelloq19 - February 25, 2026, 16:03:00 PM
One month now, no answer to support ticket at iStraxx / Virtuemart, no reaction from NorrNext here. Very disappointing.

NortNext seems to be a scam company, would not recommend buying from them.
#7
So after a while I get client request to create for him a e-commerce website.

I already create few q years ago with Virtue Mart as Max well know since constantly bothering  him  :D

I like VMart because versatility but
before I proceed with Virtue Mart to decide if is worth here is questions.

What's status for J6 and extension for?

Is for J5 bug free?

Are extension for new VM stripe paypal klarna and other popular native or we need to pay third party development.

Are shipping extensions available apart default basic ones. I know old one calculate by rules don't work anymore at last it didn't years ago maybe someon upgraded it.

Is search for VM worth it. Old one was rubbish I need to go third party elastic search and home server. Is a unnecessary hustle.

So basically please give me hones opinion is Virtue Mart still relevant today?

And please after reading my post, don't think I don't want pay third party developers. I buy a lot from them in past, but reality today that competition offer this.
And since VirtueMart is now subscription based I don't expect any les from him

Thank you all God bless 😊

#8
Commercial Jobs / DPD Pickup Relay for France
Last post by rocktribal3 - February 24, 2026, 11:43:05 AM
Hi we would like to hire someone to create a custom plugin for DPD Pickup Relay for France?
#9
Hi,
I had this problem that was driving me crazy, even though I had followed all the instructions and set up VM correctly.

So I decided to take the hard route, modifying the code and creating an override for the affected file.
I created the override in the HTML folder of my site template (Yootheme Pro 5).

In this folder, I created the following folder and subfolder structure:
  com_virtuemart
         |_____ sublayouts

I then copied the bs5-products.php file from mywebsitepath\\components\com_virtuemart\sublayouts into the newly created sublayouts subfolder.
I then modified the code as follows:

Line 83:
<a title="<?php echo $product->product_name ?>" href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' $product->virtuemart_product_id '&virtuemart_category_id=' $product->virtuemart_category_id); ?>">
Line 107:
<h2 class="vm-product-title text-center pb-2 mb-0"><?php echo HTMLHelper::link (JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' $product->virtuemart_product_id '&virtuemart_category_id=' $product->virtuemart_category_id), $product->product_name); ?></h2>
Line 124:
<a class="btn btn-secondary w-100 mt-3" href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' $product->virtuemart_product_id '&virtuemart_category_id=' $product->virtuemart_category_id); ?>" title="<?php echo $product->product_name?>"><?php echo vmText::'COM_VIRTUEMART_PRODUCT_DETAILS' ); ?></a>
I don't know if this is the best way to fix the problem, but everything works perfectly now.

I hope this can help other people who are going crazy with the same problem I had.
#10
Plugins: Payment, Shipment and others / Re: standard payment + shippin...
Last post by Toprabat - February 21, 2026, 11:38:55 AM
What was the solution for your problem?  ::)