Invalid Token. File Not Found.

Phoca Download - download manager
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: Invalid Token. File Not Found.

Post by jeejeestudio »

the old ones you can find here on github: https://github.com/PhocaCz/PhocaDownload/releases

Tags:
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: Invalid Token. File Not Found.

Post by jeejeestudio »

Well i tried 3.1.5 and 3.1.6
SEF on and OFF
URL rewrite on and off
cleared caches between all tries
no difference

so most probably the cause of not being able to download via unique link must lie somewhere else
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: Invalid Token. File Not Found.

Post by jeejeestudio »

i'm getting this error: 404
View is niet gevonden [name, type, prefix]: phocadownload, html, phocadownloadView
A view is not found, so i made a menu item public but not published, else it would appear in the menu.
but this seems not to help...
edit:
made a new menu item Download view->display file to download via unique link. But you can't set this public! you don't want others to see it. But anyway it's not working either.
Direct file link also not.

I'm out of options :x
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Invalid Token. File Not Found.

Post by christine »

Hi,
Unique download link feature is a specific method how to provide a download link for users. Every file in Phoca Download can have a specific unique token and user can access this file only in case he/she knows the token. In fact, this is an alternative method to access rights used for downloading a file.
See also example below: https://www.phoca.cz/documents/17-phoca ... nload-link

Kind regards
Christine
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: Invalid Token. File Not Found.

Post by jeejeestudio »

Hi Christine,

it's not clear what point you are trying to make.
Are you saying it's only for registered users? If so it is not correct because:

[quote] Unique Download Link: All users (public, registered) who know the token (security string inside the download link) can download the file. No login or registering is needed. Use this method in case, you want to share a file which shouldn't be shared for public but only for selected users. Share the link (include the token) with users who should be able to download it. For example, if you send a download link to some user, he/she will be able to access it. Even if he/she will be not logged or registered on your site. Even if the file will be not accessible on your site. [/quote]

So please explain further.

Thank you.

Regards,
Jerry
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Invalid Token. File Not Found.

Post by christine »

Hi Jerry,
jeejeestudio wrote: 17 Apr 2019, 08:55Are you saying it's only for registered users?
No, I didn't - where? See: ... "In fact, this is an alternative method to access rights ...." and the Link to continue on to:
"Unique Download Link" as stated in your Quote.

Kind regards
Christine
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: Invalid Token. File Not Found.

Post by jeejeestudio »

Hi Christine,

sorry no you did not say it, i was asking if it was that what you where pointing at.
Anyway, i get a little step further, that is:
i created a hidden file view, so what i now get is an invalid token error.
Even if you click on token, it creates a new token. Then hit save.
then try in an other browser to open the unique link (copy/paste) then it says Invalid Token.
Tried it few times now.

any idea?

thanks!
suus
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Mar 2019, 13:12

Re: Invalid Token. File Not Found.

Post by suus »

Hmmz downloaded and installed the older 3.1.6 version but no.... still the invalid Token... So it must be the updates of joomla itself that broke it...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Invalid Token. File Not Found.

Post by Jan »

Hi, I will try to check the latest Joomla! version, what was changed there, maybe there were some changes regarding this.


Jan
If you find Phoca extensions useful, please support the project
User avatar
jeejeestudio
Phoca Professional
Phoca Professional
Posts: 113
Joined: 12 Feb 2008, 13:44
Location: Netherlands

Re: Invalid Token. File Not Found.

Post by jeejeestudio »

Thanks Jan.
I Appreciate it!

Regards,
Jerry
Post Reply