Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache vs forum subforum #3218

Closed
Jimmi08 opened this issue Jun 25, 2018 · 2 comments · Fixed by #4716
Closed

cache vs forum subforum #3218

Jimmi08 opened this issue Jun 25, 2018 · 2 comments · Fixed by #4716
Assignees
Labels
plugin: forum type: bug A problem that should not be happening
Milestone

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Jun 25, 2018

I use content cache ON

I added sub sub forum (parent and subforum set)

  • it wasn't displayed on forum page
  • it was displayed on subforum list of parent forum, but after clicking on it, I was redirect to forum homepage

I added topic to other forum and then moved it to correct subforum. Worked.

Still no change on homepage and in adding new topic.

Then I cleared cache and everything works now.

I mean this:
image

@Moc Moc added the type: bug A problem that should not be happening label Jun 25, 2018
@Moc Moc added this to the e107 2.1.9 milestone Jun 25, 2018
@CaMer0n CaMer0n modified the milestones: e107 2.1.9, e107 2.2.0 Aug 22, 2018
@Moc Moc self-assigned this Jan 31, 2019
@Moc
Copy link
Member

Moc commented Feb 1, 2019

Confirmed issue with content cache on. This is output, debug?:

Array
(
    [id] => 6
)
Array
(
    [sef] => subchild-1-2-1
    [p] => 
)

*path*\e107_plugins\forum\forum_viewforum.php Line: 118 forumId: 6

@Moc Moc modified the milestones: e107 2.2.0, Future Feb 1, 2019
@Moc Moc removed their assignment Feb 1, 2019
@Moc Moc modified the milestones: Future, e107 2.2.1 Feb 27, 2019
@Moc Moc self-assigned this Oct 11, 2019
@Jimmi08
Copy link
Contributor Author

Jimmi08 commented Mar 26, 2022

@Moc
this could be the reason
This is used:
e107::getCache()->clear_sys('forum_perms');

Pattern is
S_forum_perms*.cache.php
but file name is
C_forum_perms_00b831c1801c8042ecbc12fd0c030217.cache.php

so it is not able to delete cache correctly - C versus S

CaMer0n added a commit that referenced this issue Mar 27, 2022
Fixes #3218 - Forum cache was not clearing when expected.
@CaMer0n CaMer0n added this to the e107 2.3.2 milestone Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: forum type: bug A problem that should not be happening
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants