• Got This error when trying to upload photos to a gallery

    412 Error
    Your request got filtered out due to possible security issues.
    One or more things in your request were suspicious (defective request header, invalid cookies, bad parameters)
    If you think you did nothing wrong:
    try again with a different browser
    avoid any evil characters inside the request url
    If you are the owner of the website, you can consider revising the rules of the mod_security module or turning it off from your Web Hosting Control Panel.

    I’m fascinated with the last album widget, but can’t upload images.

    Thanks

    https://www.ads-software.com/plugins/awesome-photo-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author CodeBrothers

    (@codebrothers)

    Hi Jalcantar,

    Thanks for your support topic.

    We’ve never seen this message before. Are you able to upload images in your Media library?

    If not, it may be an issue with your web host.

    Please let me know if the media library is working as expected.

    Thread Starter jalcantar

    (@jalcantar)

    Hi CodeBrothers, ther is no way I can make this plugin works,

    the logs of the modsecurity show this:

    2016-01-22 05:30:40.331426 ModSecurity: XXX.XXX.XXX.XXX Access denied with code 412 (phase 2). Pattern match “(?:< ?i?frame ?src ?= ?(?:ogg|gopher|data|php|zlib|(?:ht|f)tps?):/|(?:\\.add|\\@)import |asfunction\\:|background-image\\:|e(?:cma|xec)script|\\.fromcharcode|get(?:parentfolder|specialfolder)|\\.innerhtml|\\< ?input|(?:/|<) ?(?:java|live|j|vb)script!s| …” at ARGS:apg_photos. [file “/services/mod_security-rules/10_asl_rules.conf”] [line “1055”] [id “340149”] [rev “154”] [msg “Atomicorp.com WAF Rules: Potential Cross Site Scripting Attack”] [data “<input”] [severity “CRITICAL”] [uri ” [hostname “entregrillosychapulines.com”]”]/wp-admin/edit.php

    Where XXX.XXX.XXX.XXX it’s my IP, so, basickly the server protection kicks in, and asumes that the plugin it’s tryng to cross site scripting, from my own IP.

    Hello Jalcantar,
    I was checking my server’s setting this morning, and I noticed the ModSecurity turned on blocking access under the 412 code. Check your server, and see if it is turned on; and look a the logs to see if you were blocked, and contact your server provider to see what triggered it.
    Hope this helps.

    Pedro M

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Got a 412 error’ is closed to new replies.