User tests: Successful: Unsuccessful:
Pull Request for Issue #10961
This PR is a redo of #11557
This is correcting the fatal error (for a site in French or multilingual site and using French in frontend.
(The same error will also happen when using another language than English)
Error: Call to undefined method Joomla\CMS\Document\FeedDocument::addHeadLink(): DateTime::__construct(): Failed to parse time string (jeudi 02 novembre 2017) at position 0 (j): The timezone could not be found in the database.
Using UNIX to be sure to get a date.
Define a default time zone. I tested with Paris.
Choose a non English language as frontend language. French is a good example.
Index smartsearch.
Create a menu item to smart search , make sure Show Feed is set to yes.
Display that menu item in frontend and search for example for an article title.
Try to load the feed.
patch and try again.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_finder |
Labels |
Added:
?
|
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC. Thanks for testing.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-03-17 15:26:58 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
For info, the link to the feed will be something like:
http://mydomain.com/smartsearch.feed?q=newarticlefr&type=atom