• Resolved umchal

    (@umchal)


    Hi,

    It seems the plugin does not work on Windows.

    I get this warning after performing Auto-Scan.

    Warning: fopen( .../wp-content/uploads\profiles\) [function.fopen]: failed to open stream: No such file or directory in ...\p3-profiler\classes\class.p3-profiler-reader.php on line 153

    The xdebug output indicates it tries to read a directory.

    I added

    if ( is_dir( $file ) ) {
    	return;
    }

    on line 152 in class.p3-profiler-reader.php. Then the warning has gone.

    After that, I went to the History tab and click on the view link of the last scan item. Then it gave the warning

    Warning: fopen(...wp-content/uploads\profiles\json) [function.fopen]: failed to open stream: No such file or directory in ...\wp-content\plugins\p3-profiler\classes\class.p3-profiler-reader.php on line 157

    I don’t find a file of the name json in the profiles directory either. I see the .json file though.

    It would be nice if this plugin works on Windows servers.

    PHP 5.2.4
    WordPress 3.9.1
    Apache 2.2.23

    https://ww.wp.xz.cn/plugins/p3-profiler/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Does not work on Windows’ is closed to new replies.