Error while requesting rating

Phoca Download - download manager
Zotius
Phoca Member
Phoca Member
Posts: 16
Joined: 08 Feb 2012, 17:46
Location: Mosonmagyarovar, Hungary
Contact:

Error while requesting rating

Post by Zotius »

This message appears when the user want to rating the download
(Phoca Download component: 4.0.0Alpha9)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while requesting rating

Post by Jan »

Hi, where exactly do you get the problem?

Testing now in category view, get no problem:
Image

Do you get the same problem with Alpha10?
https://www.phoca.cz/download/category/ ... -component

Jan
If you find Phoca extensions useful, please support the project
Zotius
Phoca Member
Phoca Member
Posts: 16
Joined: 08 Feb 2012, 17:46
Location: Mosonmagyarovar, Hungary
Contact:

Re: Error while requesting rating

Post by Zotius »

On my site I can see that in category view:
Image

... and in file view the same way, ditto:
Image
PHP version: 7.4.25
Joomla 4.0.4
PD version: 4.0.0 Alpha10
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while requesting rating

Post by Jan »

Hi, try to open the development tool (e.g. in Chrome browser)
https://www.phoca.cz/documents/16-jooml ... -conflicts

and check if there is no javascript error (in console tab) or in network/fetch/xhr tab:
Image

Jan
If you find Phoca extensions useful, please support the project
Zotius
Phoca Member
Phoca Member
Posts: 16
Joined: 08 Feb 2012, 17:46
Location: Mosonmagyarovar, Hungary
Contact:

Re: Error while requesting rating

Post by Zotius »

In Chrome browser this can be seen
Image Image

... and now, what is the solution?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while requesting rating

Post by Jan »

Hi, fist of all, can you translate me the message to English?
If you find Phoca extensions useful, please support the project
Zotius
Phoca Member
Phoca Member
Posts: 16
Joined: 08 Feb 2012, 17:46
Location: Mosonmagyarovar, Hungary
Contact:

Re: Error while requesting rating

Post by Zotius »

{"error":true,"code":404,"message":"Page not found"}
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while requesting rating

Post by Jan »

Hi, hmm, try to reinstall the component again (don't uninstall it so no data will be lost, only install again) as it looks like maybe some views are missing in your installation. :idea:

Do you get the same problem when you disable SEF (for test only)?

Jan
If you find Phoca extensions useful, please support the project
Zotius
Phoca Member
Phoca Member
Posts: 16
Joined: 08 Feb 2012, 17:46
Location: Mosonmagyarovar, Hungary
Contact:

Re: Error while requesting rating

Post by Zotius »

Hello Jan!
When I disable the SEF, then work fine.
So, somewhere in this have to look for the fault...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error while requesting rating

Post by Jan »

Can you copy the url from the devtools and paste here?

First with SEF enabled, the second without SEF enabled.

Image

Thank you.
If you find Phoca extensions useful, please support the project
Post Reply