"Weather" and "stock market": error messages

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Mon Apr 02, 2012 6:35 am
There are warning and notice messages in module "GK Weather" and "Stock market":
1) Warning: filesize() [function.filesize]: stat failed for ...cache/mod_weather.xml in ...modules/mod_weather_gk4/helper.php on line 284
2) Warning: file_put_contents(...modules/mod_weather_gk4/cache/mod_weather.xml) [function.file-put-contents]: failed to open stream: Permission denied in .../libraries/joomla/filesystem/file.php on line 418
3) Warning: filesize() [function.filesize]: stat failed for ...cache/mod_stock_gk4.data in ...modules/mod_stock_gk4/helper.php on line 94
4) Warning: file_put_contents(...modules/mod_stock_gk4/cache/mod_stock_gk4.backup.xml) [function.file-put-contents]: failed to open stream: Permission denied in юююlibraries/joomla/filesystem/file.php on line 418
5) Notice: Undefined offset: 1 in ...modules/mod_stock_gk4/helper.php on line 170
6) Notice: Undefined offset: 1 in ...modules/mod_stock_gk4/helper.php on line 171
How to remove these messages?
User avatar
Junior Boarder

teitbite
Wed Apr 04, 2012 12:59 am
Hi

Please set permissions of 755 to the cache folders of this 2 modules. If this will not help try 777.
User avatar
Moderator

GK User
Thu Apr 05, 2012 7:48 pm
teitbite wrote:Hi

Please set permissions of 755 to the cache folders of this 2 modules. If this will not help try 777.

Thanks, but even 777 is not work; only disabling of cache helps to solve the issue for weather module completely. Stock module problem is not solved yet.
User avatar
Junior Boarder

teitbite
Thu Apr 05, 2012 9:25 pm
Hi

That's odd. Please show me Your site and send me an access to joomla panel.
User avatar
Moderator

teitbite
Fri Apr 06, 2012 2:29 pm
Hi

Code: Select all
Warning: file_put_contents(/home/u74769/neogeography.ru/www/rus/modules/mod_stock_gk4/cache/mod_stock_gk4.backup.xml) [function.file-put-contents]: failed to open stream: Permission denied in /home/u74769/neogeography.ru/www/rus/libraries/joomla/filesystem/file.php on line 418


This message points that the permissions on stock module cache is wrong or it's a script permission settings on the server. Anyway I can see module is working, so try simply hide warning messages by switching error level display to none in global settings for server in joomla panel.
User avatar
Moderator

GK User
Fri Apr 06, 2012 4:00 pm
It works, thank you
User avatar
Junior Boarder

teitbite
Sat Apr 07, 2012 4:39 pm
Hi

Glad I could help.
User avatar
Moderator

GK User
Sat Jun 23, 2012 5:32 pm
Really,

was not necessary to change file permissions. Only in joomla global configuration error reporting, as no solve the problem. Thank you guys! :o
User avatar
Senior Boarder

teitbite
Mon Jun 25, 2012 10:19 pm
Hi

Error reporting will hide a message but will not fix the problem. Changing of permissions should be the right solution.
User avatar
Moderator


cron