WordPress.org

Ready to get started?Download WordPress

Forums

Are you sure you want to do that? (10 posts)

  1. rminfoab
    Member
    Posted 2 years ago #

    I am running WP 3.3.1 in multisite mode. I have a primary site in the document root of /public-html http://infoaboutanything.com

    I have several other sites located in subdirectories "calamities", "everybodyhasone", and "website". The three sites operating in subdirectories work fine, but with the site in public_html, anytime I try to add a page or a post, I get the error "Are you sure you want to do that?".

    I've read the posts, and followed the steps, but am still at a loss on how to get this to work on my primary site.
    I have removed all network plugins and verified that the plugins are also removed from the infoaboutanything site.

    I have removed and reloaded several different templates, but the behavior does not change with any of them. I loaded a fresh copy of Twenty Ten, and went through settings, hitting SAVE just to be sure I have the standard settings.

    I've gone into phpmyadmin and looked at the MySQL database for that project, and even though I didn't see anything unusual, I ran the database repair utility.

    When I turn on debug, I get a messages:
    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/post.php on line 4539

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/post.php on line 5326

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/ms-blogs.php on line 700

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/ms-blogs.php on line 701

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/post.php on line 2980

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/post.php on line 2980

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/post.php on line 4614

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-includes/post-template.php on line 30

    Notice: Trying to get property of non-object in /home/rminfoab/public_html/wp-admin/includes/post.php on line 424

    Notice: Undefined property: stdClass::$ID in /home/rminfoab/public_html/wp-admin/includes/dashboard.php on line 525

    Notice: Undefined property: stdClass::$ID in /home/rminfoab/public_html/wp-admin/includes/dashboard.php on line 528

    I'm really flustered. I've spent several hours for several days trying to resolve this. Any other ideas than I've already seen here and when I google the same topic? I'm a newbie to WordPress but have had websites running on my own Linux servers with Apache for years, and have 30 years experience in IT, so it's OK to get technical.

  2. We really encourage people to download and play with WordPress first, before trying Multisite. (It's akin to jumping off the high dive the same day you learn to swim. You can do it, but the odds are you'll have a painful bellyflop.)

    I have several other sites located in subdirectories "calamities", "everybodyhasone", and "website". The three sites operating in subdirectories work fine, but with the site in public_html, anytime I try to add a page or a post, I get the error "Are you sure you want to do that?".

    If you're really running Multisite, then the other sites aren't in physical subdirectories, so first, please do confirm that WordPress is installed in /home/rminfoab/public_html/ and that runs all your other sites, like example.com/calamities etc.

    Assuming that's the case, and that you can add posts on those other pages, what plugins are you running on your main site?

    Was it all working before you activated multisite? Do ANY pages on that main site work?

  3. rminfoab
    Member
    Posted 2 years ago #

    If you're really running Multisite, then the other sites aren't in physical subdirectories, so first, please do confirm that WordPress is installed in /home/rminfoab/public_html/ and that runs all your other sites, like example.com/calamities etc.

    You are correct: WordPress is installed in /home/rminfoab/public_html/

    I had run WordPress in single site mode for several days, and was able to work with templates, plugins, move widgets around, define external links, and all the other administrative stuff before attempting multi-site. I first attempted to build the content on my other sites as separate pages in WordPress, but was not happy with how that was working out, and wanted more segregation among the content. Multi-site seemed like the most logical choice for that so I could define different administrators for each site.

    So I refreshed WordPress, deleted and reinstalled all the templates and plugins, and basically deleted everything from the main site and started over once I had this problem.

    I now have no plugins installed on any of my sites, and I have no other templates other than Twenty Ten.

    On all other sites (other than the main site), I CAN add pages and posts with no problem. The problem appears only on the main site. It was working fine, then when I was playing with different templates and widgets and plugins, and it started to give the this error.

  4. It was working fine, then when I was playing with different templates and widgets and plugins, and it started to give the this error.

    Hrm.

    Install the TwentyELEVEN theme, if you can.

  5. rminfoab
    Member
    Posted 2 years ago #

    I also tried Twenty Eleven, and just tried another Green theme - same result.

  6. The reason I said to install 2011 is that it's the defualt theme :) Unless you changed that, which I doubt you did. So make SURE it's in /themes/ and just leave it there.

    http://infoaboutanything.com/ loads a site for me. So is this only failing on the back end?

  7. rminfoab
    Member
    Posted 2 years ago #

    Since this seems to be a back-end problem, I just tried to add another user as administrator, thinking it may be a permissions problem: when I go add a user, the pull-down box for role is blank. I cannot add a user or assign a role.

  8. Something didn't get installed right for that to happen.

    Have you turned off all your plugins?

  9. rminfoab
    Member
    Posted 2 years ago #

    Yes. I've not only turned them off but removed them.

    Why is everything working OK on the other sites, but just not on the main site? They are all using the same WordPress installation.

    Is there some way (outside of WordPress) that I can re-direct when it hits the main site, and just move my content to another of my network sites?

    Can I just scrap the whole WordPress installation, wipe out the MySQL database, and reinstall the whole mess (the punt strategy)? I have very little content out there at this point and I could easily recreate everything in less than a day. What would I have to be aware of before doing this? I've already taken offline backups of my home directory and dumped the MYSQL database so I can go in and manually recover pieces if necessary. I have all my content offline in Evernote so all I have to do it cut/paste and do some formatting. Maybe starting fresh would be the best idea.

  10. Try running a repair of your database.

    You COULD wipe it all out, if you wanted to, obviously.

Topic Closed

This topic has been closed to new replies.

About this Topic