WordPress.org

Ready to get started?Download WordPress

Forums

I can't delete or edit posts and categories (4 posts)

  1. cristianaranda
    Member
    Posted 7 years ago #

    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 :P

  2. omgitztrey
    Member
    Posted 7 years ago #

    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.

  3. PopeJim
    Member
    Posted 7 years ago #

    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.

  4. HAC
    Member
    Posted 7 years ago #

    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 :P

    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)

Topic Closed

This topic has been closed to new replies.

About this Topic