You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
as you've seen i'm working on an integration of piwik into TYPO3.
Upto piwik 0.6.4 the i could send queries with tablenames prefixed with an different database. Since 0.9.x this is quite complex, as piwik seems to prefix the tables with the database name itself.
$beUserName = Zend_Registry::get('db')->fetchOne(
'SELECT username FROM `be_users` WHERE uid = ?',
array($beUserId)
);
But why do i need that feature?
TYPO3 has a built in Tablestructure checker, which complains about the dynamically created Piwik tables. Moving these tables to a different DB would solve that.
I want to use the API to be compatible with future Piwik versions ;)
The text was updated successfully, but these errors were encountered:
AFAICT there's nothing here to change in Piwik. I've dumped the sql before it's prepare()d in ZF, and it doesn't have the database name prefixed. And I can't find any instances in core or plugins where we explicitly prefix the dbname.
If your dbname is t3alpha4_3, then the following should work if the same dbuser has access to both databases.
Piwik_FetchAll('SELECT * from otherdatabase.tx_piwikintegration_option');
MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
hello guys,
as you've seen i'm working on an integration of piwik into TYPO3.
Upto piwik 0.6.4 the i could send queries with tablenames prefixed with an different database. Since 0.9.x this is quite complex, as piwik seems to prefix the tables with the database name itself.
But why do i need that feature?
The text was updated successfully, but these errors were encountered: