12 Posts
webuniverse
8 years ago
14
Topic

Hello

I have big troubles with a Upload-File Field.

The upload works perfect, in the Backend i can click also on the PDF Name and the Document open. But not in the Frontend :-(

If i click on the PDF Link the Page go to the Mainpage with the Message "You are not allowed to access this file." 

You can see the Problem here: http://skr.ch/de/konservators-restaurators/job-boerse

The System show the Link: http://skr.ch/de/konservators-restaurators/job-boerse?task=download&file=pdf&id=477 > not working

Direct it works > http://skr.ch/images/jobs/193/stellenausschreibung-1992015-.pdf

SEO and htaccess is not the Problem, this i checked...

Can anybody help me to fix this Problem? 



Thanks

Corinne

Get a VIP membership
12 Posts
webuniverse
8 years ago
3
Level 1

Please, can someone help me to fix this Problem?

154 Posts
WebOne
8 years ago
1
Level 2

A solution that has worked for others : Add the field to the content view, you will then be able to access the file.

332 Posts
Kenneth
5 years ago
0
Level 3

Superb! That solved my issue! ;)

85 Posts
Jpeg
8 years ago
0
Level 2

Hi,

verified that your field in content view is "access public" on the 4 tab

//

Salut,

vérifie que ton champ de fichier est bien en accès public dans l'onglet 4 de la vue Contenu

Jpeg

12 Posts
webuniverse
8 years ago
7
Level 1

The field is Public... 

I think is a Routing Problem... the System makes a wrong URL ... from the Backend everything is correct, but not in the Frontend.

Correct:

http://skr.ch/images/jobs/198/1ausschreibungstext-4-enwturf-final.pdf

In the Frontend when i hover to the Link i see this URL:

http://skr.ch/de/konservators-restaurators/job-boerse?task=download&file=pdf&id=492

and this redirect to the Homepage http://skr.ch/de/

I try to disable SEO and htaccess... nothing helps :-(


Thanks for more help

154 Posts
WebOne
8 years ago
0
Level 2

Are you having the same problems when viewing a CONTENT page of the item (ie. just using Seb-one template) compared to a page generated with a LIST/SEARCH Type?

85 Posts
Jpeg
8 years ago
5
Level 2

Bonjour Corrine,

Le lien généré n'est pas une erreur, c'est une fonctionnalité de SeblodCCK afin de masquer les chemins d'accès aux dossiers et appliquer le même contrôle d'accès aux téléchargement qu'à l'article associé.

Comme le dit Webone utilises-tu un template "custom" ? ou une variation/position ? pour ta vue Content.

Edit : utilises-tu un fieldX ?

Jpeg 

12 Posts
webuniverse
8 years ago
4
Level 3

Bonjour jpeg

I dont understand french :-) ... 

I made a Printscreen: http://skr.ch/seblod.JPG

I use the Accordion Template, but today i try with the SebOne Blog and have the same Problem.

Thank you very much for helping me

Corinne

154 Posts
WebOne
8 years ago
3
Level 4

Hi Corinne,

Can you also make a printscreen of your CONTENT VIEW in the FORM?

There are many reasons why you could be getting the error and it helps to "see" as much information as possible

Regards

12 Posts
webuniverse
8 years ago
2
Level 5

Hi WebOne
Here ist a Printscreen from the Form & Content Type - http://skr.ch/seblod2.JPG

I use only the Site Form - the Frontend View i made with List & Search Typ

Thx
Corinne

154 Posts
WebOne
8 years ago
0
Level 6

Yes but just to double check have you added the Upload File field to the CONTENT View in the Form & Content Type and does it have any restrictions. You must have this field setup properly in the CONTENT View in the Form and Content Type even though you are not using it.

85 Posts
Jpeg
8 years ago
0
Level 6

I think as WebOne, it's the problem

Complete the content view and try again to download the file.

Your field "Article Access" should be -> Public Acces.

Entschuldigen mich für mein Franzozich, Ihren Vornam ist sehr franzozich :)

Jpeg

12 Posts
webuniverse
8 years ago
1
Level 1

Whohoooo - THANK YOU 

And sorry WebOne ... you speek in the first answer about this :-(

Greetings from Switzerland
Corinne

154 Posts
WebOne
8 years ago
0
Level 2

Excellent. Glad it is now working Corinne :-)

You can now mark this topic as solved.

Get a VIP membership