If you have a relatively small number of Downloads then 'reloading' them is a good option. You indicate that all went well on the version on your laptop so that would enable another route. The 'purist' in me would like to see what went wrong but I think a more pragmatic approach is needed!
1. So in either case make sure you have a copy of the jdownloads directory with all the categories (directories) and files. You probably have that on your laptop anyway. The jdownloads directory is in the root of your site.
2. The next step is to ensure that jD and all its parts are 'removed'. Suggest you look at http://www.jdownloads.net/documentations/item/how-to-uninstall-all-of-jdownloads
3. The third step is to now install the latest copy of jD in the usual manner.Method A Reloading the directories and files directly
Please note that in this method there will be a lot of server activity so you may wish to increase the server time limits, or just up load a few directories and files at a time.
A4. In the jD Configuration - Monitoring tab ensure you have
- Download directory monitoring? set to No.
- Also ensure you have Monitor all file types? set to Yes
- And Automatically publish Downloads? to No (this reduces the number of database accesses at this stage)
A5. In Config - Pictures tab then look at the Thumbnails section. In particular the settings Create Thumbnails from uploaded pics?
and Use this also for auto monitoring?
Suggest you set the auto monitoring one to No, again to minimise server usage.
A6. Now copy over your directories and files into the jdownloads directory using ftp, your server Control Panel or a suitable Joomla! file manager such as Profiles or eXtplorer. If you are doing this in multiple stages then obviously copy over in a logical fashion.
A7. Now go to the jD Control panel. You should see on the Status tab the two lines in the Status Monitoring Section Status Monitoring Automatic monitoring of the Download directories is deactivated.
followed by the link Check Download area now
. So click on that link.
This will now create the Categories and Downloads.
A8. You can repeat steps A6 and A7 to upload more items. The question is how many? This depends on your server, but I would expect a 100 items to be ok.
A9. Now go to jD Control Panel and use Categories to publish your categories and similarly Downloads.
Should be OK but let us know anyway.Method B Use jD Backup Tool
B4. In the jD Configuration - Monitoring tab ensure you have Download directory monitoring?
set to No on your website.
B5. On the website go to jD Config Uploads tab. The first entry is the Upload directory path. Make a copy of that entry as it is needed later.
B6. On your laptop, after testing jD is all OK then use the Tool Backup to Create a new backup file. Ensure you tick the Option bit. Store this text file on your laptop.
B6. Now copy over your all
the directories and files into the jdownloads directory using ftp, your server Control Panel or a suitable Joomla! file manager such as Profiles or eXtplorer.
B7. You can
- EITHER edit the saved backup file (use say Notepad++) to change the line
$db->setQuery("INSERT INTO #__jdownloads_config ( `id`,`setting_name`,`setting_value` ) VALUES ( '1','files.uploaddir','YOUR LAPTOP REFERENCE/jdownloads' );"); $db->execute();$i++;
so that the YOUR LAPTOP REFERENCE/jdownloads part is the same as the Upload directory path saved above (ensure you get it encolsed in ' as in the backup file.[/li]
- OR later overwrite directly into the Upload directory path field
B8. Use the Tools to Restore the original or modified Backup txt file.
B9. Adjust the Upload directory path
field as may be necessary
Phew! All done
B7. In Config