Elxis CMS Forum
Extensions => Modules => Topic started by: nikos on December 20, 2011, 06:47:59
-
I tried 3 times on 3 different sites to make work the mod_weather version 1.3 and in all cases i had as output the following Error
PHP Error [Warning]
URI: index.php?option=com_content&task=view&id=100&Itemid=136
Path: /modules/mod_weather.php
Line: 19
require_once(/path/modules/mod_weather/mod_weather.class.php): failed to open stream: No such file or directory
The module at least to my case refused to work and was not able to find the path to the file mod_weather.class.php. Even on a localhost installation has the same problem
The corespondent component com_weather version 1.4 which i installed worked fine in all sites.
Any suggestion about the module?
OK I found out what is going on!
Is missing the declaration of file mod_weather.class.php into installation file mod_weather.xml
<files>
<filename module="mod_weather">mod_weather.php</filename>
<filename>mod_weather/index.html</filename>
<filename>mod_weather/mod_weather.css</filename>
<filename>mod_weather/russian.php</filename>
<filename>mod_weather/english.php</filename>
<filename>mod_weather/js/jquery.js</filename>
<filename>mod_weather/js/jquery.jHelperMod.js</filename>
<filename>mod_weather/js/index.html</filename>
<filename>mod_weather/images/index.html</filename>
<filename>mod_weather/images/1.png</filename>
<filename>mod_weather/images/2.png</filename>
<filename>mod_weather/images/3.png</filename>
<filename>mod_weather/images/4.png</filename>
<filename>mod_weather/images/5.png</filename>
<filename>mod_weather/images/6.png</filename>
<filename>mod_weather/images/7.png</filename>
<filename>mod_weather/images/8.png</filename>
<filename>mod_weather/images/close.gif</filename>
<filename>mod_weather/images/corner.png</filename>
<filename>mod_weather/images/leftright.png</filename>
<filename>mod_weather/images/topbottom.png</filename>
</files>
Acamball you have to correct it.
-
In your case Niko you can find the file named : mod_weather.class.php from module's installation package and upload it to this folder : modules/mod_weather/.
Of course this issue must be solved.
-
I'm sorry. Updated by EDC.
-
In your case Niko you can find the file named : mod_weather.class.php from module's installation package and upload it to this folder : modules/mod_weather/.
Of course this issue must be solved.
Of course and i did this to my case site where i wanted to make it work, but i had to inform also after i had created the topic.