Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8054 Posts in 1860 Topics- by 2099 Members - Latest Member: roi
Pages: [1] 2   Go Down
Print
Author Topic: Cannot add events  (Read 2823 times)
0 Members and 1 Guest are viewing this topic.
lazlo1
New Member
*

Karma: 1
Offline Offline

Posts: 5


« on: July 13, 2007, 05:50:10 PM »

Hi

I have installed the script and everything seems to be working fine, but not able to add events.
I go through the dialogs it all seems to be working, ( no warning or error message)  but the added event do not show up.
Any help is appreciated :'(

Lazlo
Logged
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: July 14, 2007, 02:54:07 AM »

I can think of three possibilities:

1.  The event was added but is 'pending approval'.  Did you add it whilst logged in as the Administrator or as a user??

2.  The file permissions are incorrect and the script is unable to write to the event and/or schedule data files.

3.  Your browser is displaying a 'cached' version of the calendar and not the current one.  Try refreshing the view or clearing your browser's cache.

JMO

Dan O.
www. much2. com
Logged
lazlo1
New Member
*

Karma: 1
Offline Offline

Posts: 5


« Reply #2 on: July 14, 2007, 05:19:41 AM »

Thanks Dan

I was logged in as Administrator
there was no file attachment, only text

viewed the page in a different browser, doesnt show the changes

I am very puzzled. 
I have installed another version of this program on a different server a couple of years ago, no problem with that one.

Lazlo
Logged
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: July 14, 2007, 04:56:20 PM »

** there was no file attachment, only text **

CalendarScript does not allow "file attachments" in any case.

Did you check the permissions for the events. txt and schedule. txt files? Or maybe look at their content to see if the data was recorded there?

Dan O.
Logged
lazlo1
New Member
*

Karma: 1
Offline Offline

Posts: 5


« Reply #4 on: July 15, 2007, 12:33:22 PM »

Dan

Thanks a lot.  I checked the events. txt file, it did record the event.  So I presume it is a good news.
Still not being to able to record anything. 
Lazlo
Logged
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #5 on: July 15, 2007, 03:52:02 PM »

Great, now how about the schedule.txt file?

Dan O.
Logged
lazlo1
New Member
*

Karma: 1
Offline Offline

Posts: 5


« Reply #6 on: July 15, 2007, 05:38:40 PM »

Dan

The schedule. txt seem to record mainly numbers, and seems to be putting in new data corresponding to the date.  Otherwise I cannot say much more about it.

Do you want me to send you these files ?

I can give you the link and the access to the Calendar if that would make it easier to figure out what is going on

Thanks again

Lazlo
Logged
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #7 on: July 15, 2007, 09:27:05 PM »

If the events are being posted to both the events.txt and schedule.txt file, I'm afraid I can not think of what would be preventing them from displaying. Sorry.

Dan O.
Logged
lazlo1
New Member
*

Karma: 1
Offline Offline

Posts: 5


« Reply #8 on: July 17, 2007, 05:57:49 PM »

Thank you Dan

The problem was with the server.  I reinstalled the script a couple of times, but it didn't work
Switched server, it worked for the first time

Thanks again for your help


Lazlo
Logged
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #9 on: July 17, 2007, 06:27:10 PM »

Glad to hear you figured it out.

Dan O.
Logged
venmc
New Member
*

Karma: 0
Offline Offline

Posts: 1


« Reply #10 on: July 31, 2007, 03:01:11 PM »

I've added events (They are in the events.    txt & schedule.    txt files) But they are not appearing on the calendar or in the Add/Edit in the admin utility.   

When I comment out the following in the Event.  inc the event appears. 
# Skip the event unless it's approved
# next unless ($event_details->{$s->{'event_id'}}->{'approved'});

Update: The solution was found in another part of the forum. . . 
the server permissions for all files & folders under calendarscript need to be chmod to 777.

« Last Edit: July 31, 2007, 05:40:21 PM by venmc » Logged
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #11 on: July 31, 2007, 09:19:59 PM »

** The solution was found in another part of the forum. . . the server permissions for all files & folders under calendarscript need to be chmod to 777.  **

That is not allowed on many servers as it can create a potential security risk Shocked 

At most the /calendarscript/ and subdirectories should only need permissions of 666 (read and write) and not execute (which 777 also gives them).

JMO

Dan O.
Logged
dowty
New Member
*

Karma: 0
Offline Offline

Posts: 3


« Reply #12 on: August 02, 2007, 03:56:04 PM »

I have the same problem as Lazlo.   The events. txt and schedule. txt are being written, but events do not show up on calendar or in edit events.

It is not clear what the solution(s) in this thread are.   venmc refers to Event.  inc - I can't find this file.   Using another server is not an option (I am using Bluehost).
Logged
dowty
New Member
*

Karma: 0
Offline Offline

Posts: 3


« Reply #13 on: August 03, 2007, 10:11:50 AM »

Oops, I found the Event. inc file after all, and made the change as done by venmc.   As a result I can edit the events.   They are all pending approval, and when I go through the approval procedure it appears to work, but events do not appear and they are still pending approval.

I am logged on as Administrator - do I need to change permissions somewhere, or log on as a specific user?  Selecting the Change permissions options does not show any specific user, and when I change all the permissions for anonymous(?) it has no effect.
Logged
DanO
Full Member
***

Karma: 13
Offline Offline

Posts: 235

Please don't PM me. Post in the open forum.


WWW
« Reply #14 on: August 03, 2007, 08:51:56 PM »

** They are all pending approval, and when I go through the approval procedure it appears to work, but events do not appear and they are still pending approval. **

It sounds like the file or directory permission are incorrect for the events.txt file.

** I am logged on as Administrator - do I need to change permissions somewhere **

The Administrator account automatically has all possible permissions. BTW. If a user didn't have permissions to perform an action, they shouldn't usually even see the screen for that function. So, if whatever account you're logged in as gets to the particular screen, they should have permissions to do it.

JMO

Dan O.

Logged
Pages: [1] 2   Go Up
Print
Jump to: