Probleme d'installation - HTACESS

J’ai sans succès consulté tous les forums pour trouver une solution à ce problème lors de l’installation :

Intégrité du fichier
Le contrôle d’intégrité a échoué et a rapporté des erreurs. Cela est probablement dû à un envoi de fichier partiel ou en échec des fichiers de Piwik. Vous devriez envoyer de nouveau les fichiers de Piwik et rafraîchir cette page jusqu’à ce qu’elle n’affiche plus aucune erreur.
Fichier manquant : /homez.35/rossigno/www/stats/piwik/plugins/ExamplePlugin/config/.htaccess

Le fichier .htacess est inexistant (même dans le dossier d’origine “latest.zip” que j’ai décompressé)

J’ai supposé que c’était un fichier pour la lecture de PHP5, donc j’en ai mis un, mais le résultat est pratiquement similaire :

Intégrité du fichier :
Le contrôle d’intégrité a échoué et a rapporté des erreurs. Cela est probablement dû à un envoi de fichier partiel ou en échec des fichiers de Piwik. Vous devriez envoyer de nouveau les fichiers de Piwik et rafraîchir cette page jusqu’à ce qu’elle n’affiche plus aucune erreur.
Différence de taille de fichier : /homez.35/rossigno/www/stats/piwik/plugins/ExamplePlugin/config/.htaccess (longueur attendue: 35, rencontrée : 52)

J’ai trouvé pas mal de personne qui ont eu le même message mais pas vraiment de solution en face…

Comme LeeLoo dans le 5ème élément : Ple-ase, HELP

Comment as tu ulpoad les ficher au server? Quelle serveur systeme utliser vous?

J’ai uploadé via TRANSMIT pour MAC, logiciel FTP
Par contre j’ai vu que dans le dossier source, déjà il n’y avait pas de .htaccess
Serveur systeme OVH (apach, je crois)

Il y a 2 chose.

De temps en temps un ftp peut corrupter les fiches. J n ai pas utiliser Transmit mais un autre traditionelle ftp peut etre t aider.

Chose #2 le .htaccess est un fiche pour la secutire, c est possible tu dois la “create” dans ton root folder de piwik.

Je t emmner a chereche pour une example de .htaccess dans ton server et la “create” dans ton piwik root.

chere dans le folder httpdocs c est possible i l y en la.

Peut to me montrer un complete screengrab de l` erreur?

great
we can write in english if you prefer
here I found a page, describing a way to create .htacess
do you think it’s possible ?
here the link : 301 Moved Permanently comed from Piwik forum
and hre the link containing the error message : http://rossignol-technology.com/stats/piwik/index.php?action=systemCheck
and more : complte screenshot (joigned)

thx a lot

Ok I think I may have it. The intregrety check has found an error with some of the previously installed files. I recommend you use a freeware version of a mac ftp different than what you used. I think some of the folders or files in the piwik install got encoded incorrectly when transfered. Delete or rename your piwik folder reupload with a client like i recommended re rerun teh install and I think you should be ok.

If you also want to avoid this upload the zip archive uncompress from the apache server itself.

Try this and let me know how it goes.

Ok
I’m going to try from a pc connected with file zilla
I’ll tell you this morning

:frowning:
bad news, still problem, not the same, but a different one : http://rossignol-technology.com/stats/piwik/index.php?action=systemCheck

message :

Le contrôle d’intégrité a échoué et a rapporté des erreurs. Cela est probablement dû à un envoi de fichier partiel ou en échec des fichiers de Piwik. Vous devriez envoyer de nouveau les fichiers de Piwik et rafraîchir cette page jusqu’à ce qu’elle n’affiche plus aucune erreur.
Différence de taille de fichier : /homez.35/rossigno/www/stats/piwik/misc/generateDoc.bat (longueur attendue: 117, rencontrée : 115)

That’s not the same place for the bug, and not the same bug…

I’ve upload from a pc connected with file zilla

I’m retrying to upload, maybe some problem with connection

:frowning:
re bad news, it doesn’t work

same problem : “Différence de taille de fichier : /homez.35/rossigno/www/stats/piwik/misc/generateDoc.bat (longueur attendue: 117, rencontrée : 115)”

here the link : http://rossignol-technology.com/stats/piwik/index.php?action=systemCheck

and a screenshot attached…

ok i found some older reports of similar issues, it was then recommended to just ignore the integrity check as long as it pertained to windows like files and you were running on php and not php files themselves.

http://forum.piwik.org/read.php?2,47271

Can you just contineu with the install make note of files it errors out on and see if it works regardless?

ok I’ll do that and give you news soon…

OK
except the problem knew on step 2, everything is allright

but… nothing works (or only 5%, maybe…)
all the fonctions say “loading” but nothing appears

I can’t disconnect, and after diffrent clic, new message :

“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@rossignol-technology.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.”

The same message when I click “parametres” "deconnecter"
Nothing happends for all other fonction, still writing : “loading”

as we say in France : Je suis dubitatif :slight_smile:

ok that could actually be good. Looks like you just need to install the .htaccess file in your piwik root.

Look online or in in main web root folder for an .htaccess file

Heres a copy of vips example.

<Files “*”>
Order deny, allow
Deny from all
Allow from 128.252.135.
Allow from .mydomain.com
Allow from host.mydomain.com

<Files ~ “^piwik.(js|php)|robots.txt$”>
Allow from all
Satisfy any

remember its important

the name needs to start with “.”

so .htaccess

done but same message :
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@rossignol-technology.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

ok just to be clear you changed the htaccess to reflect your server config?

can you check some of your error logs, see if anything is there that could help us.

/etc/httpd/logs/error_log

/usr/local/apache/logs

am a stupid boy
no, I didn’t reflect my server config
but I’ve done :

<Files “*”>
Order deny, allow
Deny from all
Allow from 213.186.33.16
Allow from .rossignol-technology.com
Allow from host.rossignol-technology.com

<Files ~ “^piwik.(js|php)|robots.txt$”>
Allow from all
Satisfy any

same message error

RewriteEngine On RewriteBase /app/webroot/ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

ok try this

put this on the main level of your web folder delete the one from piwik level.

Line 2 has to reflect your web server.

Could you find any of the logs to see what they say as far as potential errors?

still the same problem
do you mean I’ve to put the .htaccess in the www folder ?
about the logs, I only have such files near the www folder (www contains Joomla!)
see attach file

Yes if the web folder is in the www, typically its in the or www/vhosts/domain/httpdoc/ folder though.

What is your base root web serving folder?

If joomla are you using this for your plugin?

http://extensions.joomla.org/extensions/site-management/analytics/site-analytics-cloud-based/6885