User upload only with super user rights

Phoca Download - download manager
sluggard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 08 Feb 2020, 10:55

User upload only with super user rights

Post by sluggard »

Hi community,

I'm facing the problem, that I can only upload files with the "user upload" component of phoca download if the logged in user has super user rights. In Joomla backend the user authorization works well but with the "user upload" component on website frontend I dont get it work.

I'm using phoca download 3.1.9 on Joomla 3.9.10.

The phoca category for the files has set access rights/upload rights/delete rights for "all registered users".

The "enable user Upload" option in Joomal configuration is also set to Yes.

Therefore I have no idea why only user with super user rights are able to upload files at frontend view.

The error message is "File not uploaded You are not authorized to upload file". I can select the category in the user upload component, the error message occurs when I press "Start Upload".
I don't want to grant all users super user rights, therefore I would be happy if you can assist me.

Thanks in advance

sluggard
christine
Phoca Hero
Phoca Hero
Posts: 2734
Joined: 28 Nov 2010, 17:20

Re: User upload only with super user rights

Post by christine »

Hi,

check this please: https://www.phoca.cz/documents/17-phoca ... users-only

ah, it belongs to upload:
https://www.phoca.cz/documents/17-phoca ... n-frontend

Kind regards
Christine
sluggard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 08 Feb 2020, 10:55

Re: User upload only with super user rights

Post by sluggard »

Hi Christine,
thanks for your response. The upload function works fine with super user rights. So I think the general setup should be fine.
I know these support sites already, unfortunately it does not solve the problem.
Regards
Sluggard
sluggard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 08 Feb 2020, 10:55

Re: User upload only with super user rights

Post by sluggard »

Could someone else assist me with this problem?
I don't so any solution by now. Should I post more details about my installation or do you need something else.

Thanks in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User upload only with super user rights

Post by Jan »

Hi, just paste here the screenshots of rights in currenct category.

Jan
If you find Phoca extensions useful, please support the project
sluggard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 08 Feb 2020, 10:55

Re: User upload only with super user rights

Post by sluggard »

Hi Jan,
unfortunately I was not able to upload images in the forum, so I uploaded it here.

https://ibb.co/mbVzqmM

Thanks in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User upload only with super user rights

Post by Jan »

Hallo, versuch mal Zugriffebene Parameter auf "Registered" setzen.

Jan
If you find Phoca extensions useful, please support the project
sluggard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 08 Feb 2020, 10:55

Re: User upload only with super user rights

Post by sluggard »

Hallo Jan,
leider hat das auch nichts verändert. Eigentlich kann es auch mit Phoca nichts zu tun haben, weil der User ja im Backend Files hochladen kann. Nur das Modul für den FrontEnd Upload scheint irgendein Problem mit den Berechtigungen zu haben.
Ich bin ziemlich ratlos. Wahrscheinlich muss ich mich nach einem anderen Upload/Download Plugin umsehen. Blöd nur, dass unsere Website schon lange auf Phoca setzt.
Irgendwelche Logs kann ich auch nicht einsehen. Ich habe den Debug Modus für Joomla auch schon aktiviert. Dort aber auch nichts gesehen,
Grüße
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47865
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: User upload only with super user rights

Post by Jan »

Hallo, debug mode sagt was, wenn da Fehler in Kode ist. Das ist aber kein Problem in Kode.

Dieser Fehler wird angezeigt, wenn:

- man keine Zugangsrechte zur Kategorie hat
- und keine Uploadsrechte hat

So wenn es auf "Registered" gesetzt ist, wirklich schwierig zu sagen, was da falsch seien kann. :-(

Jan
If you find Phoca extensions useful, please support the project
Rechi
Phoca Member
Phoca Member
Posts: 32
Joined: 15 Feb 2015, 14:00

Re: User upload only with super user rights

Post by Rechi »

Hallo zusammen
Ich habe das gleiche Problem, gibt es eine Lösung?
Post Reply