VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: MKI-Miro on March 16, 2013, 10:51:24 AM

Title: Fatal error: Call to undefined method JDatabaseMySQL::getTableColumns()
Post by: MKI-Miro on March 16, 2013, 10:51:24 AM
Hello

I followed this tutorial for upgrading from 1.1.9 to 2.0.20a

http://forum.virtuemart.net/index.php?topic=95236.0

Everything went ok sice i click on START MIGRATION

i got this error: Fatal error: Call to undefined method JDatabaseMySQL::getTableColumns() in /home/bm003700/www_root/administrator/components/com_virtuemart/helpers/vmtable.php on line 1400

what do i wrong ? thanks
Title: Re: Fatal error: Call to undefined method JDatabaseMySQL::getTableColumns()
Post by: rodeoslider on March 17, 2013, 16:58:22 PM
Hi and welcome to the Upgrade Guide!

If you encounter this error through debugging your php.ini E_ALL:

php.ini
; Error Level Constants:
E_ALL

PHP Fatal error:  Call to undefined method JDatabaseMySQL::getTableColumns() in /var/www/joomla15-vm2/administrator/components/com_virtuemart/helpers/vmtable.php on line 1400

just comment the specified line out and it will work on j 1.5

//$columns = $db ->getTableColumns($this->_tbl);

PLEASE: do not try this on a live shop site!!! make a backup every time you try to interact with migration tasks on your database...
Title: Re: Fatal error: Call to undefined method JDatabaseMySQL::getTableColumns()
Post by: yayo76 on April 11, 2013, 15:51:49 PM
Hi,
I'd like to migrate my site to joomla 2.5 and vm2. I've migrated the users from vm1.1.9 to vm2.0.20b but in the administrator panel->Orders & Shoppers->shopper i see the list of the user but not the "Bill To Information" fields. How I can solved it?
Thank you
Regards

[attachment cleanup by admin]
Title: Re: Fatal error: Call to undefined method JDatabaseMySQL::getTableColumns()
Post by: MAD King on May 18, 2013, 15:01:38 PM
Great. Thank you very much


Quote from: rodeoslider on March 17, 2013, 16:58:22 PM
Hi and welcome to the Upgrade Guide!

If you encounter this error through debugging your php.ini E_ALL:

php.ini
; Error Level Constants:
E_ALL

PHP Fatal error:  Call to undefined method JDatabaseMySQL::getTableColumns() in /var/www/joomla15-vm2/administrator/components/com_virtuemart/helpers/vmtable.php on line 1400

just comment the specified line out and it will work on j 1.5

//$columns = $db ->getTableColumns($this->_tbl);

PLEASE: do not try this on a live shop site!!! make a backup every time you try to interact with migration tasks on your database...