Shopper Fields Error, Call to undefined method JDatabaseMySQLi::getTableColumns

Started by drayks, September 18, 2013, 14:26:42 PM

Previous topic - Next topic

drayks

Hi everyone,

i have searched hi and low for this all over the interent but i cannot find any solution.

Im pretty sure this is a Joomla Bug than a VirtueMart Bug, anyway this is the problem.

When i try to insert a "Shopper Field" item in the Administrator I get the following error

[18-Sep-2013 15:22:27] PHP Fatal error:  Call to undefined method JDatabaseMySQLi::getTableColumns() in C:\inetpub\vhosts\pyrotexnima-corfu.gr\httpdocs\administrator\components\com_virtuemart\helpers\vmtable.php on line 1508

At line 1508 in that file:

//Check if a column is there
$db = JFactory::getDbo();
if(JVM_VERSION===1){
   $columns = $this->getTableColumns($this->_tbl);
} else {
   $columns = $this->_db->getTableColumns($this->_tbl);    <-- Line 1508
}


Joomla Version 1.6.3
VirtueMart Version 2.0.22c

I hope someone can point me to the right direction, thank in advance.

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

drayks

Thank for your reply, updating Joomla would be my last option right now.

Thank you anyway.

jenkinhill

Joomla 1.6.3 has known critical security holes and should not be used for a live site. VM2.0.22 is developed and tested  to run on J2.5 and no earlier versions.
http://forum.virtuemart.net/index.php?topic=118683.0

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum