jDownloadsownloads.com


Support-Forum

jDownloads for Joomla 3.x => jDownloads 3.2 => Bugs => Topic started by: andreanp11 on 07.02.2018 16:13:14

Title: Error when monitoring files
Post by: andreanp11 on 07.02.2018 16:13:14
Hello,

I'm using:
Joomla! 3.8.5   
jDownloads Version 3.2.56
PHP 7.0.18-1+deb.sury.org~xenial+1
MySQLi 5.5.5-10.1.23-MariaDB-1~xenia

Download directory monitoring is DISABLED

Using "check download area now":
- new folder / category are recognised;
- new file are not recognised (view attachment).

I do not know what to do to solve the issue


Title: Re: Error when monitoring files
Post by: ColinM on 11.02.2018 10:07:45
Hi,
Not sure of the exact cause as it could be due to several things.
Has this happenened since you upgraded Joomla?
You seem to have a very large number of unpublished categories.  Is that correct?
Have you checked which file extensions are valid for your jD config?  Please check in the Config - Monitoring tab.

Colin
Title: Re: Error when monitoring files
Post by: andreanp11 on 12.02.2018 17:45:12
Hello,
debugging code I understand that there is a issue about "pdf thumbnails".
In following files I commented some row about "pdf thumbnails" near the php comment "//create thumbs form pdf":
1. administrator/components/com_jdownloads/tables/download.php
2. administrator/components/com_jdownloads/helpers/scan.php
3. administrator/components/com_jdownloads/helpers/jdownloadshelper.php

now everything works fine

Title: Re: Error when monitoring files
Post by: ColinM on 15.02.2018 10:36:20
Hi
Thanks for the extra info.  I do not know of any problem in jD with 'pdf thumbnails'. However for pdf thumbnails to work then the ImageMagic software needs to be on your server.
Please see field 'Create Thumbnails from PDF files?' in jD Config - Pictures tab.  jD will show whether the library is or is not present.  So could I suggest you turn off the option and revert the changes you have made.
Please let us know if jD said the library was present. If that is the case you probably need to get your server people to sort it out. Note if you are using say WAMP or Xampp then the ImageMagic  software is often absent.
Colin
Title: Re: Error when monitoring files
Post by: andreanp11 on 15.02.2018 11:02:04
ImageMagic software is installed (attachment).
We are using NGINX server.

I have not tried but I think disabling 'Create Thumbnails from PDF files?' there is no need to change the code (the changes I've made).
Title: Re: Error when monitoring files
Post by: ColinM on 15.02.2018 12:44:16
Hi
Yes if you turn that option off (No) then you should not need the code changes.

I will do some more experiments as generally my test sites do not use the make pdf icons as I think the result is rarely useful as most pdfs are text!!  Maybe there is a problem so I will check on a web based host site rather than xampp
Colin