WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Better WP Security] Database log-related error (1 post)

  1. vietnhi
    Member
    Posted 1 year ago #

    Hi,

    I checked my error log (created by nginx) for the last week and discovered that Better WP Security has generated a lot of errors when trying to create new records in bwps_log table. The error is below:
    PHP message: WordPress database error Data too long for column 'referrer'
    Looking at the data for referrer, they are URLs coming from Google which look quite long indeed.
    'http://www.google.com.vn/url?sa=t&rct=j&q=xo%C3%A0i%20t%C3%A1o%20%E1%BB%9F%20%C4%91%C3%A2u&source=web&cd=11&cad=rja&ved=0CCcQFjAAOAo&url=http%3A%2F%2Ffruitgarden.vn%2Ftao-bi-bong-va-tao-5-goc-khac-nhau-o-dau%2F&ei=beKWUa3bIaKBiQftmoDYCg&usg=AFQjCNGSv23qsh08RwChPOiF5BXalHs-Ig&bvm=bv.46751780,d.aGc
    Is that because the max no of characters in referrer column cant keep up with long URLs ? If yes, please suggest any solution.

Topic Closed

This topic has been closed to new replies.

About this Topic