piwikjapan / plugin-clickheat

GNU General Public License v2.0
26 stars 12 forks source link

Installed and crashed Piwik Administration #2

Open Cruiser13 opened 9 years ago

Cruiser13 commented 9 years ago

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.

piwikjapan commented 9 years ago

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

piwikjapan commented 9 years ago

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

Cruiser13 commented 9 years ago

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.

piwikjapan commented 9 years ago

Could you put apache's error log here ?

Cruiser13 commented 9 years ago

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

gfive commented 9 years ago

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

piwikjapan commented 9 years ago

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?

gfive commented 9 years ago

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.

piwikjapan commented 9 years ago

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.

Cruiser13 commented 9 years ago

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

bisontebiscottato commented 9 years ago

any update on this error? thanks

mauricezuhlke commented 9 years ago

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'
piwikjapan commented 9 years ago

Unfortunately still I couldn't find cause of problems.

Globulopolis commented 9 years ago

@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.

sgiehl commented 9 years ago

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)

Globulopolis commented 9 years ago

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

Cruiser13 commented 9 years ago

Would you adjust the filename @piwikjapan ?

shenzhuxi commented 9 years ago

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".

cssandstuff commented 8 years ago

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