News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

direct link download problem after update

Started by HansWurst20, 10.04.2015 12:23:20

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HansWurst20

hi!

i'm just testing a update vom joomla 2.5.28 and jdownloads 1.9.1.6   to   joomla 3.4.1 and jdownloads 3.2.31  in mamp on my local machine.

step 1:  joomla-update 3.5.1 and jdownload 1.9.22 - everything works!  ;D

step 2:  jdownload-update to 3.2.31

i'm using several direct-links in my webpage.  for example

mypage.com/index.php?option=com_jdownloads&Itemid=100&view=finish&cid=100&catid=3&m=0

during the update the catid changed from 3 to 4.  i also changed it in my link but it doesn't work.


500 - View not found [name, type, prefix]: finish, html, jdownloadsView         >:(



any tips?  thanks!

  •  

ColinM

Hi
I guess you mean step 1:  joomla-update 3.4.1 and jdownload 1.9.2.12 - everything works!
If so this article should guide you through

How to upgrade jDownloads component from 1.9.2.11 to latest 3.x version? which is at http://www.jdownloads.net/documentations/item/how-to-upgrade-jdownloads-component-from-1-9-x-to-latest-3-x-version

See also http://www.jdownloads.net/documentations/item/permissions-problems-after-migration-to-new-series
And it may be on mamp something like I have found in Wamp see http://www.jdownloads.net/documentations/item/making-a-jd-test-site-on-wamp

if you do find any of the Wamp notes are good or need suitable mods, for mamp please let me know and I will add to the doc

Colin
Colin M
  •  

ColinM

Hi
By 'direct downloads' I have just realised that you may mean downloads from within an article or similar by using something like {jd_file file==32}.  These do work AOK in jD 3.2 series.  As well as enabling the Content plugin in Joomla you also have to enable it in jD Config - Plugins Tab.  See also below a copy of Step 6 of the migration doc
http://www.jdownloads.net/documentations/item/how-to-upgrade-jdownloads-component-from-1-9-x-to-latest-3-x-version

Or am I misunderstanding?  If I am misunderstanding perhaps you could PM me your site and admin details please.
Colin

QuoteWhen migrating from jD1.9.2.11 to the jD3.2 series then the ids of the downloads are kept but the ids of the categories may change.This is important if you are using the Content Plugin.  This uses the Download and the Category ids to specify Downloads in articles or similar.  Typical Content Plugin statements are:

    {jd_file onlinelayout==Standard Files Layout v2.5}  The names of the layouts have changed so if you used this extensively it might be worthwhile making a copy of an existing layout and renaming appropriately.
    {jd_file file==86}   This will not need changing as the Downloads retain their id during the migration.
    {jd_file category==18 count==5}  This may not work as the category id may have changed.

Sometimes you may not readily recall the name of the category that is associated with a specific id. This relationship between the download title and the old id are in the saved backup taken at step 2 above, specifically in table '<prefix>_jdownloads_categories'.  The corresponding table for the Downloads is '<prefix>_jdownloads_files'. These are not the simplest of files to examine but it can be made slightly simpler by copying them and changing the extension to csv and then importing to Excel or Calc.  If you have a large number of files then exporting just the table '<prefix>_jdownloads_categories' using phpMyadmin in cPanel or its equivalent is an alternative, especially as an option in phpMyadmin is to export in csv format.  Of course if there are only a modest number of downloads then making image copies (screen shots) of the categories in the Backend is a practical approach.  Personally I also keep a record of the Downloads ids as well as a 'just in case' comfort factor.
Colin M
  •  

rahs08

I think you should check your script again  :)
WWW.shockedyou.com
www.alltechbuzz.blogspot.com
  •  

Arno

Quotemypage.com/index.php?option=com_jdownloads&Itemid=100&view=finish&cid=100&catid=3&m=0
You must use now:
mypage.com/index.php?option=com_jdownloads&Itemid=100&view=send&cid=100&catid=3&m=0

('view=send' instead 'view=finish')


Edit:
use this syntax: .../index.php?option=com_jdownloads&task=download.send&id=88&catid=2&m=0&Itemid=142
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

techaka

only thing you can do is to update it indirectly from some other source . for more details check others site or google it