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" instead of "mysql" in component xml // no execution of sql install file #11

Open ghost opened 12 years ago

ghost commented 12 years ago

I had a problem today that installing a generated component would not execute the sql install file. I have to say that I didn't build the component with EasyCreator, I registered it later.

I realized that in the components xml it said "install/sql/install.utf8.sql". After changing it to "install/sql/install.utf8.sql" (sql => mysql) everything went fine.

For now I've added if($driver=="sql") $driver = "mysql"; after $driver = array_pop($parts); in /administrator/components/com_easycreator/helpers/project/manifest.php

This helps me.

I've used version 0.0.18 of EasyCreator. I hope this helps you fixing this little bug.