XML Feed URL not work

Phoca Cart - complex e-commerce extension
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: XML Feed URL not work

Post by vodka »

debug report:
<code>404</code>
<trace>#0 /var/www/cl94232/data/www/xn--80acheabbc2cdhi4b5m.xn--p1ai/libraries/src/Application/CMSApplication.php(1069): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true) #1 /var/www/cl94232/data/www/xn--80acheabbc2cdhi4b5m.xn--p1ai/libraries/src/Application/SiteApplication.php(820): Joomla\CMS\Application\CMSApplication->route() #2 /var/www/cl94232/data/www/xn--80acheabbc2cdhi4b5m.xn--p1ai/libraries/src/Application/SiteApplication.php(228): Joomla\CMS\Application\SiteApplication->route() #3 /var/www/cl94232/data/www/xn--80acheabbc2cdhi4b5m.xn--p1ai/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute() #4 /var/www/cl94232/data/www/xn--80acheabbc2cdhi4b5m.xn--p1ai/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute() #5 /var/www/cl94232/data/www/xn--80acheabbc2cdhi4b5m.xn--p1ai/index.php(32): require_once('/var/www/cl9423...') #6 {main}</trace>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: XML Feed URL not work

Post by Jan »

Hi, did you create the Feed URL directly in Menu?

Image
If you find Phoca extensions useful, please support the project
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: XML Feed URL not work

Post by vodka »

did not create. where is it?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: XML Feed URL not work

Post by Benno »

Hi,
backend --> Menus --> (e.g.) Main Menu --> New --> Menu Item Type * --> Select --> Phoca Cart --> XML Feed View

Kind regards,
Benno
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: XML Feed URL not work

Post by vodka »

yes, it works with sef, but then this item hangs in the menu(( is it possible to make it work but not be displayed in the menu?
how bring this link to the form /feed.xml ??
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9440
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: XML Feed URL not work

Post by Benno »

Hi,
create a hidden menu item:
e.g. https://www.joomshaper.com/blog/how-to- ... -in-joomla

Kind regards,
Benno
User avatar
vodka
Phoca Enthusiast
Phoca Enthusiast
Posts: 53
Joined: 06 Apr 2022, 21:57

Re: XML Feed URL not work

Post by vodka »

thanks! now the sef link is working.
how to change it to a shorter type ../rss.yml ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: XML Feed URL not work

Post by Jan »

Hi, I don't think, there is some way to shorten this except some modification of the router :idea:

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