• I’m having problems with importing my old posts from my wordpress blog to my new wordpress in a new host. When I imported the xml file, some of the pages didn’t appear. I tried searching a page using it’s name and it appeared. However, I can’t edit, view or delete the page since it says this: Fatal error: Maximum execution time of 30 seconds exceeded in /home/pretendf/public_html/tin/wp-includes/post.php on line 1047

    What should I do? Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m having this same problem. Except I don’t see the pages that don’t show up under Manage > Pages even if I type what would be their address in my browser. But when I go to reimport the pages, it says they already exist. I’m using WordPress 2.1.2 and its built in import/export feature.

    To help save guessing…

    What version of WP is the target?
    What version of WP is the source?

    What import option are you using?

    HandySolo,

    I’m exporting from 2.1.2 and importing into 2.1.2 at a different WP blog on a different web host. I’m using the Import and Export features under the Manage tab in the WP administration.

    When using the import feature, did you select “WordPress”?

    What error are you getting?
    Anything in your web server error logs?

    Yes, I did. I’m not getting any errors. Here’s some more information: I’m exporting from a WP blog using WordPress 1.5 theme (default) into a WP blog using K2 theme. The only pages that aren’t showing up are subpages (of a “services” page I created in the first WP blog). I just created a WP 2.1.2 blog (with the K2 theme) on my own personal site and tried importing the same .xml file and it worked. The subpages had the incorrect Page Parent but that’s a 2 minute job changing it to the correct one.

    I don’t see any errors other than the fact that the subpages aren’t showing up in the Manage > Page list and when I try importing the .xml file again, it says all the pages (including subpages) already exist. I don’t know how to check my web server error logs. Would I do that through the control panel?

    I don’t know how to check my web server error logs. Would I do that through the control panel?

    Oftentimes, yes. Depends on the host though. If nothing else, ask ’em how to get to the error logs. 🙂

    Hopefully, something in there will be interesting/useful.

    Eureka! I figured it out. Here’s what I did:

    I didn’t notice anything in the error log, though I wasn’t sure what I was looking for.

    I realized the difference between the new WP site I was trying to import into and one I setup on my personal site for test purposes was that I hadn’t modified the permalinks preference (in the test WP). So in the new WP site, I deleted the .htaccess file and reset the permalinks preference back to its default. I also went into php MyAdmin and emptied the wp_posts.

    I then tried importing the .xml file again and voila! It worked. The subpages are under the wrong Page Parent but that’s not a big deal as it will only take a few minutes to assign them correctly.

    Hope that helps anyone who comes across the same problem.

    Interesting. If I had to guess, I’d lean towards the emptying the wp_posts table over the permalinks, but hey — as long as it worked! 🙂

    nosleephotel

    (@nosleephotel)

    I think you’re right. 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Importing old wordpress posts’ is closed to new replies.