wheee
Forum Replies Created
-
Sorry. My problem was elsewhere. *embarrassed*
Forum: Plugins
In reply to: I have modified a plugin – now what?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.Forum: Fixing WordPress
In reply to: Delete uploaded files in 2.0.1?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.Forum: Fixing WordPress
In reply to: Delete uploaded files in 2.0.1?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.