Note: Due to the amount of SPAM received in the forums and to better serve our customers, support is now done by sending a message using the "Contact" link above . This forum is set to read-only, but you can still search the forum.

Zap Weather Bug Report

TOPIC: Cache refresh not detected

Re:Cache refresh not detected 13 years 4 months ago #1714

  • sfosseen
  • sfosseen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
I may have not gotten all the related error message in the previous post. Attached is the Apache error log related to me clicking from the back end
Components
ZWeather

File Attachment:

File Name: zweather_diag_3.txt
File Size: 3400
Attachments:
The administrator has disabled public write access.

Re:Cache refresh not detected 13 years 4 months ago #1747

  • sfosseen
  • sfosseen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
Anything else I can try to resolve this?
The administrator has disabled public write access.

Re: Cache refresh not detected 13 years 4 months ago #1749

  • sfosseen
  • sfosseen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
cogliano wrote:
The cache refresh detect feature looks for the file refreshdetect.txt file in the cache/com_zweather folder. Make sure this folder exists and is writable. The file is created automatically if the folder is writable.

I only have two files in this folder
cache_d3dc5d53ece0c97e02e9e351dc9ab5f3_752289360d237e4a6f021f5ebc0d9697
index.html

Security on both these files are 0777 as well as the folder the files are in.
The administrator has disabled public write access.

Re: Cache refresh not detected 13 years 3 months ago #1774

  • cogliano
  • cogliano's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1854
  • Thank you received: 58
  • Karma: 29
You can try this to fix the fatal error shown in your log file. I'm not sure if that is the root of the problem, however. Modify line 778 in administrator/components/com_zweather/admin.zweather.php from this:
if ($element->getTagName() != 'zcontent')

to this:
if (!$element || $element->getTagName() != 'zcontent')
The administrator has disabled public write access.

Re: Cache refresh not detected 13 years 3 months ago #1775

  • sfosseen
  • sfosseen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
That code change did allow access to the admin component. Clear Cache and Refresh Cache do not eliminate the cache refresh error. Also when I open the Location Manager the screen does not load completely.

Attached are a few screen shots, and the Apache error log.

File Attachment:

File Name: zweather_diag_4.zip
File Size: 14847
Attachments:
Last Edit: 13 years 3 months ago by sfosseen. Reason: Attachment was too big
The administrator has disabled public write access.

Re: Cache refresh not detected 13 years 3 months ago #1776

  • sfosseen
  • sfosseen's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
And I also ran this to confirm the download path was not blocked.

> cd cache/com_zweather
> wget www.weather.gov
--2011-01-04 09:09:55-- www.weather.gov/
Resolving www.weather.gov... 140.90.113.200
Connecting to www.weather.gov|140.90.113.200|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 97706 (95K) [text/html]
Saving to: `index.html.1'

0K .......... .......... .......... .......... .......... 52% 250K 0s
50K .......... .......... .......... .......... ..... 100% 289K=0.4s

2011-01-04 09:09:55 (267 KB/s) - `index.html.1' saved [97706/97706]
Last Edit: 13 years 3 months ago by sfosseen.
The administrator has disabled public write access.
Time to create page: 0.103 seconds
Powered by Kunena Forum