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


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationPlugins (Moderators: scott, DanO, Marty)Wierd symptom in Quick Add Plugin
Pages: [1]   Go Down
Print
Author Topic: Wierd symptom in Quick Add Plugin  (Read 659 times)
0 Members and 1 Guest are viewing this topic.
sscvsat
Guest
« on: November 04, 2005, 09:40:00 PM »

I have had plugin running for months no probs.  Starting yesterday, when you click "Quick Add" it opens window and already has time and date entered of 11/04/05, 14:00 to 15:00 instead of the normal blank entries.  Always the same day and times. Now here is what get strange...I have 2 calendars set up on this server and it only does it on one of them.  Dan O. any clues?  Am I missing something obvious that one of the users of that specific calendar could have changed?
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: November 05, 2005, 01:23:00 PM »

** when you click "Quick Add" **

I'm afraid I have never heard of such a feature on CalendarScript. Is it something you customized yourself?

Dan O.

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

Logged
sscvsat
Guest
« Reply #2 on: November 28, 2005, 05:54:00 AM »

Dan, Sorry, I have relabeled that button.  The plugin I am referring to is "OneClick Event Entry".  I do not have this symptom when using the "stock" add event feature.  thx-
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #3 on: November 28, 2005, 01:07:00 PM »

** opens window and already has time and date entered of 11/04/05, 14:00 to 15:00 instead of the normal blank entries. **

Maybe your browser has cached previously entered values? Have you tried clearing your browser's cache or using a different browser to see if it acts the same?

I can't think of anything else which would cause it. Sorry.

Dan O.

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

Logged
sscvsat
Guest
« Reply #4 on: November 28, 2005, 06:51:00 PM »

Dan, it does this on any computer from any location.  wierd I know.  both calendars I have on this server use the same script/plugin.  One calendar does it and the other is normal. can you think of anything that would separate them?  I'm no where near an expert at this, does the plugin create a different html page for one calendar vs the other when requested?  Not sure if that's even a valid question.  Thx for your replies, I'll keep digging on this end!
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #5 on: November 28, 2005, 08:08:00 PM »

** can you think of anything that would separate them? **

Yes, each have different schedule files.

I just tried mine and it was starting with a date of 02/05/2005. I found that it was retrieving a corrupted schedule file, one that didn't have an event ID defined for it, and using its date.

You can try these changes although I have no idea of their full possible ramifications. I doubt there will be any though.

In the One Click plug-in's schedule_oneclick_non_recurring.html file, find the line (at approx # 13)

$schedule = $db_schedule->getRecord( {'event_id'=>$event->{'id'}} );

and try changing it to

if ($event->{'id'}) {
$schedule = $db_schedule->getRecord( {'event_id'=>$event->{'id'}} );
}

Maybe you can report any problems it generates (if it does).

BTW. You might also want to check your schedule.txt file looking for any without an event_id defined for them. Such schedules probably shouldn't be in there.

JFYI

Dan O.

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

Logged
sscvsat
Guest
« Reply #6 on: December 23, 2005, 12:01:00 AM »

Dan, You're the best!! It was the schedule.txt file missing one enentid.  Fixed and working great!  Sorry for late reply - been out of town for work.  Thanks again for your help.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #7 on: December 24, 2005, 06:16:00 PM »

Glad to hear it, thanks for the follow up.

Dan O.

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

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