jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: mrm92 on 26.02.2016 09:26:07

Title: Delete downloads link (front end) and control download area [Solved]
Post by: mrm92 on 26.02.2016 09:26:07
Hi,
I have Joomla 3.4.8 and jDownloads 3.2.41 with 1849 downloads and 419 categories.
The problem is in the front end, when I click on the delete button to delete the download, redirect me on the /index.php/all and it want to show me all the downloads. The problem is, and I don't know why, I get blank page. So, to workaround this, I want to know if there's a way to change the link to all downloads instead a link that redirect me to the same category where's the file that I deleted.

The second problem is that I receive this error when I want to scan
It seems to be a theme problem, but I don't know why it could be happen...

[gelöscht durch Administrator]
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 26.02.2016 12:11:37
QuoteIt seems that you have removed the backlink without any donation. In this case you lose our support.
Have you removed the hack on your sites?
Title: Re: Delete downloads link (front end) and control download area
Post by: mrm92 on 26.02.2016 13:08:03
Hi Arno,
Yes I do

[gelöscht durch Administrator]
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 26.02.2016 13:25:02
I see a quite another matter. See pic.

You know that you can easy remove it when you make a small donation?
The informations are here:
http://www.jdownloads.com/index.php/remove-backlink.html




[gelöscht durch Administrator]
Title: Re: Delete downloads link (front end) and control download area
Post by: mrm92 on 26.02.2016 14:03:51
Oh I forgotten, this domain will be deleted in a few days by Altervista.
The site is now in another domain, if you need I can PM you.
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 26.02.2016 14:33:21
QuoteThe problem is in the front end, when I click on the delete button to delete the download, redirect me on the /index.php/all and it want to show me all the downloads.
Yes, this is normal.

QuoteThe problem is, and I don't know why, I get blank page
Please use this instructions to get more informations about the problem:
http://www.jdownloads.net/documentations/item/turn-on-joomla-debug
Post then the error message here or via PM.

QuoteI want to know if there's a way to change the link to all downloads instead a link that redirect me to the same category where's the file that I deleted.
This is not possible without to change the source code.

QuoteThe second problem is that I receive this error when I want to scan
It seems to be a theme problem, but I don't know why it could be happen...
I have no idea what the 'GANTRY5_THEME_LOADING_FAILED' message shall be.
This message comes from your template not from jDownloads.
Get you the same message when you run the control panel from jD? See the TAB Monitoring Log.
Try it also here again with acivated debug option.
Title: Re: Delete downloads link (front end) and control download area
Post by: mrm92 on 26.02.2016 14:58:18
Ok I tried now with Debug on and Maxium error report. In the page of all downloads I get one random errors of these two:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4128 bytes) in /home/web/mysite.com/libraries/joomla/access/rules.php on line 105
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 77 bytes) in /home/web/mysite.com/libraries/joomla/database/driver/mysqli.php on line 567

For the scan problem I get this error, it seems template problem, but I don't know what it means:

Warning: Cannot modify header information - headers already sent by (output started at /home/web/mysite.com/administrator/components/com_jdownloads/helpers/scan.php:94) in /home/web/mysite.com/templates/g5_hydrogen/includes/gantry.php on line 48
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 26.02.2016 15:08:01
You should set higher the memory_limit option in php.ini. Use maybe 256M.

QuoteFor the scan problem I get this error, it seems template problem, but I don't know what it means:
It could be a special plugin or a special option in your template settings.

Which template use you?
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 26.02.2016 15:12:26
QuoteGet you the same message when you run the control panel from jD? See the TAB Monitoring Log.
Try it also here again with acivated debug option.
What have you get here?
Title: Re: Delete downloads link (front end) and control download area
Post by: mrm92 on 26.02.2016 15:16:03
I use the Gantry 5 Hydrogen.
The scan has ever work, maybe it can be 2/3 days that doesn't work. Meanwhile I installed some plugin/component/modules, but I don't know how these can infect the scan/template... I didn't modify anything.

I try set higher the memory limit and I'll report

Quote from: Arno on 26.02.2016 15:12:26
What have you get here?
Nothing, because I deactivated it, try to activate now.
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 26.02.2016 15:24:59
You should create a backup via jD backup tool from time to time. Just for safety.

QuoteThe scan has ever work, maybe it can be 2/3 days that doesn't work.
Hm... seems that i must check what the gantry.php does here. But i need more time for it and must now away for some hours.
Please post in the meantime your results.
Title: Re: Delete downloads link (front end) and control download area
Post by: mrm92 on 26.02.2016 16:10:12
For the problem of the all downloads I found the problem, or maybe a solution: It's the module of contact form inserted in another module via NoNumber Modules Anywhere, if I deactivate it the page works. So I try another solution instead the php memory limit.

For the other problem I see later if I have time, but probably my mistake, I don't know if I simply deleted the log some days ago and I didn't scan in these days (and so I see nothing in TAB Monitoring Log), or beacuse the scan doesn't work and can't log anything.

If it's possible to deactivate the TAB Monitoring Log, how can I reactivate it? I don't remember.

EDIT I tried to create a folder in download area, run the scan, get the error without say the result, go to the front end and I see the category succesfully created. So, I think, it could be only a "graphic" problem of the scan. Nothing in TAB Monitoring Log, don't remember why doesn't work, and I don't remember where and if there's an option related to.
Title: Re: Delete downloads link (front end) and control download area
Post by: ColinM on 26.02.2016 17:02:59
Hi
Please see Config - Downloads tab- field 'Activate log function for Downloads'

Note If this is deactivated some aspects of User Groups Setting will not work.

Colin
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 27.02.2016 12:53:10
QuoteIf it's possible to deactivate the TAB Monitoring Log, how can I reactivate it? I don't remember.
The monitoring log views only data when new categories or files was found or be missing.

I have a little bit checked the problem with the auto monitoring. For me is this not a jDownloads problem then nothing else has a problem like yours.

So i'm sure that here must be the reason your Gantry template. Maybe a plugin like the gantry system plugin. You can try to change the setting on the pic below, but i am not sure that this will really help.

[gelöscht durch Administrator]
Title: Re: Delete downloads link (front end) and control download area
Post by: mrm92 on 29.02.2016 08:52:42
Hi everyone,
Quote from: ColinM on 26.02.2016 17:02:59
Hi
Please see Config - Downloads tab- field 'Activate log function for Downloads'

Note If this is deactivated some aspects of User Groups Setting will not work.

Colin

Try to activate, uploaded some files, modify some existing file, deleted some (in front end), do the Scan but still empty TAB Monitoring Log.

Quote from: Arno on 27.02.2016 12:53:10
The monitoring log views only data when new categories or files was found or be missing.

I have a little bit checked the problem with the auto monitoring. For me is this not a jDownloads problem then nothing else has a problem like yours.

So i'm sure that here must be the reason your Gantry template. Maybe a plugin like the gantry system plugin. You can try to change the setting on the pic below, but i am not sure that this will really help.
Try to activate the parameters of your image, try to scan with LOG activated, but in the Scan the error remains and still no LOG.


For the all downloads page problem I set 256M memory_limit in php.ini and the page works but it takes 5-10 seconds to load and load only about 200 downloads instead 1800 that are actual.
Problem solved with paginated files visualization.

Thanks
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 29.02.2016 15:26:03
Send me again login data for this backend via PM and i will check your jD installation.
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 01.03.2016 13:00:40
After an hour or two, I think I have your problems solved now.

- You had an invalid folder name for a category. I have corrected him and now works again the auto monitoring (see pics)
- in your category layout was missed the placeholder {sort_order}. After i have add it, the 'sort ordering' is now displayed again properly
- some other small corrections in the configuration done

But i could not solve the wrong link in your 'Home' page. The 'Cartella superiore' link should not be displayed here (third pic). Also is the link wrong. Can it be that you have changed here something manually?


[gelöscht durch Administrator]
Title: Re: Delete downloads link (front end) and control download area
Post by: mrm92 on 01.03.2016 15:07:09
Quote from: Arno on 01.03.2016 13:00:40But i could not solve the wrong link in your 'Home' page. The 'Cartella superiore' link should not be displayed here (third pic). Also is the link wrong. Can it be that you have changed here something manually?

Hi Arno, don't know how could it happen, I remember that link was here from the first installation of jDownloads component... so I didn't modify anything.
I solved by simply removed it in categories layout.

Thank you very much, I really appreciate your work!

PS Do you have changed some category layout aspect?
Title: Re: Delete downloads link (front end) and control download area
Post by: Arno on 02.03.2016 00:26:04
QuotePS Do you have changed some category layout aspect?
I have only add the {sort_order} placeholder in the files layout.

QuoteI solved by simply removed it in categories layout.
Hm... okay. But this is not normal.