WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Custom Website Templates => Topic started by: Bunty on January 20, 2021, 04:10:48 AM

Title: No Sunlight Pie Chart
Post by: Bunty on January 20, 2021, 04:10:48 AM
How do I get the sunlight pie chart showing where it's supposed to be on right side of page.  I do have a recent heavenpie.png in the cache. Thanks.

https://stillwaterweather.com/wxindex (https://stillwaterweather.com/wxindex)

Title: Re: No Sunlight Pie Chart
Post by: ConligWX on January 20, 2021, 04:52:37 AM
Permission issue perhaps?

https://stillwaterweather.com/cache/heavenpie.png
Code: [Select]
Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Also your code says:

Code: [Select]
src="cache/heavenpie.png"
Perhaps

Code: [Select]
src="./cache/heavenpie.png"
???
Title: Re: No Sunlight Pie Chart
Post by: Bunty on January 20, 2021, 01:52:29 PM
Permission issue perhaps?

https://stillwaterweather.com/cache/heavenpie.png
Code: [Select]
Forbidden
You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Also your code says:

Code: [Select]
src="cache/heavenpie.png"
Perhaps

Code: [Select]
src="./cache/heavenpie.png"
???

Adding ./ to code didn't help.  Update.  It works now.  Apparently adjusting file permissions in cache folder fixed problem.