Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Clover13 Posted September 27, 2023 Posted September 27, 2023 Pretty sure I have it configured correctly, but can't get it to show anything. Plenty of posts on my site, I've tried it as a sidebar block, as a page block, as a subforum block. Nothing ever appears. Current settings, 2 posts in the last 9999 minutes. Is there something else I'm missing to get it working?
Marc Posted September 27, 2023 Posted September 27, 2023 Please ensure the user on file has full access, and we can then take a look for you. Seems it doesnt at present
Clover13 Posted September 27, 2023 Author Posted September 27, 2023 7 hours ago, Marc Stridgen said: Please ensure the user on file has full access, and we can then take a look for you. Seems it doesnt at present Hi @Marc Stridgen, the user on file has been elevated back to have AdminCP access.
Marc Posted September 27, 2023 Posted September 27, 2023 Could you please let me know where it is you added the block? I cant seem to locate where you added it on your site
Clover13 Posted September 27, 2023 Author Posted September 27, 2023 (edited) Very strange. It seems to be working now, but I changed nothing since I set things up last night. I even cleared the cache thinking maybe something cache related was blocking it. Are there some tasks that need to run to calculate the popular posts that may have taken some time to populate the block? P.S. I added a block to the main landing page, which does show now. Edited September 27, 2023 by Clover13
Clover13 Posted September 27, 2023 Author Posted September 27, 2023 FYI I updated the post count to 10 posts in 360 minutes to see how long it takes to go in effect. So far, it is still showing the 2 posts in 9999 minutes.
Nathan Explosion Posted September 27, 2023 Posted September 27, 2023 5 minutes ago, Clover13 said: FYI I updated the post count to 10 posts in 360 minutes to see how long it takes to go in effect. Clover13 1
Clover13 Posted September 27, 2023 Author Posted September 27, 2023 Just now, Nathan Explosion said: Wouldn't clearing the cache force this though?
Jim M Posted September 27, 2023 Posted September 27, 2023 3 hours ago, Clover13 said: Wouldn't clearing the cache force this though? It would, yes. However, if you have any server caching or other caching, it will not clear that.
Clover13 Posted September 27, 2023 Author Posted September 27, 2023 30 minutes ago, Jim M said: It would, yes. However, if you have any server caching or other caching, it will not clear that. Only using the IPS cache and CF caching. I cleared CF for that page, but still no update. I suspect at some point, the block will be refreshed, but not sure where that is being held back from a clear/purge right now.
Jim M Posted September 27, 2023 Posted September 27, 2023 41 minutes ago, Clover13 said: Only using the IPS cache and CF caching. I cleared CF for that page, but still no update. I suspect at some point, the block will be refreshed, but not sure where that is being held back from a clear/purge right now. The cache setting that you're using is at 1 hour. That is a little high for caching blocks. Generally, especially with rotating content like the Popular Topics block, it may be better to do 15 minutes or so.
Clover13 Posted September 27, 2023 Author Posted September 27, 2023 5 minutes ago, Jim M said: The cache setting that you're using is at 1 hour. That is a little high for caching blocks. Generally, especially with rotating content like the Popular Topics block, it may be better to do 15 minutes or so. Right, but it's been way longer than 1 hour and it hasn't refreshed yet. Also the clear cache should override that setting anyway. Same with last night when I was testing, it wasn't until this morning that I saw the popular posts become visible, which means it wasn't "immediate" when it was first created. Something must be delayed in processing and populating the block even when I first added it to a given page.
Jim M Posted September 27, 2023 Posted September 27, 2023 5 minutes ago, Clover13 said: Right, but it's been way longer than 1 hour and it hasn't refreshed yet. Also the clear cache should override that setting anyway. Same with last night when I was testing, it wasn't until this morning that I saw the popular posts become visible, which means it wasn't "immediate" when it was first created. Something must be delayed in processing and populating the block even when I first added it to a given page. Do you currently have a topic with 10 posts in the last 6 hours? What page do you have this block on? I can then verify.
Clover13 Posted September 27, 2023 Author Posted September 27, 2023 (edited) 53 minutes ago, Jim M said: Do you currently have a topic with 10 posts in the last 6 hours? What page do you have this block on? I can then verify. It's on the main landing page for the site at the top of the page. There are some topics that have that but the current block is showing some topics that have only 1 reply which I don't understand as it was never set to 1 reply, the min it was set to was 2 at one point. Edited September 27, 2023 by Clover13
Marc Posted September 28, 2023 Posted September 28, 2023 Are you looking at this while logged in or logged out?
Clover13 Posted September 28, 2023 Author Posted September 28, 2023 4 hours ago, Marc Stridgen said: Are you looking at this while logged in or logged out? While logged in. Looks like some updates to the 5 topics being displayed have happened since last night, however there is one of the 5 that has only 1 reply. No idea why it's in there, but it has stayed in there since the block was made.
Marc Posted September 28, 2023 Posted September 28, 2023 I would need specific example items if possible, so I can look further for you
Clover13 Posted September 28, 2023 Author Posted September 28, 2023 2 minutes ago, Marc Stridgen said: I would need specific example items if possible, so I can look further for you Hi Marc, I PMed you the detailed 👍
Jim M Posted September 28, 2023 Posted September 28, 2023 49 minutes ago, Clover13 said: Hi Marc, I PMed you the detailed 👍 It would be advised to place these in this topic or in the notes field of the Access Details in the Client Area so you are not waiting on a technician to assist you. Clover13 1
Clover13 Posted September 28, 2023 Author Posted September 28, 2023 1 hour ago, Jim M said: It would be advised to place these in this topic or in the notes field of the Access Details in the Client Area so you are not waiting on a technician to assist you. OK I added it to the Notes section for that site in the Client Area 👍
Jim M Posted September 28, 2023 Posted September 28, 2023 Going to ACP -> Support, it looks like your server is having issues with AJAX requests there and resulting in a 500 Internal Server Error. That could be causing the cache clear to not be functional. Keep in mind that the "Popular Now" block counts posts, not replies. Therefore, there are 2 posts in that topic. The original topic starting post and the first reply.
Clover13 Posted September 28, 2023 Author Posted September 28, 2023 17 minutes ago, Jim M said: Going to ACP -> Support, it looks like your server is having issues with AJAX requests there and resulting in a 500 Internal Server Error. That could be causing the cache clear to not be functional. Keep in mind that the "Popular Now" block counts posts, not replies. Therefore, there are 2 posts in that topic. The original topic starting post and the first reply. Where are you seeing these AJAX errors? I don't see anything in the System Logs (other than the recent errors you created).
Jim M Posted September 28, 2023 Posted September 28, 2023 23 minutes ago, Clover13 said: Where are you seeing these AJAX errors? I don't see anything in the System Logs (other than the recent errors you created). DELETED
Clover13 Posted September 28, 2023 Author Posted September 28, 2023 Strange, I don't see any of that when I test in Chrome? Here is what I see, the system logs are unrelated errors from a longer history.
Jim M Posted September 28, 2023 Posted September 28, 2023 The 500 Internal Server Error would not be logged in the System Log as the software would not have ran in this case. It would be in your server error log.
Recommended Posts