llmarlou
Forum Replies Created
-
Forum: Plugins
In reply to: [Koko Analytics] Dashboard widget realtime stats not updated automaticallyHi @dvankooten
Thanks for your suggestions!
I already checked and the cron was running, however, I overlooked an error in our logs regarding the ‘buffer’ files. For example:E_WARNING: rename(/www/wp-content/uploads/sites/3/koko-analytics/buffer-123456.csv,/www/wp-content/uploads/sites/3/koko-analytics/buffer-123456.csv.busy): Permission denied
We fixed it by tweaking the permissions for that folder- This reply was modified 1 week, 5 days ago by llmarlou.
Forum: Plugins
In reply to: [Koko Analytics] Dashboard widget realtime stats not updated automatically@dvankooten
On some sites we use Redis cache, but this also affects sites without Redis active (the example I mentioned doesn’t have Redis active).
Other cache we use is OPcache which get flushed after every deploy.Forum: Plugins
In reply to: [IP2Location Redirection] Compatibility with php 8.0?Good to know! Thank you, I’ll mark this as resolved
Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
I noticed the update in the Github issue and the newly released version 4.7.4.
I’ve updated DLM to that version and ran a test and can confirm that 4.7.4 indeed fixed the issue for us!
Thanks a lot for your help and patience.
Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
I will get back to you on this with new input, next week. Thanks again!
Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
Thanks again for your help, appreciated.
I’ve implemented the changes you suggested in the DownloadHandler.php file (on our acceptance environment, still running on DLM 4.7.3), but unfortunately it still doesn’t seem to fix it.
Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
No but I’ve just tried again with version 5.7.3 on our test environment. With 5.7.3 active, I then added the path to the symlinked directory in the array in Filemanager.php.
After these changes I:
– restarted php
– flushed permalinks
– deleted transients for DLMBut this doesn’t seem to have fixed it.
Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
I’m sorry for my late reply.
Our symlink:
/wp-content/uploads/ -> /srv/http/shared/uploads/
And the DLM files are inside
/uploads/dlm_uploads/
so if you try to go to wp-content/uploads you get redirected to ‘/srv/http/shared/uploads
Yep, that’s correct.
And the problem is that with the ‘redirect to file’ option enabled, the browser is pointing to
<domain>/dlm_uploads/year/month/
instead of<domain>/uploads/dlm_uploads/year/month/
So it’s skipping the /uploads/ folder in the path.Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
Should it then look like this?
$shortcuts = apply_filters( 'dlm_upload_shortcuts', array( wp_get_upload_dir()['/srv/http/shared/uploads/'] ) );
Because that doesn’t seem to fix the issue.
Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
Refreshing/flushing the permalinks didn’t fix it.
Below are two examples, one with the redirect to file option enabled and one with a regular (working) download:
- With redirect option: https://ibsca.nl/test-download-page-redirect/
- With regular download: https://ibsca.nl/test-regular-download/
Forum: Plugins
In reply to: [Download Monitor] Bug with ‘Redirect to file’ optionHi Razvan,
At the time of writing this post DLM was at 4.6.2. But I’ve just tested it in the latest version, 4.7.1, and it’s still an issue.
Hi Aytac,
Thanks a lot! I’ve just updated to 4.0.3 and this fixes it indeed