kaystrobach / TYPO3.piwikintegration

Piwik backend integration for TYPO3
http://forge.typo3.org/projects/extension-piwikintegration/
GNU General Public License v2.0
6 stars 10 forks source link

No Websites Listed, 404 Page Not Found Error on typo3conf/piwik/piwik/index.php #63

Closed superscotty19 closed 8 years ago

superscotty19 commented 8 years ago

Strangest thing ...

I have piwik 2.14.0 + piwikintegration 4.3.3 running on a T3 6.2 server flawlessly, with multiple websites. I installed it to an identical clone server and can't manage websites or access users. The website dropdown only shows "ALL WEBSITES" (as opposed to listing the websites in the dropdown). The only hint I can find is, when I click on the "ALL WEBSITES" dropdown, the following error pops up in inspector:

typo3conf/piwik/piwik/index.php?date=yesterday&format=JSON2&idSite=1&method=SitesManager.getPatternMatchSites&module=API&pattern=%25&period=week 404 (Not Found)

I've tried reinstalling, flushing the DB completely (that one hurt because I lost all my settings), all to no avail. Help? -Scott.

superscotty19 commented 8 years ago

Hi,

I've been hammering on this for 3 days and at this point I need to ask for your assistance because I believe there may be a misconfigured setting on our server.

On site1:

http://www.site1.com/typo3conf/piwik/piwik/index.php?format=JSON2&idSite=2&method=SitesManager.getPatternMatchSites&pattern=%25

... will give a blank page if not logged in, or a detailed page if logged in.

However, on site2:

http://www.site2.com/typo3conf/piwik/piwik/index.php?format=JSON2&idSite=2&method=SitesManager.getPatternMatchSites&pattern=%25

... will give a 404 error.

Note that both installations are identical, and both have an .htaccess file in their respective public_html directories. Both have the same permissions as well. So, why is one not seeing index.php while the other is?

Any ideas you may have are greatly appreciated! -Scott.

superscotty19 commented 8 years ago

Unbelievable. After hammering on this for 3 days - positive it was piwik ... then positive it was piwikintegration .... - I checked with my host and it was some dumb mod_security access denied rule on Apache. UGHHH!!!!!!!! Hope this helps someone, and sorry to post to the wrong area.