*

AccepT

  • **
  • 26 posts
It gives a 404 error if you go to Favorites from the "favorites"
« on: December 21, 2022, 10:02:49 AM »
Hello!
It gives a 404 error if you go to Favorites from the "favorites" label at the top, or from the favorites control button.
In this case, the link is given by the curve: favorite-lists/%7Blist-id%7D/%7Bcurrent-update%7D/%7Bnotification-update%7D/%7Blist-remove%7D/%7BiPage%7D
If you login from a profile, then everything is fine; favorite-lists/0/0/0/0/0
Permalinks are enabled, if turned off it works well.
Where to fix what?

*

MB Themes

Re: It gives a 404 error if you go to Favorites from the "favorites"
« Reply #1 on: December 21, 2022, 10:40:46 AM »
Where you see that wrong link?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

AccepT

  • **
  • 26 posts
Re: It gives a 404 error if you go to Favorites from the "favorites"
« Reply #2 on: December 21, 2022, 11:24:39 AM »
I wasn'T talking about the wrong link.
I was talking about a crooked link that, if the permalinks functions are enabled, throws a 404 error.

I'll explain it again:
Permanent URL links are included, but on the Favorites page the link is crooked and error 404. This is if you go to favorites through the "favorites" label at the top of the site. From the account page, if you go to favorites, then everything is fine.
If you disable URL permalinks, the error disappears.

This is a crooked link that gives out when going to favorites from the text: favorite-lists/%7Blist-id%7D/%7Bcurrent-update%7D/%7Bnotification-update%7D/%7Blist-remove%7D/%7BiPage%7D
And it should be like this: favorite-lists/0/0/0/0/0
But it's not there!

*

MB Themes

Re: It gives a 404 error if you go to Favorites from the "favorites"
« Reply #3 on: December 21, 2022, 09:26:23 PM »
Do you use very latest version of plugin?
I do not see such issue on demo.

It use:
Code: [Select]
<?php echo osc_route_url('favorite-lists'); ?>
New route does not use parameters.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

AccepT

  • **
  • 26 posts
Re: It gives a 404 error if you go to Favorites from the "favorites"
« Reply #4 on: December 22, 2022, 06:29:00 AM »

It use:
Code: [Select]
<?php echo osc_route_url('favorite-lists'); ?>
New route does not use parameters.

Where, in which file should this be inserted?
There are no problems on the demo, but why do I have?
So I ask what could be the reason?
I have provided you with information by personal message, I ask for help, but there is no answer.

Moreover, if some user adds an ad to his favorites, then for some reason it is immediately visible to all users on the main page?

*

MB Themes

Re: It gives a 404 error if you go to Favorites from the "favorites"
« Reply #5 on: December 22, 2022, 08:14:40 AM »
No modifications are required, you just must use latest version of favorite items plugin.
That should be it.

On home page, you can enable/disable Most favorited listings section.
Its meaning is probably self-explanatory
« Last Edit: December 22, 2022, 08:16:48 AM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots