Bonjour,
Merci pour votre réponse. J'ai finalement réussi à installer phpmyvisites sur mon site mediawiki avec succès.
Best regards
AC
To: mediawiki-l@lists.wikimedia.org From: Platonides@gmail.com Date: Fri, 18 Dec 2009 20:35:35 +0100 Subject: Re: [Mediawiki-l] Statistique
A C wrote:
Hello,
Thanks Platonides.
I would like to setup BBClone but i don't know where should i insert the following code to perform a test (http://help.bbclone.de/index.php?n=Setup.TestingBBClone) :
<?php define("_BBC_PAGE_NAME", "Test"); define("_BBCLONE_DIR", "bbclone/"); define("COUNTER", _BBCLONE_DIR."mark_page.php"); if (is_readable(COUNTER)) include_once(COUNTER); ?>
I've skip this test
Run it first.
and tried to insert this code in the *.htaccess file of the wiki (in order to Automatically Adding the Activation Code To Every PHP Page (Apache webservers only) - http://help.bbclone.de/index.php?n=Setup.ActivationCode) after creating the file count.php at the root of the webserver : <FilesMatch ".(php)$"> php_value short_open_tag "Off" php_value auto_append_file "/the/path/that/leads/to/count.php"
</FilesMatch>
First, you were supposed to substitute /the/path/that/leads/to/count.php with a real path. Second, that method will give some problems with non-html pages (CSS, javascript, feeds...) so we better use the other system.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_________________________________________________________________ Téléchargez Internet Explorer 8 et surfez sans laisser de trace ! http://clk.atdmt.com/FRM/go/182932252/direct/01/