blogesque
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: error in importing XML fileFor reference: I also posted a question on the plugin author’s site:
http://www.technosailor.com/wordpress-to-wordpress-import/#comment-36472
Forum: Fixing WordPress
In reply to: error in importing XML fileI’m having a similar issue. My original standalone WP install (1.2.2) was experimental but it seemed to work so I would just upgrade to each new version as it came out. I started having some miscellaneous problems lately and poked around and realized that the PHP was cluttered and the DB was a mess.
I backed up the SQL and existing WP2.0.5 installation, reorganized the categories and posts the way I wanted them to be in the clean install, then used the Technosailor plug to export posts & comments to a 3MB XML file. Since the SQL backup dump is 2.9MB, I presumed the contents more or less matched, so I moved on to the next step.
I deleted the existing WP install and DB, created a new DB and uploaded a clean installation of WP2.0.5. For all intents and purposes, it’s a completely new “out of the box” WP installation. There’s no legacy HTML or remnants of WP1.x code, no hacks, etc. I’ve uploaded all my plugins but none of them are activated.
I went into the new config, set up my post categories to match the reorganized changes and then tried to upload the exported XML file. The importer mentions a WXR file, but the exporter gave me a file with an XML extension. When I try to import it anyway, it looks like it’s doing something for a minute or two, the status bar says “sending request,” then it just goes to a white page with the admin header at the top and the “Import WordPress” title in the body…and nothing else. I go to “Manage” to see if it did anything, and there’s nothing but Post #1.
I tried changing the file extension to WXR to see if that made any difference, and I get the same results. Opening the file in Firefox 2.0 displays about 5 or 6 old posts followed by this:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet.
Please correct the error and then click the
Refresh button, or try again later.
-----------------------------------------------
A string literal was expected, but no opening quote character was found.
Error processing resource 'file:///C:/TRANSFER/wor...It’s cut off like that in the display, but the path is to the XML file. If there’s an error on line number X, I can’t see what X is. When I open the file in Notepad, the entire content of my blog is there in order, right up to the very last comment posted before The Great Site Wipe.
How do I use this file to restore my posts?
Since I scrupulously backed up everything, I suppose I could reload the site as it was, but that defeats the entire purpose.
Forum: Plugins
In reply to: IMG tag in comments breaks numbering sequenceNever mind, I figured it out. Missing tag. Duh.
Forum: Plugins
In reply to: WYSIWYG editor for Comments?No, that’s not what I mean. I want to set up the comment form to use WP2.0’s internal Rich Editor instead of just a plain-jane text entry box. I think what I’m after would be more of a hack than a plugin.
Thanks for the suggestion, but that’s just not what I’m looking for.
Forum: Plugins
In reply to: WYSIWYG editor for Comments?To clarify, I’m talking about the new editor in 2.0.
Forum: Plugins
In reply to: Adding PHP in postsTry the CG-QuickPHP plugin:
http://www.chait.net/index.php?p=310
I use it a little bit and it seems to work fine.
Forum: Plugins
In reply to: Basic Random Quote DisplaySince the website for this plugin seems to be gone, I’ll pimp my plugin here. Mine isn’t quite THAT basic, but it’s pretty small.
Be kind, I’m PHP-illiterate…but it works!
Forum: Themes and Templates
In reply to: Different default themes for different browsers?Do you mean “wp-blog-header.php” in the ./wordpress directory? I don’t have anything titled just plain “header.php.” And does “fixed the code” mean that the correct code is in the text box rather than the colored display at the top?
I’m on a fairly standard install of 1.5.1.3, the short & sweet “index.php” is in my webroot and everything else is in ./wordpress. The only real customizing I’ve done is adding a few plugins and a pile of themes. I don’t know php so I don’t tinker with it much, because I don’t like fatal errors.
This isn’t crucial or anything, it was just an idea I had to short-circuit the “it doesn’t work right in (browser)” problem if I decided to take advantage of certain features that one has and another doesn’t (OK, mainly IE).
I know you can do user_agent tricks with HTML, but with the Theme Switcher plugin and user cookies involved, I wasn’t quite sure how to go about it. I’m not a programmer by any stretch of the imagination.
Click my username to look at my site if you want, but there’s not really a problem to see…this was more an idea to avoid the problem before I caused it. π
Forum: Fixing WordPress
In reply to: why is it when i post a comment then click say itI tried replacing the
$location = get_permalink($comment_post_ID);
line and got the results posted above.
I also tried adding a $location2 that pointed at the popup phpfile as suggested in another thread on this topic, and that didn’t work either. Does anyone have any ideas?Forum: Fixing WordPress
In reply to: why is it when i post a comment then click say itNope, that doesn’t work for me. On clicking “Say It” I get this:
Parse error: parse error, unexpected ‘:’ in /homepages/3/d95177212/htdocs/wordpress/wp-comments-post.php on line 2
Changing the colon to a semicolon results in this:
Fatal error: Call to undefined function: phprequire() in /homepages/3/d95177212/htdocs/wordpress/wp-comments-post.php on line 1
And so then I unzip the original wp-comments-post.php and am right back where I started. I have tried all of the suggestions that have been made in the various threads about this, alone or combined…nothing is working.
It’s not crucial, but definitely annoying. How can I fix this?
Here’s the page with the error intact:
http://www.blogesque.com/comment-error.phpForum: Fixing WordPress
In reply to: Comments Popup problem, pls help!I’ve tried all of these suggestions singly and in combination, and none of them are working for me. I have the wp-comments-popup.php ready to go and it looks great — until you “Say It.”
The whole index then crams itself into the popup window, exactly as described by others in this thread. I gave up and turned off the popups until I get it working.
The wp-comments-post.php currently installed is the default, fresh out of the zipfile I installed from. Everytime I tried one of those options above, I’d get a parse error, so I would just unzip the original file back into place.
How do you get around this?