FriendsOfFlarum / analytics

A Flarum extension that provides your forum piwik's and google's analytics features
https://discuss.flarum.org/d/1983
MIT License
33 stars 12 forks source link

Failures with Flarum BETA 6 #11

Closed bikepost closed 4 years ago

bikepost commented 7 years ago

Many thanks to @santiagobiali over on the Flarum forum pages. Posting here after attempting to solve without success.

@luceos @jordanjay29

Please let me know what I can do to help. Limited skill set here but I have spent quite some time on trying to get the extension to install properly with Flarum BETA 6. I am not sure whether anyone has it working. @luceoas mentioned higher up (Oct 2016) that it had been updated to work with Flarum BETA 6.

Here are my steps and it failed each time (so I can reproduce):

  1. Installed Piwik 3.0.4 with a one-click Softaculous host install. Piwki URL: http://bikepost.cc/analytics

  2. Used [code]composer require flagrow/flarum-ext-analytics[/code] [code]php flarum cache:clear[/code]

  3. Analytics then is visible under the Flarum Admin page and enabling it (checking the check box) opens a pop-up window but its appearance is broken. I filled it out anyway, at that point the extension does get added to the left admin pane but it can't load the page.

See screenshots and details below. (I have removed the extension and deleted the Piwik install after taking these screenshots).

Details: Pointing to https://bikepost.cc/analytics Table 1 Authentication Code (copied and pasted from the Piwik admin page under API)

NOTE: After unchecking the Analytics check box under Extension, the option to uninstall becomes avail but doesn't work (see last screenshot). To remove it I have to use composer:

[code]composer remove flagrow/flarum-ext-analytics[/code] [code]php flarum cache:clear[/code]

Screenshots:

The browser console shows error: [code]Failed to load resource: net::ERR_CONNECTION_REFUSED[/code]

Even after performing following these instructions: https://piwik.org/faq/troubleshooting/faq_147/

My host uses apache servers so I couldn't follow the instructions here: https://serverfault.com/questions/801651/nginx-x-frame-options-iframe-wordpress

clarkwinkelmann commented 6 years ago

I'm just noticing this issue is still open. Was it resolved outside of the tracker (maybe with @luceos ?) or are you still seeking help ?

I'm sorry if we forgot to follow up.

luceos commented 6 years ago

@clarkwinkelmann I haven't given the analytics extension any attention it deserved. @bikepost I'm sorry I forgot about you.

Benoit1980 commented 6 years ago

same problem here, blank screen on the latest Flarum version

clarkwinkelmann commented 6 years ago

@FreddyCrugger are you sure it's the same issue ? I see no mention of blank screen in the original report.

Could you try clearing your Flarum and browser cache and see if this persists ?

If you still experience it could you open another issue with a more detailed explanation of what you did / try to do ? Thanks.

Benoit1980 commented 6 years ago

Hi Yes the cache cleanup was done via SSH. No worry, as I could not get it going I install google analytics in cloudflare, all good now. I think it is better not to use too many plugins as they seem to break a lot on updates so I will try to stay away from the, until the version is fully stable. thanks again for your help.

clarkwinkelmann commented 4 years ago

I will close this issue because it was for an older version of Flarum and the extension.

Feel free to open a new issue with a fresh php flarum info and steps to reproduce if you still experience problems.