Topic on Extension talk:Secure HTML

Peachey88 (Flood) (talkcontribs)
Peachey88 (Flood) (talkcontribs)
Peachey88 (Flood) (talkcontribs)

Don't forget to edit your LocalSettings.php to include your primary and secondary key strings, otherwise you'll keep getting that error

Peachey88 (Flood) (talkcontribs)

I always get Error: invalid hash also, and I put in a primary and secondary key string in localsetting.php

Any suggestions?

Where does:

$shtml_keys = array(
      'primary key' => "key1",
      'another key' => "key2"
    );

Go in localsettings, or does it matter?

user:jldupont, I won't use Extension:SecureHTML because:

  1. I am running 1.7
  2. Installing two programs to make one program work seems like to much of a hassle. Why not combine both programs?

This post was posted by Peachey88 (Flood), but signed as Odessaukrain.

Peachey88 (Flood) (talkcontribs)

i also get the Error: invalid hash, i wonder if i've found the solution: in my case i've got confused with the fields key name and key, so i've put the key name in both. once i've copied the key string in the key field everything worked perfectly - i love this ingenious extension. i'm quite embarrassed to admit such a silly mistake, but i guess it could happens to others, so laugh with me! ^____^

This post was posted by Peachey88 (Flood), but signed as Eumeme.

Peachey88 (Flood) (talkcontribs)

I initially got "invalid hash" error too, later I recognized that I had a syntax error in my html code that I want to secure. After I correct that, everything works perfect. Thanks to the author!

This post was posted by Peachey88 (Flood), but signed as 24.6.151.20.

82.44.113.40 (talkcontribs)

I'm getting Error: invalid hash

Any advice?

Latest extension as of 25/09/12 I've even copied the code to test but it does not work!


$wgSecureHTMLSecrets = array(

 'Wiki admin' => 'foo',
 'developers' => 'bar',
 'Support department' => 'baz',

);


Was there something else i should put in the localsettings.php page? I've copied and pasted exactly what it says on the page into the localsettingsfile

27.57.47.146 (talkcontribs)

Hi all,

Not sure if anyone is still looking for solution but posting it for reference just in case.

The 'key secret' in the Special:SecureHTML page is the value of the array $wgSecureHTMLSecrets. Hopefully it helps.

Regards Arshdeep arsh_makker@yahoo.com

197.210.173.141 (talkcontribs)

Good morning I deposited 20 thousand in my acct and the has been removed and did not credit me,,it keep on saying harsh error

Reply to "'invalid hash' error"