WordPress.org

Support

Support » Your WordPress » I can’t delete or edit posts and categories

I can’t delete or edit posts and categories

  • cristianaranda
    Member

    @cristianaranda

    Hi all, since i started to use the last version of wordpress, i had som problems editing and deleting posts and categories…i can’t delete any categorie, i can’t delete my posts and also i can’t add a categorie.

    Please if somebody knows what’s going on i’ll apreciate to receive an answer.

    Thanks and sorry my english 😛

Viewing 3 replies - 1 through 3 (of 3 total)
  • omgitztrey
    Member

    @omgitztrey

    Hi. A little more information will be needed before we can help. Is this a new installation or did it just out of know where occur? Make sure your mysql user priviledge is at its basic Select, Insert, Update, Delete.

    After you make a backup copy of the file, try editing wp-includes/pluggable.php and changing

    $cookie = explode(‘; ‘, urldecode(empty($_POST[‘cookie’]) ? $_GET[‘cookie’] : $_POST[‘cookie’])); // AJAX scripts must pass cookie=document.cookie
    foreach ( $cookie as $tasty ) {
    if ( false !== strpos($tasty, USER_COOKIE) )
    $user = substr(strstr($tasty, ‘=’), 1);
    if ( false !== strpos($tasty, PASS_COOKIE) )
    $pass = substr(strstr($tasty, ‘=’), 1);

    to

    $user = $_COOKIE[USER_COOKIE];
    $pass = $_COOKIE[PASS_COOKIE];

    I know that’s not a perfect solution, but I bet it’ll work until you can find a better fix.

    Hi all, since i started to use the last version of wordpress, i had som problems editing and deleting posts and categories…i can’t delete any categorie, i can’t delete my posts and also i can’t add a categorie.

    Please if somebody knows what’s going on i’ll apreciate to receive an answer.

    Thanks and sorry my english 😛

    YES, I HAVE THE SAME PROBLEMS TO YOU.

    I beg for any help. Thank you very so much. IT’S A FRESH INSTALLATION OF 2.2.1 and my database has all the rights. (I tested so many other sources without any problems)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I can’t delete or edit posts and categories’ is closed to new replies.