× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

Zugriff externe Datenbank / Wo ist Query abfrage?

More
6 years 3 months ago - 6 years 3 months ago #4625 by info.mr.it
Hallo,

Ich benutze JooDatabase schon länger und es funktioniert alles prima :-)
Meine Frage:
Wo wird das SQL Query zusammengebaut, wenn ich index.php?option=com_joodb&view=catalog
aufrufe?

Ich möchte es mir zum debuggen anzeigen lassen

Danke
Last edit: 6 years 3 months ago by info.mr.it.

Please Log in to join the conversation.

More
6 years 3 months ago #4626 by Dirk
Die Query wird im Model zusammengefügt.

/components/com_joodb/models/catalog.php
Allerdings wird das nicht helfen wenn man probleme mit der Datenbank hat.

Die Datenbank mit der externen Verbindung wird in Zeile 91 geladen;
$this->_db = $this->_joobase->getTableDBO();

_joobase ist das zentrale JooDB Datenbankmodell in getTableDBO wird die Konfiguration getestet und gegebenenfalls eine Joomla Datenbank mit den Einstellungen für die externe Datenbank generiert.

Sinnvoller könnte es ein das Debugging von Joomla selbst einzuschalten!

Please Log in to join the conversation.

Moderators: Dirkjoest