Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 305858

Path to statistics.php is not correct when the path start with index.php

$
0
0

Hi,

I've installed Drupal 8.3.2 in a subfolder of my public_html webfolder. The website is accessed by https://www.mydomainname.com/subfolder

I enabled the statistics module, but this one is now making calls to:

https://www.mydomainname.com/subfolder/<b>index.php</b>/core/modules/statistics/statistics.php

The 'index.php' should not be in the URL. The URL is constructed in: core/modules/statistics/statistics.module:statistics_node_view (line 44). But I think the root cause is in the Url implementation which should not add the 'index.php'?

Also this problem can be reproduced for the usual installation of Drupal (without a subfolder):

  1. Install statistics module and checked 'Count content views' in configuration of this module.
  2. Go to page <site>/index.php/node/add/article and create Article node
  3. Go to page /admin/reports/dblog and see the message 'page not found'.

Viewing all articles
Browse latest Browse all 305858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>