5
Quote:
Pnooka wrote:
You could comment this lines, like this.
Quote:
//$language = $xoopsConfig['language'];
Since the XOOPS core finds module specific languages within the module structure.
Pnooka,
The line you want to comment out is the module asking the core which language is default and then looking for a folder with that name.
If you want to fix this by adding // in front of lines you would have to comment out lines 16, 18, 19, 20 and 22.
The module should then work without errors but only in english. (you could offcourse change "english" into your default langauge!!) (line 21)
The part which is giving you trouble is the module asking XOOPS about the default language. And there should be a better fix then just taking this question out of the code. I believe I have seen other modules request the default langauge the same way. Will the all give errors on 2.2 ???
greetings Highlander