sjaffredo
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Can’t delete postHey, I finally solved the problem thanks to this trick.
Hope it works with other people, and that it’ll be implemented in the next application fix.
YES!!It did the trick!!
Elpis, that was smashing. I’ve been trying to solve this for a week.
Thanks a lot man.Forum: Installing WordPress
In reply to: Can’t delete postHi Nick thanks for your testimony. Please drop a wsord here if you find a solution to our problem!
Forum: Installing WordPress
In reply to: Can’t delete postOK, I found it in capabilities.php as on my server
// Capability checking wrapper around the global $current_user object.
function current_user_can($capability) {
$current_user = wp_get_current_user();$args = array_slice(func_get_args(), 1);
$args = array_merge(array($capability), $args);if ( empty($current_user) )
return false;return call_user_func_array(array(&$current_user, ‘has_cap’), $args);
}The whole file is actually perfectly similar to the capabilities.php unzipped from the download package.
Forum: Installing WordPress
In reply to: Can’t delete postHi Michael, thanks again for your support.
I checked out the DB and I do have the same value
a:1:{s:13:”administrator”;b:1;}
for both administrators.
Still, none can delete posts.
Would there be a bug in my function !current_user_can()? Where is that function defined and what should the correct code for it?Forum: Installing WordPress
In reply to: Can’t delete postNope. Tried it, to no avail.
Looks like there’s a problem with the permissions in the database that occurs when updating automatically from 1.5 to 2.0 or 2.1, only I have no idea what it is exactly and how to fix it.Forum: Installing WordPress
In reply to: Can’t delete postThanks for your answer. I can write a new post but when I try to delete it I get a message error “You are not allowed to delete this post.”
The only way I found to delete was to do it directly in phpMyAdmin, but I don’t like to mess with the database.
I saw many people had the problem after upgrading from 1.5 to 2.1. I tried all solutions (delete cookies, cache, wordpress-2.0.3-tuneup.php, and force-upgrade.php) but nothing worked.
Any idea for me?