Hello to all.. I hope someone can help me.
I'm facing a strange problem using mod_smf_recent_topics_sa.
I've an ELXIS site instellad in a subfolder Root/web and a SMF forum installed under Root/forum.
Both applications use 2 different database. SMF in a database called Sql_XXXXX_2 and - ELXIS in database Sql_XXXXX_1
I've installed mod_smf_recent_topics_sa and according to the post found here:
http://forum.elxis.org/index.php?topic=2892.0 I've changed the line :
$this->smfpath = $mosConfig_absolute_path.$this->modparams['path'];
With $this->smfpath = '/Root/forum';
All went ok.. enabling the module I can read the latest SMF post and if I click on it redirect me in the interested post but in the module pubblished below in the same position (login module in that case) I've this error:
mysql Error [1146] : EXECUTE
URI: index.php
Message: Table 'Sql_XXXXX_2.elx_users' doesn't exist
SELECT name, avatar FROM elx_users WHERE id='62' LIMIT 0,1
In that case was login module but wichever module I pubblish after SMF goes in error and starting from there all module goes in error. If I disable SMF all went ok. As you all can read It's like ELXIS stay with the SMF database searching data that obviusly are in the other database and don't switch back to the other db. In fact the ELXIS is installed with the Sql_XXXXX_1 Db .
Anyone can try to help me ?
Thank you.