jfquestiaux
Well-Known Member
I'm writing a Fabrik plugin for JSitemap Pro, to create XML sitemaps with records in Fabrik lists.
It's working fine for the default connection, but I need to add a feature to accomodate the case where the records come from another database than the default J! one. Getting these data is not a problem, except that the password is encrypted!
So I tried to use Fabrik itself to provide the data: I tried this:
include_once(JPATH_SITE . '/components/com_fabrik/models/connection.php');
$fabrikDb = new FabrikFEModelConnection;
$fabrikDb->getConnection($id);
but it crashes the system! Huge memory leak. So I'm stuck and don't know what else to try. Any idea?
It's working fine for the default connection, but I need to add a feature to accomodate the case where the records come from another database than the default J! one. Getting these data is not a problem, except that the password is encrypted!
So I tried to use Fabrik itself to provide the data: I tried this:
include_once(JPATH_SITE . '/components/com_fabrik/models/connection.php');
$fabrikDb = new FabrikFEModelConnection;
$fabrikDb->getConnection($id);
but it crashes the system! Huge memory leak. So I'm stuck and don't know what else to try. Any idea?