Strange 403 Forbidden errors when Designers Mode ON

Strange 403 Forbidden errors when Designers Mode ON

by Zack Mack -
Number of replies: 3

Hi All,

I am using moodle to my online courses, Moodle version is 3.2.6.  It works fine when i disable Designer's mode. However, problem starts when i enable Designers mode to make some design/css changes, The problem is that it does not load all the CSS/JS files.

In firefox's Firebug it displays all the CSS/JS files as this :

 
"NetworkError: 403 Forbidden - http://mysite.com/moodle/theme/styles_debug.php?theme=anamoly&type=plugin&subtype=mod_forum"
 
 
"NetworkError: 403 Forbidden - http://mysite.com/moodle/theme/styles_debug.php?sheet=layout&theme=anamoly&type=theme"
styles...e=theme
"NetworkError: 403 Forbidden - http://mysite.com/moodle/lib/javascript.php/1371897529/lib/javascript-static.js"
 
When i open this same URL like "http://mysite.com/moodle/lib/javascript.php/1371897529/lib/javascript-static.js " directly in Addressbar, it got displayed. So there seems to be problem within Moodle files/functions.
 
Please help me out with this, it is quite important for  me to work on it with designers mode enabled.
 
Thanks
 
Average of ratings: -
In reply to Zack Mack

Re: Strange 403 Forbidden errors when Designers Mode ON

by Zack Mack -

anyone please ?

In reply to Zack Mack

Re: Strange 403 Forbidden errors when Designers Mode ON

by Richard Price -

Hi Zack, I think I may have seen this once before, but really cannot remember what it was nor doing anything particular to solve it.
Have a look at this page.

I would start by changing to a basic theme and seeing if the same errors are present. 
Then looking at the permission/owner for the folders and files within that theme. Are the files listed where expected for this theme.

In reply to Richard Price

Re: Strange 403 Forbidden errors when Designers Mode ON

by Zack Mack -

Thanks Richard, Will try information provided in this URL, will update all once done.

 

Thanks