Forum Replies Created

Viewing 1 replies (of 1 total)
  • This is due to key length restriction on MySQL.

    I reduced blocked_uri key length to 256 as follow (line 413 in wpCSPadmin.php) and it works.

    id mediumint(9) NOT NULL AUTO_INCREMENT, violated_directive varchar(50) NOT NULL default ”,
    blocked_uri varchar(256) NOT NULL default ”,
    document_uri varchar(1024) NOT NULL default ”,
    useragent varchar(1024) NOT NULL default ”, remoteaddress varchar(1024) NOT NULL default ”,
    information text ,
    createdon timestamp DEFAULT CURRENT_TIMESTAMP,
    PRIMARY KEY id (id),
    KEY violated_directive (violated_directive, blocked_uri),
    KEY createdon (createdon)

    • This reply was modified 8 years, 7 months ago by mbikyaw.
    • This reply was modified 8 years, 7 months ago by mbikyaw.
Viewing 1 replies (of 1 total)