| Re: VLWeather Module Trouble... |
| by SLEO577 on 2005/7/19 11:35:10 Commenting out all the lines 16, 17, 18, 19, 20, 21 and 22 did stop any errors from coming up and the module is working as good as it did in version 2.0.13. Quote:
Luckily, I only need it in english. But no errors came up after commenting // out 21. Thanks for all your help! |
| Re: VLWeather Module Trouble... |
| by Pnooka on 2005/7/19 10:03:53 Well, i found the place in kernel/module.php. This is where XOOPS 2.2 get the module specific language code. Quote:
|
| Re: VLWeather Module Trouble... |
| by highlander on 2005/7/19 10:01:49 SLEO577, Dont comment out line 21 like in Pnooka's code. You will receive alot more errors than you are getting now. |
| Re: VLWeather Module Trouble... |
| by highlander on 2005/7/19 9:58:41 Quote:
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 |
| Re: VLWeather Module Trouble... |
| by Pnooka on 2005/7/19 9:58:15 This should do the trick for that. Quote:
|