elkuku / EasyCreator

EasyCreator helps creating extensions for the Joomla! CMS
http://extensions.joomla.org/extensions/miscellaneous/development/5908
50 stars 23 forks source link

SQL syntax error in DataDesigner #24

Closed doorknob2 closed 10 years ago

doorknob2 commented 10 years ago

I get the following error message on clicking the 'DataDesigner' button: "SHOW TABLE STATUS FROM `` LIKE 'xxx_componentname;" This was caused by an error in views/stuffer/tmpl/tables.php (v0.0.21) at line 23 which failed to get the database name from the config file. I fixed it by changing the code from $dbName = JFactory::getConfig()->get('config.db'); to $dbName = JFactory::getConfig()->get('db'); (using J3.2.1)

elkuku commented 10 years ago

That was the "old style" in Joomla! accessing configuration values. It is still present because the "DataDesigner" hasn't really had that much attention lately.

If you could jump in here, that would be cool. :wink: