WordPress.org

Ready to get started?Download WordPress

Forums

WordPress File Monitor
Error when scanning filenames with German umlauts (5 posts)

  1. Devstorm
    Member
    Posted 3 years ago #

    Hi,

    directly after installing + configuring this plugin on my WP 3.0.1 blog,
    and Clicking 'Scan now', I get the following warnings.

    Warning: array_diff_key() [function.array-diff-key]: Argument #2 is not an array in /home/www/doc/19368/www/blog/wp-content/plugins/wordpress-file-monitor/wordpress-file-monitor.php on line 381
    
    Warning: array_diff_key() [function.array-diff-key]: Argument #1 is not an array in /home/www/doc/19368/www/blog/wp-content/plugins/wordpress-file-monitor/wordpress-file-monitor.php on line 382
    
    Warning: array_diff() [function.array-diff]: Argument #2 is not an array in /home/www/doc/19368/www/blog/wp-content/plugins/wordpress-file-monitor/wordpress-file-monitor.php on line 388
    
    Warning: Invalid argument supplied for foreach() in /home/www/doc/19368/www/blog/wp-content/plugins/wordpress-file-monitor/wordpress-file-monitor.php on line 390
    
    Warning: Invalid argument supplied for foreach() in /home/www/doc/19368/www/blog/wp-content/plugins/wordpress-file-monitor/wordpress-file-monitor.php on line 393

    I see that in the table 'wp_options', the 'wpfm_listing' holds a
    'broken' serialized array. Meaning, the serialization was broken by German umlauts (like ä, ö, ü, ß) and stopped *before* the special character.

    As a temporary measure, I had to remove the corresponding file from the filesystem.

    Pleeease make this Plugin compatible with special characters in filenames, too.

    It is one of the best security plugins in my opinion. Thank you for this. :)

    Regards,
    Devstorm

    http://wordpress.org/extend/plugins/wordpress-file-monitor/

  2. mattwalters
    Member
    Plugin Author

    Posted 3 years ago #

    Devstorm -- Thanks for tracking this down and figuring out the problem. I'll see what I can do.

  3. aljuk
    Member
    Posted 3 years ago #

    Last 24 hours I've been getting a mass of 404 Errors in my logs, pointing at a non-existent address: /images/ad/aa17b5c91acc1b.gif

    I searched my install and the wp db for the long number, but it doesn't exist. So I searched for "images/ad" and the only place it exists is in the table: wpfm_listing

    Google brought me here.

  4. mattwalters
    Member
    Plugin Author

    Posted 3 years ago #

    Alkuk -- Not related to the original topic and not a problem with the plugin.

    404 = File not found. You found it in wpfm_listing because the file did exist but no longer does. The plugin keeps a listing of files on your install for comparison purposes. Sounds like you, someone, or something deleted the file. Hope this helps.

  5. mfog
    Member
    Posted 3 years ago #

    I'm voting for this!

    Had a lot of files on the server with Danish special characters (æ ø å / Æ Ø Å) in the filenames. Hadn't been a problems. But the plugin choke upon these giving 'invalid path' and other issues.

    Can't be sure that the editors of the wp-setup won't add/upload files with special chars in the file name ... so if the plugin could be 'immune' that would be great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic