Hello
I've found I need the following patch (to jd3.9.7.2):
diff --git a/htdocs/administrator/components/com_jdownloads/views/downloads/view.html.php b/htdocs/administrator/components/com_jdownloads/views/downloads/view.html.php
index 87a5a34a..b13d32b5 100644
--- a/htdocs/administrator/components/com_jdownloads/views/downloads/view.html.php
+++ b/htdocs/administrator/components/com_jdownloads/views/downloads/view.html.php
@@ -131,7 +131,7 @@ class jdownloadsViewDownloads extends JViewLegacy
}
// We need icomoon font
- $doc->addStyleSheet($this->baseurl.'/media/jui/css/icomoon.css');
+ $doc->addStyleSheet(\JUri::root(true).'/media/jui/css/icomoon.css');
// We don't need toolbar in the modal window.
if ($this->getLayout() !== 'modal' && $this->getLayout() !== 'modallist') {
for the icomoon css to be loaded from the downloads view in the backend (as baseurl in the backend is under administrator/).
Also, for some reason, my site that uses jdownloads (hosted at gandi.net) seems to be blocked from
www.jdownloads.net. Unfortunately, this causes the backend views of eg downloads and categories to block for 60s (ie the default php default_socket_timeout value) due to the call to JDownloadsHelper::existsHelpServerURL in the relevant view methods.
I have patched JDownloadsHelper::existsHelpServerURL as follows to avoid this problem:
diff --git a/htdocs/administrator/components/com_jdownloads/helpers/jdownloads.php b/htdocs/administrator/components/com_jdownloads/helpers/jdownloads.php
index cb36e049..6489ccce 100644
--- a/htdocs/administrator/components/com_jdownloads/helpers/jdownloads.php
+++ b/htdocs/administrator/components/com_jdownloads/helpers/jdownloads.php
@@ -2262,8 +2262,15 @@ class JDownloadsHelper
public static function existsHelpServerURL($help_url)
{
+ $default_socket_timeout_old = ini_set('default_socket_timeout',1);
+ if ($default_socket_timeout_old === false) {
+ return false;
+ }
$file_headers = @get_headers($help_url);
+
+ ini_set('default_socket_timeout',$default_socket_timeout_old);
if (!$file_headers || $file_headers[0] != 'HTTP/1.1 200 OK') {
return false;
Thanks, David