Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Plugins
    In reply to:
    Thread Starter wheee

    (@wheee)

    Sorry. My problem was elsewhere. *embarrassed*

    Thread Starter wheee

    (@wheee)

    I’ve made some attempt to reach the plugin author, without success (so far).
    The original plugin is released under GPL while one component used in it is Affero GPL and another is Lesser GPL.

    Thread Starter wheee

    (@wheee)

    Problem solved…?
    I have no idea what I’m doing, maybe someone more qualified has a better solution.

    On row 338 in functions-post.php I changed:
    add_post_meta($post_ID, '_wp_attached_file', $file);
    to
    add_post_meta($post_ID, '_wp_attached_file', quotemeta($file)); and now deleting files works fine.

    Thread Starter wheee

    (@wheee)

    Yes, I meant the new uploading feature in WP admin. The file and folder permissions seems right, no problems there.

    Maybe I have found the problem:
    In the database, table “postmeta”, the “meta_value” (file path) doesn’t have slashes correctly written and there is some odd characters in the path. I’ve tried changing this path manually (after uploading a file) and that makes the delete function work (for that file only of course).

    Maybe this is a bug in WP?

    Don’t know if it makes a difference, but I’m on a Windows Srv 2003 machine, running Apache 2.0.55, PHP 5.03 and MySQL 4.1.16.

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