When we set in Global Configuration Use URL Rewriting & Add Suffix to URL to "Yes" (with launched .htaccess file)
Looking for non-html files on the server that does not exist, displays error 404
No error 404, after enabling error reporting we get a message:
Error displaying the error page: Call to undefined method Joomla\CMS\Document\RawDocument::addHeadLink(): View not found [name,type,prefix]: article, txt, contentView
txt - when we looking for txt file, php - when we looking for php file etc
PHP 5.6, 7.0, 7.1
Apache
Tested on localhost and trusted hosting companies.
Category | ⇒ | Router / SEF |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-12-04 06:02:45 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_Date | 2017-12-04 06:02:45 | ⇒ | 2017-12-04 06:02:46 |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18962
i have the same problem , any solutions?
Please note that to test PR #18966
to make a fix for your website if you are not using Joomla's beez and protostar templates
then you need to
either contact the author of your Joomla template,
or someone that knows a little about Joomla templates, that will add similar checks to error.php like PR #18966 does
you can ask more in Joomla forums too
I checked Protostar and Beez3 template with link domainname.pl/index.xml
I have also no debug there, and error message is Error: Call to undefined method Joomla\CMS\Document\XmlDocument::addHeadLink(): View not found [name, type, prefix]: article, xml, contentView - little different error but is giving 404
se here screen> http://zyzak.ayz.pl/beez-giving-404-but-with-error.jpg
This issue is not the same as issue #20004
(see comment)
#20004 (comment)
Just both issues occur because no checks are being made to ensure that JDocument is a JDocumentHTML
Impact:
When we set Display Errors to off & Error_reporting to none, bots testing our site receive a 500 error
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18962.