Support » Plugin: NinjaFirewall (WP Edition) - Advanced Security » Warning Message in Firewall log area

  • Resolved eddyferns

    (@eddyferns)


    Hi Ninja,

    Just above the Firewall log I am getting the below warning message. And there are about 20 of the same message there:

    Warning: pack(): Type H: illegal hex digit ] in /var/sites/h/xyz.com/public_html/wp-content/plugins/ninjafirewall/lib/nf_sub_log.php on line 113

    How can I resolve this?

    Regards,
    Ed

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Hi,

    Is your log corrupted or somehow damaged?
    Can you pack it (zip or tgz) then send it to me to “contact () nintechnet () com”?
    Enter your “eddyferns” handle is the subject and the link to this discussion in the message. I’ll check it later today.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Ha. You know @eddyferns He didn’t post his email address like that on purpose so please don’t do that. I’ve deleted your post.

    Yes, the email address you’ve just posted is correct.

    Plugin Author nintechnet

    (@nintechnet)

    @eddyferns : Yes it is correct. Alternatively, you can use our website contact form.

    @jdembowski : Thanks!

    eddyferns

    (@eddyferns)

    Jan,

    The post was to only to verify if the email address Ninetechnet provided was as interpreted to ensure that the email to be sent will not return undelivered.

    So what is wrong with that caused you to interject?

    Never meant or stated that they did it on purpose.

    Ed

    eddyferns

    (@eddyferns)

    Ninetechnet,

    Definitely would have used your form had you mentioned but since you provided me an email address instead thought that I had to use it.

    Ed

    Plugin Author nintechnet

    (@nintechnet)

    I received your file, but it is not the raw log, which is stored in /wp-content/nfwlog/firewall_2017-01.php.

    eddyferns

    (@eddyferns)

    Didn’t know that this was the file you required. Thought it was the log data.

    Have just sent it to you now.

    Plugin Author nintechnet

    (@nintechnet)

    Your log is slightly corrupted; one carriage return is missing between 2 entries.
    This occurs line 123:

    [1484703869] [0.03273] [www.xyz.com] [#1892791] [306] [1] .........4e5420352e313b2053563129][1484703869] [0.03466] [www.xyz.com] [#5130323] [306] [1] ......... e313b2053563129]
    

    It should be:

    [1484703869] [0.03273] [www.xyz.com] [#1892791] [306] [1] .........4e5420352e313b2053563129]
    [1484703869] [0.03466] [www.xyz.com] [#5130323] [306] [1] .........e313b2053563129]
    

    You can edit the file, and simply break the line between ...4e5420352e313b2053563129] and [1484703869] [0.03466]....

    • This reply was modified 3 years ago by nintechnet.
    eddyferns

    (@eddyferns)

    Added the break but that error message list still remains.

    Plugin Author nintechnet

    (@nintechnet)

    Maybe try to remove the whole line?
    I added a break and it worked without problem.
    Also, make sure you don’t use a word processor which could damage the file when you save it. A simple notepad/editor would be better.

    Have added the break, and also removed the whole line but nothing changed.

    When I removed the entire log with the exception of the code “<?php exit; ?>” the message disappeared.

    Should I restore the log data or leave it blank? The latest Daily Activity Report shows nil attacks.

    Do not use word processor. The file is edited directly in the control panel.

    Plugin Author nintechnet

    (@nintechnet)

    The file is edited directly in the control panel.

    Maybe that is your problem (encoding issue etc). I recommend to download it over FTP, edit it on your computer and to re-upload it.

    Otherwise, you can delete it, the firewall will re-create a new one next time it’ll write to it.

    • This reply was modified 2 years, 12 months ago by nintechnet.

    Thanks for your suggestion. As I had already deleted the entire log data have then kept the site under observation for 2 days, and things seem to be functioning normally without error.

    By the way, the contact form cannot be used for WP Edition (Free) as it routes the user to your WordPress support page. Therefore request you to educate and inform that imprudent moderator of this before he rudely deletes a post of another honest enquirer.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Warning Message in Firewall log area’ is closed to new replies.