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


Login with username, password and session length

Search

 
Advanced search

8039 Posts in 1852 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)Add Event gives incorrect title and author
Pages: [1]   Go Down
Print
Author Topic: Add Event gives incorrect title and author  (Read 420 times)
0 Members and 1 Guest are viewing this topic.
dbuckley
New Member
*

Karma: 0
Offline Offline

Posts: 0

webmaster


WWW
« on: April 28, 2003, 11:02:00 AM »

I'm having a rather bizarre occurence when a user adds an event. After adding the event, the title that appears for the event is from a different event (this seems random, I haven't been able to track consistantly) and the "Event Author" is wrong (this always seems to be the same author however).

I noticed that when submitting, the second part of the submission (Schedule Event) defaults with the "All Day" box checked and the "Individual Date" radio button is selected and shows a default of what seems to be a random date instead of the current date.

Any suggestions would sure help! Thanks!

Calendarscript ver 3.2
Using Redhat Linux 7.1
Apache 1.3.26
Internet Explorer 6.0
debug.pl gives no errors, everything uploaded in ASCII
$BASE_DIR was set manually (but it didn't make any difference)

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 227

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


WWW
« Reply #1 on: April 29, 2003, 02:49:00 PM »

** After adding the event, the title that appears for the event is from a different event **

Sounds like your event's database file may be screwed up. Either have a look to see if all events conform to the first line or delete them all and start again.

Dan O.

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 227

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


WWW
« Reply #2 on: April 29, 2003, 06:32:00 PM »

** look to see if all events conform to the first line **

BTW. I believe the record format in that file is tab delimited so make sure you use an application which can make them visible.

Dan O.

------------------

Logged
dbuckley
New Member
*

Karma: 0
Offline Offline

Posts: 0

webmaster


WWW
« Reply #3 on: April 30, 2003, 11:07:00 PM »

I'm afraid I may be looking at a re-install. There are easily 200 events, it would take me days to go through the events.txt file line by line (it's 22 pages of ascii). Plus, doesn't the schedule.txt file correspond to the events.txt file? If that's the case it seems almost as likely that the error could be in that file.

What I find odd is that when adding the event, instead of the Start Time/End Time/Individual Date areas being blank, they are filled in already and the corresponding (previously added) event gets overwritten, no matter what new day and time is added.

I realize this is all rather vague sounding, I don't even have an entry in the error log to recite.

------------------

Logged
dbuckley
New Member
*

Karma: 0
Offline Offline

Posts: 0

webmaster


WWW
« Reply #4 on: May 02, 2003, 10:35:00 AM »

Finally I think I've realized the problem here, and the kicker is that it's my own fault. Several months ago, at a user's request, I copied the events.txt file from one calendar to another, but on different systems. Apparantly I copied the events.txt file but the other files did not transfer. In particular, events.id (the importance of this simple file is perhaps underappreciated), schedule.id, and even schedule.txt.
Naturally the events.id file did not correspond to the number of events in event.txt. As a result, duplicate ID numbers were being created and the corresponding schedule.txt information was confused.

It's a wonder it worked at all.

Thanks for the help!

Dan B.

------------------

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