Community Page
- technosailor.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Interesting article and comments. A couple of things to consider: 1. Open Office 3.0 for the Mac or Google Docs 2. The faster startup (boot and hibernating) and lack of crashing OS can really...
- I really like the approach you've taken into prove the price specifications, cause at the end of the day, it is a yesterdays fact, that Mac is more expensive than PC, nevertheless you have...
- I didn't know you were a fanboy. When did that happen?
- You can create PDFs with a little program called PDF Converter 5 Pro from Buy.com for $99. Throw in a copy of OpenOffice software and the Dell is cheaper than the Apple. I don't buy it.
- Totally agree that many companies should not consider the Apple solution. That said, most 'no' answers are based on the pricepoint of hardware and in many cases, the TCO is actually cheaper...
Hace 3 años
I am completely new to WP and just do not find where in admin panel is the "import" function....
thanks
Pascal
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
WordPress database error: [You have an error in your SQL syntax near '"INTERVAL 1 HOURS") AS post_date_gmt, ADDDATE(LastMod, "INTERVAL 1 HOU' at line 15]
SELECT ID, Posted, AuthorID, LastMod, Title, Body, Excerpt, Category1, Category2, Status, Keywords, url_title, comments_count, ADDDATE(Posted, "INTERVAL 1 HOURS") AS post_date_gmt, ADDDATE(LastMod, "INTERVAL 1 HOURS") AS post_modified_gmt FROM txp_textpattern
any idea?
Hace 3 años
Hace 3 años
"WordPress database error: [You have an error in your SQL syntax near 'FROM txp_textpattern ' at line 15]
SELECT ID, Posted, AuthorID, LastMod, Title, Body, Excerpt, Category1, Category2, Status, Keywords, url_title, comments_count, FROM txp_textpattern"
Hace 3 años
Hace 3 años
WordPress database error: [You have an error in your SQL syntax near 'FROM txp_textpattern ' at line 15]
SELECT ID, Posted, AuthorID, LastMod, Title, Body, Excerpt, Category1, Category2, Status, Keywords, url_title, comments_count, FROM txp_textpattern"
Hace 3 años
SELECT ID, Posted, AuthorID, LastMod, Title, Body, Excerpt, Category1, Category2, Status, Keywords, url_title, comments_count, FROM txp_textpattern[/code]
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
So IF you followed my instructions and by doing so you still are getting an error, then I want to see the modified code.
Hace 3 años
return $txpdb->get_results('SELECT
ID,
Posted,
AuthorID,
LastMod,
Title,
Body,
Excerpt,
Category1,
Category2,
Status,
Keywords,
url_title,
comments_count,
FROM '.$prefix.'textpattern
', ARRAY_A);
Hace 3 años
Hace 3 años
WordPress database error: [You have an error in your SQL syntax near 'FROM txp_textpattern ' at line 15]
SELECT ID, Posted, AuthorID, LastMod, Title, Body, Excerpt, Category1, Category2, Status, Keywords, url_title, comments_count, FROM txp_textpattern
Done! 0 posts imported.
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
// Get Posts
return $txpdb->get_results('SELECT
ID,
Posted,
AuthorID,
LastMod,
Title,
Body,
Excerpt,
Category1,
Category2,
Status,
Keywords,
url_title, comments_count FROM '.$prefix.'textpattern ', ARRAY_A);
Hace 3 años
comments_count,
FROM '.$prefix.'textpattern
', ARRAY_A);
where is the truth?
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
My current URL scheme in textpattern is:
http://[site]/article/[post-id]/[url-title]
I can migrate to WP *and* maintain all the current links to my posts if I can keep the post-id the same during the transition...
Hace 3 años
Hace 3 años
1) when I Tried the script with my txp db being different from my wp db, it failed.
2) Is the post_name for the posts in the wpdb copied from the txp db (rather than re-created)? If so, I can probably write a script to update the new wp database with the proper post_id based on the post_name...
Then all I have to do is write a script to convert all the textile formatting in the wpdb and I think I'm done!
Thanks for your work on the import script!!
Hace 3 años
post_name is a direct copy of urltitle. I should have, in hindsight, ran TXP's $Title through sanitize_title() but I did not. Theoretically they should be the same thing but I still prefer the safety of the WP API.
Hace 3 años
http://www.huddledmasses.org/2004/04/19/wordpre...
Hace 3 años
As for Textile-- thanks for the pointer. I am aware of the plugin, but I want to stop using it for various reasons, and if I turn it off in WP, then of course all my textile posts will look horrible. Ideally a plugin would let me select which formatting engine to use when (of course, ideally WP would store posts in both original and translated form as TXP does :), but since I haven't found a good WP 2.0 solution for that...
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
Hace 3 años
WordPress database error: [Table 'future_futurosity.wp_options' doesn't exist]
SELECT option_value FROM wp_options WHERE option_name = 'tpre' LIMIT 1
Importing Categories...
WordPress database error: [Table 'future_futurosity.wp_categories' doesn't exist]
SELECT cat_ID FROM wp_categories WHERE category_nicename = 'textpattern'
Etc. (it keeps going, and I get similar errors on every page—users, posts, etc.).
Any help would be greatly appreciated!
Hace 3 años
Hace 3 años
Hace 3 años
I'm not aware of any database changes that came between TXP 4.01 (which is what I referenced when building the importer) and 4.03, but maybe you know of some as a TXP user.
Hace 3 años
Am I supposed to import my Textpattern tables into the WP database before importing? Seems odd, but I thought I saw a comment regarding that above.
Hace 3 años
I am presuming you have actually installed WordPress succesfully before attempting to import?
I also presume your WordPress table prefix is wp_?
Hace 3 años
Hace 3 años
The only thing I can think of is that the first page of the importer prompts you for your Textpattern database info and you might have thought it wanted your WP info.
Hace 3 años
Hace 3 años
It seems that there are some issues with UTF-8 characters, like ă, î, ş, ţ and â.
What needs to be changed so I can see the proper characters instead of "?"?
Hace 3 años
Hace 3 años
WordPress database error: [Table 'textpattern.wp_bb_1_categories' doesn't exist]
SELECT cat_ID FROM wp_bb_1_categories WHERE category_nicename = 'misc'
WordPress database error: [Table 'textpattern.wp_bb_1_categories' doesn't exist]
SELECT cat_ID FROM wp_bb_1_categories WHERE category_nicename = 'food-dining'
Wherein "textpattern" IS the db name I entered on the previous page for my textpattern, and wp_bb_1 is the proper table prefix for this WP install.
Does this mean the first step of your script is to create WP-style tables in my TXP db and map over the data, THEN export it to the WP database? Or is it somehow writing to the wrong one? Or do am I completely lost and should stop while I'm behind? :)
ANyway- I'm going to try the "import tables into WP database" method for now and see how that works...
Thanks...
Hace 3 años
Hace 3 años
When attempting to import textpattern posts to wordpress I get the following error:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/txp_category WHERE type = "article"' at line 5]
SELECT id, name, title FROM /txp_category WHERE type = "article"
No Categories to Import!
Can you point me in the right direction to correct this? I don't know anything about importing tables,etc. Any help is appreciated. Thanks.
Hace 3 años
Hace 2 años
I've done the import without any drama. And I've installed the textile for wordpress plugin, again without any drama.
However, I use the following to produce a thumbnailed image that can be clicked to produce a full sized image in a new window:
Now, this doesn't work after import, and it's a bit of showstopper. Any help?