EasyCreator icon indicating copy to clipboard operation
EasyCreator copied to clipboard

"sql" instead of "mysql" in component xml // no execution of sql install file

Open ghost opened this issue 13 years ago • 0 comments

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.

ghost avatar Jul 05 '12 14:07 ghost