Hi.
First the metadata.
Joomla: 3.3.6
jDownloads:
* Administrator: 3.2.26 Beta
* Content: 3.2.25 Beta
PHP: 5.4.36
MySQL: 5.5.40
Site type: life
The problem is that the control panel is not displayed correct. See attached screenshots. The other features of jDownloads are working (frontend and backend).
The error message is thrown from the /administrator/components/com_jdownloads/helpers/scan.php:528ff
The jdownloads directory logs like this:
drwxr-xr-x 16 www-data www-data 4.0K Feb 23 15:18 .
drwxr-xr-x 21 www-data www-data 4.0K Dec 5 09:44 ..
drwxr-xr-x 5 www-data www-data 4.0K Jul 24 2013 cat-1
drwxr-xr-x 13 www-data www-data 4.0K Jul 24 2013 cat 2 with whitespace
drwxr-xr-x 12 www-data www-data 4.0K Jul 24 2013 cat-3
drwxr-xr-x 2 www-data www-data 4.0K Jul 24 2013 cat-4
-rw-r--r-- 1 www-data www-data 33 Feb 23 15:18 .htaccess
drwxr-xr-x 15 www-data www-data 4.0K Apr 15 2014 cat-5
-rw-r--r-- 1 www-data www-data 31 Sep 25 2013 index.html
drwxr-xr-x 4 www-data www-data 4.0K Jul 24 2013 cat-6 with whitespace
drwxr-xr-x 2 www-data www-data 4.0K Jul 24 2013 misc
drwxr-xr-x 2 www-data www-data 4.0K Feb 23 10:25 _preview_files
drwxr-xr-x 2 www-data www-data 4.0K Feb 23 10:25 _private_user_area
drwxr-xr-x 11 www-data www-data 4.0K Jul 24 2013 cat-7 with whitespace
drwxr-xr-x 2 www-data www-data 4.0K Jul 24 2013 cat-8
drwxr-xr-x 11 www-data www-data 12K Oct 20 16:54 cat-9 with whitespace
drwxr-xr-x 2 www-data www-data 4.0K Feb 23 10:25 _tempzipfiles
drwxr-xr-x 2 www-data www-data 4.0K Feb 23 10:25 _uncategorised_files
The installation is migrated from Joomla 2.5.latest via jdownloads 1.9.latest > 2.5.latest > 3.x latest.
In addition, I had to manually migrate the category descriptions with the following SQL script as they were not migrated:
UPDATE
j25_jdownloads_categories,
j25_jdownloads_cats_backup
SET
j25_jdownloads_categories.description = j25_jdownloads_cats_backup.cat_description
WHERE
j25_jdownloads_categories.title = j25_jdownloads_cats_backup.cat_title
AND
CONCAT( j25_jdownloads_categories.cat_dir_parent, '/', j25_jdownloads_categories.cat_dir ) = j25_jdownloads_cats_backup.cat_dir
Please ignore the misleading table prefix. It will be removed within the next days. I am aware of the fact that this script is not working 100% perfect but for the categories I have descriptions for it worked. I needed this complex script because the category ids were not kept during the migration. :(
What can I do to get the control panel working again? Is there anything wrong with my jdownloads directory permissions? Do you need any additional information? By the way, the front end is working as aspect.
[gelöscht durch Administrator]
Here is the HTML source code of the control panel page:
<form action="index.php" method="post" name="adminForm">
<div id="j-main-container" class="span10">
<div class="adminform">
<div class="jd-cpanel-left">
<div id="cpanel">
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=categories">
<img src="/administrator/components/com_jdownloads/assets/images/categories48.png" alt="Categories" /> <span>Categories</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=downloads">
<img src="/administrator/components/com_jdownloads/assets/images/downloads48.png" alt="Downloads" /> <span>Downloads</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=files">
<img src="/administrator/components/com_jdownloads/assets/images/files48.png" alt="Files" /> <span>Files</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=licenses">
<img src="/administrator/components/com_jdownloads/assets/images/licenses48.png" alt="Licenses" /> <span>Licenses</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=layouts">
<img src="/administrator/components/com_jdownloads/assets/images/layouts48.png" alt="Layouts" /> <span>Layouts</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=logs">
<img src="/administrator/components/com_jdownloads/assets/images/logs48.png" alt="Logs" /> <span>Logs</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=groups">
<img src="/administrator/components/com_jdownloads/assets/images/groups48.png" alt="User Groups Settings" /> <span>User Groups Settings</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=config">
<img src="/administrator/components/com_jdownloads/assets/images/config48.png" alt="Configuration" /> <span>Configuration</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=tools">
<img src="/administrator/components/com_jdownloads/assets/images/tools48.png" alt="Tools" /> <span>Tools</span>
</a>
</div>
<div class="thumbnails jd-icon">
<a class="thumbnail jd-icon-inside" href="index.php?option=com_jdownloads&view=info">
<img src="/administrator/components/com_jdownloads/assets/images/info48.png" alt="Terms of Use" /> <span>Terms of Use</span>
</a>
</div>
</div>
<div style="clear:both"> </div>
</div>
<div class="jd-cpanel-right">
<div class="well">
<dl class="tabs" id="jdlayout-sliders-jdcp"><dt style="display:none;"></dt><dd style="display:none;"></dd><dt class="tabs status"><span><h3><a href="javascript:void(0);">Status</a></h3></span></dt><dd class="tabs">
<table class="jdadminpanel" width="95%" border="0">
<tr>
<th class="adminheading">Download Area Status </th>
</tr>
<tr>
<td valign="top" align="left" width="100%">
<font color="#990000"><b><big>Status Download area:</big></b></font> <font color="green"><b><big> ONLINE</big></b></font><br /><br />
<!-- <br /><br /> -->
<table class="adminlist">
<tr>
<td class="title" width="40%">
<strong>Status</strong>
</td>
<td class="title" width="20%">
<strong>Published</strong>
</td>
<td class="title" width="20%">
<strong>Unpublished</strong>
</td>
<td class="title" width="20%">
<strong>Total</strong>
</td>
</tr>
<tr>
<td>
Categories </td>
<td style="text-align:right !IMPORTANT;">
101 </td>
<td style="text-align:right !IMPORTANT;">
45 </td>
<td style="text-align:right !IMPORTANT;">
146 </td>
</tr>
<tr>
<td>
Downloads </td>
<td style="text-align:right !IMPORTANT;">
60 </td>
<td style="text-align:right !IMPORTANT;">
403 </td>
<td style="text-align:right !IMPORTANT;">
463 </td>
</tr>
<tr>
<td colspan="4">
The download archive currently contains <font color="#990000"><b>463</b></font> Downloads in <font color="#990000"><b>146</b></font> categories. To date, these have been downloaded <font color="#990000"><b>518,086</b></font> times. There are <font color="#990000"><b>45</b></font> categories and <font color="#990000"><b>403</b></font> Downloads that are not published. </td>
</tr>
</table>
</td>
</tr>
<tr>
<th class="adminheading">Status Monitoring </th>
</tr>
<tr>
<td>
<script> alert('Error: Filename empty after cleaning!'); </script>
Hi Arno et al.,
I have an update on this issue. The control panel is working again, when I disable the automatic scanning of the download area. In addition, the manual scan process results in a better error message. The error message:
Error: Filename empty after cleaning:
../joomla-home/jdownloads-dir/category/sub-category/.DAV/
This results from the fact, that the jdownloads-dir is published via protected webdav, too.
Is there any way to let jdownloads ignore all folders starting with "." or which are hidden?
By the way, the folder is there and accessible.
Hi,
sorry for the late reply. I have not seen your post before. :-\
I'm in the moment not in my office but i will answer you more when i be back again in the next hours.
Hi,
for the mostly users works the import process from the jD version
3.2.x for
Joomla 3.3 very good.
QuoteThe installation is migrated from Joomla 2.5.latest via jdownloads 1.9.latest > 2.5.latest > 3.x latest.
I'm not sure that this is the recommended way. But i hope you had read the import instructions in the documentation before you did it?
When the category descriptions are not imported, must have gone something wrong here in the import process.
So it is not a good idea to import it manually with a query. All categories have after the import a different ID. This is required as we need in the new series a additional new ROOT category.
QuoteError: Filename empty after cleaning:
../joomla-home/jdownloads-dir/category/sub-category/.DAV/
I have not an idea what you have doing to get this result. Which special characters use you for your filenames?
QuoteIs there any way to let jdownloads ignore all folders starting with "." or which are hidden?
jD ignored this always.
'.DAV' is not a hidden folder but a file type from a filename which is already cleaned (see jD config options in TAB: Folders and Files).
Quote
jDownloads:
* Administrator: 3.2.26 Beta
* Content: 3.2.25 Beta
You have different versions? ???
Maybe should you repeat the import process with a fresh (local) Joomla installation to get a correct result. But make sure that you use the instructions.
Hi
Please see http://www.jdownloads.net/documentations/item/from-jd1-9-1-x-on-joomla-2-5-to-jd3-2-on-joomla-3-2
Colin