πŸ‡ΊπŸ‡ΈUnited States @oivanov

Account created on 2 August 2011, over 13 years ago
#

Merge Requests

Recent comments

πŸ‡ΊπŸ‡ΈUnited States oivanov

here is my patch - as I described above, if the placeholder is for an array, the token will be added before [].
Thanks!

πŸ‡ΊπŸ‡ΈUnited States oivanov

@amaisano me too! please share the code of this custom JSON plugin!

πŸ‡ΊπŸ‡ΈUnited States oivanov

Hi guys, this looks exactly like an issue that brought down our dev server after upgrading to Drupal 10.1.5 core. While the band-aid solution is easy - removing XDebug - we do need it (xdebug) on our dev server for...well...developing. @catch - would you be so kind as to bump it up to something "more urgent than normal" please??? Let me know if I can help by providing more data. Thanks!

πŸ‡ΊπŸ‡ΈUnited States oivanov

@dineshkumarbollu - all the changes you've proposed are already implemented as patch#4 and manual fixes, and committed to the respective branch. They are being tested and will be merged soon.

Thanks for your time and consideration nonetheless

πŸ‡ΊπŸ‡ΈUnited States oivanov

closing this as it looks like the module is working as designed, the error most likely was due to mis-configuration

will re-open if needed

πŸ‡ΊπŸ‡ΈUnited States oivanov

oivanov β†’ made their first commit to this issue’s fork.

πŸ‡ΊπŸ‡ΈUnited States oivanov

@jsidigital, let me recap :

To get everything working, you need to have the following -

First: in your settings.php you need to have the private file path set like so -

$settings['file_private_path'] = 'sites/default/files/private';

look around Ln. 525 in settings.php. Set the path to a folder of your choosing.

Second: On the Download Statistics module's Config page, you need to have the Count File Downloads check box enabled/checked

Third: on one of the content types, you need to have a field of type File - not Media, just a regular File. In the Field Settings of the field, you need to have Upload Destination set to Private files.
In the Manage Display for that same field, you need to choose File with Download Statistics Recorded.

When all that is set, everything is working for me as expected.

Let me know if you're still having problems.

Thanks!
Oleg

πŸ‡ΊπŸ‡ΈUnited States oivanov

Fixed, I am now a co-maintainer.

πŸ‡ΊπŸ‡ΈUnited States oivanov

The documentation has been updated to emphasize the need for the Private folder as upload destination. I confirm that on Drupal 9 when following all the steps the module works as designed

πŸ‡ΊπŸ‡ΈUnited States oivanov

The documentation has been updated since the issue report. I confirm that on Drupal 9, if following all the setup and configuration steps, the module works as designed

πŸ‡ΊπŸ‡ΈUnited States oivanov

This is to confirm that the patch above is correct, but I would also add the required core_version_requirement property - when all that is done, the error goes away

Production build 0.71.5 2024