Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
Set Up problems

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Questions
View previous topic :: View next topic  
Author Message
wschempp



Joined: 14 Sep 2006
Posts: 3

PostPosted: Thu Sep 14, 2006    Post subject: Set Up problems Reply with quote

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
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1471

PostPosted: Wed Sep 20, 2006    Post subject: Reply with quote

Interesting problem Very Happy 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
View user's profile Send private message
wschempp



Joined: 14 Sep 2006
Posts: 3

PostPosted: Wed Sep 20, 2006    Post subject: Set Up problems Reply with quote

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
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1471

PostPosted: Wed Sep 20, 2006    Post subject: Reply with quote

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
View user's profile Send private message
wschempp



Joined: 14 Sep 2006
Posts: 3

PostPosted: Wed Sep 20, 2006    Post subject: Set Up problems Reply with quote

Thank you, thank you, THANK YOU !!!
Back to top
View user's profile Send private message
paulp575



Joined: 30 Jun 2005
Posts: 37
Location: Spokane WA

PostPosted: Wed Oct 04, 2006    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Questions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net