| View previous topic :: View next topic |
| Author |
Message |
wschempp
Joined: 14 Sep 2006 Posts: 3
|
Posted: Thu Sep 14, 2006 Post subject: Set Up problems |
|
|
I am new to this and admittedly somewhat of a hacker when it comes to Perl and java script but I am good at following directions.
I have installed a calendar at http://www.wiltonfriends.org/cgi-bin/calendar/plans.cgi
The changes I make to the plans.template work but it doesn't seem as if changes made to the css file take effect and I get no borders around individual days.
Also when I click on and event, the little event window doesn't open; if I click on Calendar Settings/Edit this Calendar, I can't really change anything.
When I check the java script console I get a few messages that seem related like, "Error: plans_options is not defined
Source File: http://www.wiltonfriends.org/cgi-bin/calendar/plans.cgi?active_tab=2&add_edit_cal_action=edit&cal_id=0
Line: 37"
Any ideas?
Thanks in advance! |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1471
|
Posted: Wed Sep 20, 2006 Post subject: |
|
|
Interesting problem It looks like a server permissions issue.
If you view the source of the calendar page, you'll see a reference at the top:
| Code: | | <link rel="stylesheet" href="http://www.wiltonfriends.org/theme/plans.css" type="text/css"> |
When I point my browser at that css file:
http://www.wiltonfriends.org/theme/plans.css
I get "403 forbidden - you do not have permission to access /theme/plans.css on this server"
I think that's why the css file isn't working - the browser isn't able to fetch it.
Same thing with the .js files:
http://www.wiltonfriends.org/theme/plans.js
I believe this is why the javascript console is reporting errors.
- Lloyd |
|
| Back to top |
|
 |
wschempp
Joined: 14 Sep 2006 Posts: 3
|
Posted: Wed Sep 20, 2006 Post subject: Set Up problems |
|
|
Hi and thanks for the response.
As stated in the installation documentation I have set the permissions for the directories Theme and sub directories, graphics and icons as rwx, rwx, -- (770) and "other" files as rw, r-,r- (644). Should the .css and .js files be set differently?
Thanks in advance. |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1471
|
Posted: Wed Sep 20, 2006 Post subject: |
|
|
That '0' in the '770' might be a problem. I think that prevents the 'anonymous' user (which the webserver probably runs as) to read files within those directories, regardless of the permissions of those individual files.
My theme directory is '777'
- Lloyd |
|
| Back to top |
|
 |
wschempp
Joined: 14 Sep 2006 Posts: 3
|
Posted: Wed Sep 20, 2006 Post subject: Set Up problems |
|
|
| Thank you, thank you, THANK YOU !!! |
|
| Back to top |
|
 |
paulp575
Joined: 30 Jun 2005 Posts: 37 Location: Spokane WA
|
Posted: Wed Oct 04, 2006 Post subject: |
|
|
| daltonlp wrote: | That '0' in the '770' might be a problem. I think that prevents the 'anonymous' user (which the webserver probably runs as) to read files within those directories, regardless of the permissions of those individual files.
My theme directory is '777'
- Lloyd |
Yes, I agree with you!
I had the same problem of following set permissions in the documentation. After doing so, my calendar would display, but no borders, colors, etc. I thought it may have been something about placing static files in folders with scripts, so I asked my hosting folks to take a look.
They said it was permissions. They changed the theme folder permissions from rwxrwx--- (770) to rwxrwxr-x (775) and my calendar now works!!!
It might be worthwhile to modify the documentation to reflect this???
Thanks,
paulp575 |
|
| Back to top |
|
 |
|