jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Bugs => Topic started by: h007 on 26.10.2019 14:22:57

Title: download cant start with (External File Link)[SOLVED}
Post by: h007 on 26.10.2019 14:22:57
hi
i have problem with elder version of jd (v.3.2.65)  ----(Unknown column 'id' in 'where clause' 1054)

i have to use 3.9 in my site

when i use file in External File Link, download cant start with (External File Link)

it seems that jd cant read (import) file from external host.
Title: Re: download cant start with (External File Link)
Post by: ColinM on 27.10.2019 23:16:55
Hi
First could you tell us what the was problem with jD3.2.65
jD 3.9 is a beta version so is still under testing.  What type of external site were you trying to download from?Have you read http://www.jdownloads.net/documentation-for-jd3-2/general-items-v3-2/downloads-with-an-external-fileHave not yet written this jD3.9 but it should be very similar.  Getting the correct link is sometimes a 'challenge'.  Note that the file you are attempting to download must have suitable  permissions.
Colin
Title: Re: download cant start with (External File Link)
Post by: h007 on 28.10.2019 00:28:00
hello dear ColinM

.....
after update to v.3.2.65 i have error in summary page (Unknown column 'id' in 'where clause' 1054)

.....
i have just updated to 3.9 and its working , and Unknown column 'id' in 'where clause' 1054 error is solved but i have download issue with 3.9


i haven't any problem in associated downloading from external host in the elder versions.

....

i open another topic about my problem with v.3.2.65
here

http://www.jdownloads.com/index.php/support-forum.html?topic=11786.0


[gelöscht durch Administrator]
Title: Re: download cant start with (External File Link)
Post by: ColinM on 28.10.2019 04:57:21
Hi
Could you tell me what type of remote Download you are trying please.is it from a website?  From Dropbox or similar? Then I will check out.
Colin
Title: Re: download cant start with (External File Link)
Post by: h007 on 28.10.2019 07:56:16
i am not using free external storage. its server is in Germany. it uses direct admin.

and i haven't any problem with that(remote host) in elder versions.

its good to say that:

the (Unknown column 'id' in 'where clause' 1054) error is not related to remote host or external storage.

i attach the pic of the file that i downloaded it for testing in jd 3.9, may be you found out whats happening to file. why file cant downloading!


i am Internet Download Manager software in my pc


[gelöscht durch Administrator]
Title: Re: download cant start with (External File Link)
Post by: h007 on 28.10.2019 08:29:09
i am not using free external storage. its server is in Germany. it uses direct admin.

and i haven't any problem with that(remote host) in elder versions.

its good to say that:

the (Unknown column 'id' in 'where clause' 1054) error is not related to remote host or external storage.

i attach the pic of the file that i downloaded it for testing in jd 3.9, may be you found out whats happening to file. why file cant downloading!


i am using Internet Download Manager software in my pc

[gelöscht durch Administrator]
Title: Re: download cant start with (External File Link)
Post by: ColinM on 28.10.2019 18:47:27
Hi
Having looked at your picture I think that the problem is the length for the web link. 
Presently only 60 characters have been allowed.I am away from my main test pc at the moment and just have a laptop with me!Could you test with a shorter filename string please.Colin


Title: Re: download cant start with (External File Link)
Post by: h007 on 28.10.2019 19:19:12
hi again

i am using jd for several years with Persian language, i haven't any problem  with that( link length).

its related to utf-8 that the software (idm in my pc) does not support utf-8.

i think our problem in 3.9 is related to php script or protect functions.

something automatically is canceling downloading after 2 or 3 second.

also its interesting

when i run my site in the localhost in my pc i can download file but i cant download that in the live site.
Title: Re: download cant start with (External File Link)
Post by: h007 on 29.10.2019 19:41:09
with same setting

as you can see when i run my site in the localhost in my pc i can download file from external storage
https://imgur.com/a/tVHHzWL

but i cant download that in the live site.
https://imgur.com/a/gkDLsuH

[gelöscht durch Administrator]
Title: Re: download cant start with (External File Link)
Post by: ColinM on 30.10.2019 10:55:42
Hi
I do not understand! :( The images you are showing are not from jDownloads.  They look like links to a Download Manager.The two links in your post are different.
It might be some difference with your browser setup. 
Also look at the setting of Download Duration Restriction in the user group settings for the User Group concerned.  And have you set the usergroup Ranking values ther same in both sites?Colin
Title: Re: download cant start with (External File Link)
Post by: h007 on 30.10.2019 12:29:49
my jd links doesn't assign to any menu, and when i use Send Downloads using
the PHP Script? option

and in the pages like this:

http://www.jdownloads.com/index.php/downloads/summary/6-jdownloads/2-jdownloads-3-2.html

when i clink on the download button, i got this link in the browser or idm software :(i got this in the elder versions without any problem.)

https://www.mysite.ir/directory.html?task=download.send&id=203&catid=2&m=0
.....

i have to say it again


i run my site back up in the localhost in my pc and jd 3.9 works correctly without any problem. and it shows that the problem is not related to user group setting
Title: Re: download cant start with (External File Link)
Post by: ColinM on 30.10.2019 12:50:30
Hi
Quotei run my site back up in the localhost in my pc and jd 3.9 works correctly without any problem. and it shows that the problem is not related to user group setting
But have you checked the are no differences as one sit is working and the other is not.
I have assumed that you were creating a Download with a reference to an external site - see pic.IS this the situation?
But maybe  are you just trying to put a link somewhere to the download manager on a different site?If so where are you putting that link?


[gelöscht durch Administrator]
Title: Re: download cant start with (External File Link)
Post by: h007 on 30.10.2019 12:58:26
as i said

i am using jd for several years, and i know how work with that,


[gelöscht durch Administrator]
Title: Re: download cant start with (External File Link)
Post by: Arno on 30.10.2019 13:30:14
Please send me a link to one from your files (via PM) so that I can test it here.
You use this manager?
https://www.internetdownloadmanager.com/

What happens when you try to download the file on the normal way (click on download in summary page)?

Title: Re: download cant start with (External File Link)
Post by: h007 on 30.10.2019 14:46:35
please check your box.

i sent some info for you.

tnx
Title: Re: download cant start with (External File Link)
Post by: h007 on 30.10.2019 16:39:53
and i found the solution,


the "allow_url_fopen"  function was disabled and i enabled that and now i have no problem, it works correctly.


i thank you so much.



///////////////////////
[30-Oct-2019 15:21:30 UTC] PHP Warning:  get_headers(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in xxx/helpers/jdownloads.php on line 2281
Title: Re: download cant start with (External File Link)
Post by: Arno on 30.10.2019 16:42:11
Yes this should be set to 1.
Good.  :)
Title: Re: download cant start with (External File Link)
Post by: ColinM on 31.10.2019 17:07:27
Hurrah - solved.  Will try to remember that if 'challenge' come up again
Colin