News:

Wondering if this will always be free?  See why free is better.

Main Menu

Calendar entries not showing up on calendar

Started by Chuck Baker, July 17, 2023, 06:43:22 PM

Previous topic - Next topic

Chuck Baker

Hi,

I searched for this issue, but the only thing I found was very old.
I'm running SMF version 2.1.4.

Some of the calendar event entries I've added are not showing up on the calendar.

I added an event for Saturday, August 5th.
I expected to see it on the August month calendar, but it's not there.
I tried displaying as LIST, MONTH and WEEK, but the event will not display.
I even tried adding another link to the calendar, but it's still not showing up.

And there is another multi-day event that only some of the days are displayed.
The event runs from Aug 3 to Aug 5, but the calendar only shows it on Aug 4 & 5.

Any help would be appreciated.

Thanks...
Chuck

Kindred

Url?

Timezone setting on your server?
Timezone setting in your forum?
Timezone setting in your profile?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Chuck Baker

Our calendar is located here:
hxxp:www.indyrcsouth.org/forum/index.php?action=calendar;viewmonth;year=2023;month=8;day=01 [nonactive]

There are several events in the first weekend of August that aren't showing up:
hxxp:www.indyrcsouth.org/forum/index.php/topic,3277.0.html [nonactive]
hxxp:www.indyrcsouth.org/forum/index.php/topic,3274.0.html [nonactive]
hxxp:www.indyrcsouth.org/forum/index.php/topic,3279.0.html [nonactive]

And one of the events is showing on the calendar, but only 2 of the 3 days - Aug 4 & 5 vs Aug 3-5.
hxxp:www.indyrcsouth.org/forum/index.php/topic,3270.0.html [nonactive]

Chuck

Chuck Baker

Answers to your other questions, I think...   :)

Timezone setting on your server?
Our ISP is on Pacific Daylight Savings

Timezone setting in your forum?
Server setting -> PHP Info -> Default timezone = America/New York

Timezone setting in your profile?
Local time in my Profile Info is Eastern Daylight Savings

Chuck

Aleksi "Lex" Kilpinen

That's odd. The individual topics seem fine, the calendar seems to show many many events, but not all of them quite apparently.

Do you know if your host has some caching running? What are the forum caching settings?
Does emptying the file cache do anything at all?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Chuck Baker

I do not know the answers to the caching questions...

I did add some more "test events" to the calendar, one each for Aug 1 thru Aug 12, and one on Aug 19.
All of them show up except for the ones on Aug 3 and Aug 5.

Aug 3 won't display the first day of a 3-day event or the test event, but does display another event.
Aug 5 won't display any of the newer events I've added, but does display a couple of other events.

Any idea what might be causing this?

Chuck

Aleksi "Lex" Kilpinen

Can you check these, just to make sure, even though I'm doubtful we learn anything useful.

Admin -> Maintenance -> Server Settings -> Caching, what is the "Caching Level" set at, and what is selected as the "Caching Accelerator"? Don't change anything, just note the settings.

Then go to Admin -> Maintenance -> Forum Maintenance -> Routine, at the last option "Empty SMF's cache" select run now, and check the calendar again to see if anything changed. Probably will not help, but worth a try.

Lastly go to Admin -> Maintenance -> Logs -> Error log, and if you see any errors that could be related to the cache, the events, or the calendar, let us know.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Chuck Baker

Sure...

Admin -> Maintenance -> Server Settings -> Caching, what is the "Caching Level" set at, and what is selected as the "Caching Accelerator"? Don't change anything, just note the settings.
-> Caching Level is "No caching"
-> Caching Accelerator is "SMF file based caching"

Then go to Admin -> Maintenance -> Forum Maintenance -> Routine, at the last option "Empty SMF's cache" select run now, and check the calendar again to see if anything changed. Probably will not help, but worth a try.
-> No change

Lastly go to Admin -> Maintenance -> Logs -> Error log, and if you see any errors that could be related to the cache, the events, or the calendar, let us know.
-> There are currently no error log entries

So, what's the next step?

Aleksi "Lex" Kilpinen

Was afraid so, it's at least not an issue with SMF caching. @shawnb61 @Sesquipedalian Good ideas welcome.
Seems like a random mystery to me.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Illori

admin -> forum -> calendar -> calendar settings, what value do you have for max days in advance on board index?

Chuck Baker

Max days in advance on board index is set to "7".

But wouldn't this only affect the "LIST" view, not the "MONTH" or "WEEK" view?

I changed it to 14, but am still unable to see the missing events on Aug 3 and Aug 5.

Changed it back to 7.

shawnb61

Could you share the results of this query:
SELECT * FROM `smf_calendar` WHERE id_event IN (2745,2752,2749,2756);
A question worth asking is born in experience & driven by necessity. - Fripp

shawnb61

Confirmed & logged here: https://github.com/SimpleMachines/SMF/issues/7803

I don't know WHY it's happening yet, but the date range logic definitely drops some under some circumstances.
A question worth asking is born in experience & driven by necessity. - Fripp

Chuck Baker

Quote from: shawnb61 on July 22, 2023, 04:05:04 PMCould you share the results of this query:
SELECT * FROM `smf_calendar` WHERE id_event IN (2745,2752,2749,2756);

Where would I go to run this query?
Or do you still need me to?
Chuck

shawnb61

It may still be helpful to see the info, thanks.  You can run it in phpmyadmin, in the SQL tab.

If you can't, no big deal, as I was able to reproduce this issue locally.

Thanks,
A question worth asking is born in experience & driven by necessity. - Fripp

Chuck Baker

Query results located here:
hxxp:drive.google.com/file/d/1AXHkY8jVLO6angs2LEGP2mjAj1wKcFvj/view?usp=sharing [nonactive]

shawnb61

Thanks!

BTW, very cool & active site.  Looks like fun!
A question worth asking is born in experience & driven by necessity. - Fripp

Chuck Baker

Thanks, and thank you for looking into this issue.
Hopefully it will be an easy thing to fix. :)
Chuck

Advertisement: