Forum Replies Created

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter computergenius

    (@computergenius)

    Yes, thanks for your post, but I understand *why*

    The (WordPress) .htaccess, in the root folder, is trying to re-route to a post with a similar name, which obviously does not exist.

    The only fixes that I have found so far, involve shutting off the 404 and the 403, which isn’t really very elegant. I was hoping that someone had a better suggestion.

    I looked all over the internet, and couldn’t see where I could actually SEE what the unexpected output was.

    You can actually see what is being output in error, but you have to temporarily hack the code.
    /wp-admin/plugins.php

    In my version (WP 3.0.1), I see at line 60
    $result = activate_plugin($plugin, ‘plugins.php?error=true&plugin=’ . $plugin, $network_wide);

    The variable $result carries the “unexpected output”, you can see it in
    $result->error_data[‘unexpected_output’]

    Unfortunately, neither echo nor die() work in this context, you will have to debug to see it.

    And I am not going to tell you what I was outputting in error, it was too embarrassingly stupid!

    Thread Starter computergenius

    (@computergenius)

    Thanks for that, I was confused as to why I could not see any “template choice” on the Page page, and assumed that I had misunderstood the “extra templates” bit.

    Thread Starter computergenius

    (@computergenius)

    I checked the XML files that I had created, and then created a new XML file, containing just posts that I want to import, and it works!

    So, now all I have to do, is create an XML file, from the data in my other file, containing the posts that I want to import, and then use WordPress Import.

    Excellent…

    Thread Starter computergenius

    (@computergenius)

    Yes, that’s a possible route.

    Although I can add stuff into a page, I would have difficulty in figuring out an environment to use this command. It’s sort of stand-alone… I can see how it should be easy to use, but can’t visualise where it would go.

    I have been playing with Tools – Import – WordPress, as I can export WordPress, see what the XML file should look like, then use PHP to create an XML file from my import data.

    First job tomorrow, is to see if Import WordPress will import posts without affecting the existing posts….

Viewing 5 replies - 16 through 20 (of 20 total)