VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: marvays on November 05, 2019, 06:58:26 AM

Title: Call to undefined function vmTrace()
Post by: marvays on November 05, 2019, 06:58:26 AM
After update to latest versin I have this:
Call to undefined function vmTrace()

Where is the problem?

test page: https://www.2019-11.lukysipy.cz/

PHP built   Linux
Typ databáze   mysql
Verze databáze   5.5.5-10.3.12-MariaDB
Řazení databáze   utf8_general_ci
Řazení při připojení k databázi   utf8mb4_general_ci
verze PHP   7.1.26
Webový server   Apache
Title: Re: Call to undefined function vmTrace()
Post by: StefanSTS on November 05, 2019, 09:11:22 AM
which latest version?
Title: Re: Call to undefined function vmTrace()
Post by: marvays on November 05, 2019, 09:34:40 AM
com_virtuemart.3.6.6.10191
but today i try another version, and have this problem too.
Title: Re: Call to undefined function vmTrace()
Post by: marvays on November 05, 2019, 09:35:39 AM
my working version on live site is VirtueMart 3.4.2
Title: Re: Call to undefined function vmTrace()
Post by: marvays on November 05, 2019, 09:44:57 AM
When I update, first update crashed.
Notice
Duplicate column name 'oc_note'
Install package: An error occurred while installing the extension: com_virtuemart.3.6.6.10191.zip

I must go to phpMyadmin and delete oc_note from orders

After i update again. All looks great, but cart not working. When I disable my OPC i get this error :(
Title: Re: Call to undefined function vmTrace()
Post by: Milbo on November 07, 2019, 11:36:05 AM
Please test again with the last core vm3.6.8.101097
Title: Re: Call to undefined function vmTrace()
Post by: marvays on November 07, 2019, 18:07:11 PM
Warning
Duplicate column name 'oc_note'
Package Install: There was an error installing an extension: com_virtuemart.3.6.8.10197.zip

Error
Error installing package

And in frontend:
1054
Unknown column 'c.virtuemart_shoppergroup_id' in 'field list'
Title: Re: Call to undefined function vmTrace()
Post by: StefanSTS on November 07, 2019, 20:23:50 PM
Is that a migration from a VM 2 store? I remember having something like that with a shop that was migrated from VM 2 before.

Title: Re: Call to undefined function vmTrace()
Post by: marvays on November 07, 2019, 21:05:50 PM
the first version of the eshop was vm2, but it has been a few years since it was migrated to vm3
Title: Re: Call to undefined function vmTrace()
Post by: GJC Web Design on November 08, 2019, 09:45:54 AM
try running the table updater before the next install attempt

tools -> Install or if necessary update tables
Title: Re: Call to undefined function vmTrace()
Post by: marvays on November 08, 2019, 11:48:25 AM
Quote from: GJC Web Design on November 08, 2019, 09:45:54 AM
try running the table updater before the next install attempt

tools -> Install or if necessary update tables
Good advice over gold. I salute you!