plugin-clickheat icon indicating copy to clipboard operation
plugin-clickheat copied to clipboard

Installed and crashed Piwik Administration

Open Cruiser13 opened this issue 9 years ago • 19 comments

After installing the plugin I tried to activate it. After that, I was unable to reach my Piwik Administration area (page not found 404 error by the browser). The default site dashboard was still working but heatmap did not appear.

After removing the clickheat-plugin manually via FTP, the Administration area worked as expected.

CHMod 777 for plugin folder was given. Plugin was downloaded from the official server, version 0.1.2. Server system is Windows Server 2012 R2 with IIS.

Cruiser13 avatar Apr 25 '15 11:04 Cruiser13

Sorry. I made a typo. Do you use ClickHeat http://plugins.piwik.org/ClickHeat not ClickHeart ?

piwikjapan avatar Apr 25 '15 13:04 piwikjapan

And Now, I don't consider Windows. Sorry.

piwikjapan avatar Apr 25 '15 13:04 piwikjapan

Yes, ClickHeat. I can replicate the issue on a *nix system with apache and latest piwik too. Install from Piwik marketplace and get a 404 in Administration of Piwik. No further error message yet.

Cruiser13 avatar Apr 25 '15 22:04 Cruiser13

Could you put apache's error log here ?

piwikjapan avatar Apr 26 '15 04:04 piwikjapan

Hello, there is nothing to find in my apache error log, sorry.

Cruiser13 avatar Apr 27 '15 14:04 Cruiser13

I have the same problem, also unix and latest piwik. (won't install)

gfive avatar Apr 29 '15 19:04 gfive

Where did you get error 404 on Administrator ?

For example,

http://yourpiwiksite/index.php?module=CoreAdminHome&action=generalSettings (When you clicked link "Administrator", showed this page first.) http://yourpiwiksite/index.php?module=CorePluginsAdmin&action=plugins (Manage Plugins - You can install / uninstall plugin on this page.)

or another?

piwikjapan avatar Apr 30 '15 01:04 piwikjapan

When I try to activate the plug-in i get the following error:

The class ClickHeat couldn't be found in the file '/home2/element/public_html/analytics/plugins/ClickHeat/ClickHeat.php'

I have to remove the plug-in so piwik will run again.

gfive avatar Apr 30 '15 07:04 gfive

Muuuuu..... Sorry for I can not find the cause of this serious problem. And 403 error was reported, it is also important, I think I should rewrite start up script on plugin.

piwikjapan avatar May 01 '15 13:05 piwikjapan

A solution would be great, thanks for looking into it. Awesome plugin if it works.

Cruiser13 avatar May 01 '15 17:05 Cruiser13

any update on this error? thanks

bisontebiscottato avatar Jun 24 '15 20:06 bisontebiscottato

Are there any updates on this error? I get the class 'ClickHeat' couldn't be found and then I have to manually delete the plugin folder to use Piwik again.

My setup is: Apache/2.4.7 (Ubuntu) PHP 5.5.9-1ubuntu4.11 MySQL 5.5.43-0ubuntu0.14.04.1

And the error message is:

The class ClickHeat couldn't be found in the file '/var/www/html/piwik/plugins/ClickHeat/ClickHeat.php'

mauricezuhlke avatar Jul 08 '15 15:07 mauricezuhlke

Unfortunately still I couldn't find cause of problems.

piwikjapan avatar Jul 09 '15 14:07 piwikjapan

@piwikjapan something went wrong when the plugin published to marketplace. When I install it from marketplace I saw an error as described above. After looking into problem file I see that the content of this file is the same with the config.piwik.php So I need to copy/paste content of ClickHeat.php from this repo into local file and everything is ok.

Try to retag(add new version tag) for you plugin.

Globulopolis avatar Jul 12 '15 10:07 Globulopolis

Maybe it's a problem to have ClickHeat.php and clickheat.php. It will be a problem on windows for sure (even when using apache instead of IIS)

sgiehl avatar Jul 24 '15 10:07 sgiehl

@sgiehl you're right. It's a problem with these to files on windows platform.

Globulopolis avatar Jul 24 '15 14:07 Globulopolis

Would you adjust the filename @piwikjapan ?

Cruiser13 avatar Jul 31 '15 12:07 Cruiser13

I checked out ClickHeat.php from git, then I can get in Piwik Administration. But when I went to Visitors > ClickHeat, I got "Fatal error: Cannot redeclare class Piwik\Plugins\ClickHeat\ClickHeat in piwik/piwik/plugins/ClickHeat/clickheat.php on line 0".

shenzhuxi avatar Oct 15 '15 11:10 shenzhuxi

any update on this? am getting the same error "Fatal error: Cannot redeclare class Piwik\Plugins\ClickHeat\ClickHeat" am using 2.16.1. @piwikjapan やまちゃんお願いします 🙇

cssandstuff avatar Aug 02 '16 23:08 cssandstuff