Subscribe: WordPress MU Forums Tag: categories
http://mu.wordpress.org/forums/rss.php?tag=categories
Added By: Feedage Forager Feedage Grade A rated
Language: English
Tags:
adding categories  blog  categories  error  plugin  posts  renamed saving  renamed  sitewide limit  sitewide  term  wordpress 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: WordPress MU Forums Tag: categories

WordPress MU Forums Tag: categories



WordPress MU Forums Tag: categories



Published: Sat, 24 Feb 2018 01:04:35 +0000

 



husdaman on "Problems with adding categories after upgrading to 3.0"

Fri, 25 Jun 2010 14:08:47 +0000

I tried this with different browsers but nothing still. Its like the terms table gets locked and doesn't want to add a new category until I manually go into the database and add a row and then delete it.

Once this is done, wordpress 3.0 has no problems with adding categories.




joehuffman2 on "Problems with adding categories after upgrading to 3.0"

Thu, 24 Jun 2010 05:02:08 +0000

I had this error in an upgrade last year and this one, and for me it seems that the form conflicts with Firefox.

Will check into db solution though. Weird error indeed.




husdaman on "Problems with adding categories after upgrading to 3.0"

Fri, 18 Jun 2010 16:20:15 +0000

So I've found a temporary fix for this.

1. Go into your database.
2. Find your wp_yoursitenumber_terms table in you wp database
3. insert a new row with term_id, name and slug entered
4. After it is added, delete it.
5. Insert new categories view wordpress.

This is a weird error but this is the solution right now.




husdaman on "Problems with adding categories after upgrading to 3.0"

Fri, 18 Jun 2010 14:49:55 +0000

I just noticed that this happens after adding 2 categories. So when I add a 3rd one from the categories menu under "Posts" I get the "Could not insert term into the database". This is weird. In 2.92 it worked fine, not sure what is going on.




husdaman on "Problems with adding categories after upgrading to 3.0"

Fri, 18 Jun 2010 13:40:49 +0000

So I just upgraded our wordpress mu 2.92 installation to 3.0. Everything went well until I tried to add a category to Post or Links.

When I try to add the category via single post method I get the following error.
"Fatal error: Cannot use object of type WP_Error as array in C:\wamp\www\wp-admin\admin-ajax.php on line 242"

When I try to add it via Categories or Link Categories I get the following error.

"Could not insert term into the database"

Can someone please help with this. I even disabled all plugins to get this to work but it did not fix the issue.




AntaresMHD on "Category renamed while saving"

Tue, 15 Jun 2010 23:12:19 +0000

I just finished the update.

... And it worked! Suddenly all the categories work the way they should.
Thanks for the help.




AntaresMHD on "Category renamed while saving"

Tue, 15 Jun 2010 18:27:27 +0000

Oh. Good! Thank you then. I'll make the necessary arrangements for the upgrade.




andrea_r on "Category renamed while saving"

Tue, 15 Jun 2010 18:18:16 +0000

The last version *of MU*.




AntaresMHD on "Category renamed while saving"

Tue, 15 Jun 2010 17:51:20 +0000

I searched the forums almost a week ago looking for something related and yes, I saw plenty of threads related to the subject, but none of them had a concrete solution (in fact most are just dead).
You said something about being addressed and this might be what you mean http://core.trac.wordpress.org/ticket/12253 which makes reference to wpmu-terms.php I mentioned, but that doesn't fix it, in fact it ruins them even further. That's why I have no idea how to deal with this.




andrea_r on "Category renamed while saving"

Tue, 15 Jun 2010 17:00:59 +0000

If you search the forums you'll see that other people had the same issue occasionally. I *think* it was addressed in the last version.




AntaresMHD on "Category renamed while saving"

Tue, 15 Jun 2010 16:37:12 +0000

So... No suggestions or anything?
One of the things I did recently was trying the Global Terms section, located at http://domain.tld/wp-admin/wpmu-terms.php (which I found by exploring the site and I didn't even know what its purpose was). When I tried to repair it, not only the script timed out returning me the .php file for downloading, but the categories were even more messed up than before, all the indexes were lost. Fortunately I had a backup (which I did before changing anything else, just to avoid problems) so I could restore the three tables (wp_*_terms, wp_*_term_relationships and wp_*_term_taxonomy) at the state they were.
I'm not sure what else I should do, there's just too many categories and it's an active site, so it's not like I can keep it down for a week to see what could be the problem.

The problem I see is that every new category takes the name of a previously created tag (one of the many thousands existing on the site), instead of using the name I've provided. I don't know if it's an index problem because I dropped these three tables and reinserted them, so I don't know.




trivum on "Can Wordpress 3.0/MU power mysite.com/insurance/blog and mysite.com/travel/blog?"

Tue, 15 Jun 2010 02:23:34 +0000

Hi,

I am interested in this too. How would it be done?

I've worked with WPMU before, and I know there wasn't an easy way to put blogs into different sections/categories. Is there an easy way to achieve this with WP 3.0?

Thanks.




AntaresMHD on "Category renamed while saving"

Fri, 11 Jun 2010 19:24:53 +0000

Ah, to further elaborate on this issue, which may be completely related to Simple Tags:

I'm using Role Manager in my site, and I noticed one of the available permissions is "Simple Tags", yet I've already deactivated it. I have no idea why is still doing things if it's supposedly off, but I'm pretty sure it's causing mischief. The version of WPMU I'm using right now is 2.9.1, since I haven't updated it in this site yet (I have to make some changes first).




andrea_r on "Can Wordpress 3.0/MU power mysite.com/insurance/blog and mysite.com/travel/blog?"

Fri, 11 Jun 2010 13:01:32 +0000

If categories = Blog name, yes.

If you want some of them on their own domains, use the domain mapping plugin.




technolife on "Can Wordpress 3.0/MU power mysite.com/insurance/blog and mysite.com/travel/blog?"

Fri, 11 Jun 2010 09:20:29 +0000

Hi guys,

Can I have one blog in each category folder and power them all with wordpress MU /wordpress 3.0, pls tell me this is possible! I want to add wordpress articles to each of my 15 categories in a portal site.

mysite.com/insurance/blog
mysite.com/travel/blog

Also if I make mysite.com/insurance/ on its own domain it should still work right?

Thanks heaps guys, really appreciate any help :)




AntaresMHD on "Category renamed while saving"

Thu, 10 Jun 2010 18:01:57 +0000

Oh yeah, I've been having that exact problem too, I was going to post a thread about it. It started happening around a week ago or something, and my error log is full of stuff like this:

WordPress database error Duplicate entry '2496' for key 1 for query UPDATE wp_2_terms SET term_id = 2496 WHERE term_id = 4275595 made by wp_insert_category, wp_insert_term, apply_filters, call_user_func_array, global_terms

WordPress database error Lost connection to MySQL server during query for query SELECT t.*, tt.* FROM wp_2_terms AS t INNER JOIN wp_2_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_2_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('post_tag') AND tr.object_id IN (12598) ORDER BY t.name ASC made by require, require_once, include, get_header, locate_template, load_template, require_once, get_sidebar, locate_template, load_template, require_once, dynamic_sidebar, call_user_func_array, rp_widget, rp_getstring_related_posts, rp_get_related_posts, wp_get_post_tags, wp_get_post_terms, wp_get_object_terms

And also plenty of query errors like this

WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_2_options WHERE option_name (...)

Related to several plugins I have. I deactivated them all just to see if one of them was causing the problem, but I still had that issue with the categories. Something must've affected these tables in particular since it's affecting only one of the blogs, the rest seem to be fine.

I read in another thread that it might be related to Simple Tags, and I was indeed using it for a while (not sure when I stopped using it), but it was deactivated a few weeks ago (Still is), so I have no clue, really.




exoticbuddha on "Category renamed while saving"

Thu, 10 Jun 2010 09:45:52 +0000

I use wordpress mu 2.9.2 for my travel website http://exoticbuddha.com and have several sub domains. While adding new categories, I encounter a problem that the category that I put is renamed while saving. For eg. if I add the 'travel nepal' in the category and save it, the category saved will be a random word like 'rafting nepal'. To make matters even more complex, this problem exists in the main domain only and not in sub domains.

Has anyone encountered this problem or does any one know any solution to this issue.




truck808 on "Sitewide Tags - post limit of 5?"

Mon, 17 May 2010 11:54:58 +0000

I tried this for this page but I'm still only seeing 5 posts:

switch_to_blog(14);
$newsposts = get_posts('numberposts=9&cat=30');
foreach($newsposts as $post) :
setup_postdata($post);
?>




bonechair on "How can I stop deletion of a category"

Sat, 15 May 2010 17:51:22 +0000

How can I stop wordpress from deleting certain categories I have. There are certain categories I have created which I dont want people to be able to delete. Is this possible?




truck808 on "Sitewide Tags - post limit of 5?"

Thu, 13 May 2010 19:42:23 +0000

yes. blog 14 is my tags blog (using sitewide tags) and 17 is the category that I am displaying on the page of the main site.




andrea_r on "Sitewide Tags - post limit of 5?"

Thu, 13 May 2010 18:49:22 +0000

So, just so I have this clear, from the code above you want to pull the posts from category 17 from, blog 14 and display them in another blog.

Have I got that bit right so far?




truck808 on "Sitewide Tags - post limit of 5?"

Thu, 13 May 2010 14:39:30 +0000

Thanks! The reading settings are definitely set to the default of 10 which makes me think that the code we inserted is either wrong or in the wrong place?

Alumni News

switch_to_blog(14);
$newsposts = get_posts('cat=17');
foreach($newsposts as $post) :
setup_postdata($post);
?>


id="post-">

" rel="bookmark" title="Permanent Link to ">



More »

'); ?>


endforeach;
restore_current_blog();
?>




andrea_r on "Sitewide Tags - post limit of 5?"

Thu, 13 May 2010 12:45:18 +0000

Again, it's not MU and it's not the plugin.

your theme doesn't contain the previous /next navigation hooks to show posts pasts the per-page settings.

Check the settings to show how many posts can go on a page. Settings -> reading. Seems to be set to 5, not 10 which is default.

I checked the source of the page and you don't have the links there to go back further than those posts either.

http://codex.wordpress.org/Next_and_Previous_Links




truck808 on "Sitewide Tags - post limit of 5?"

Thu, 13 May 2010 11:31:57 +0000

Grrrrr! I posted the wrong link.

http://www2.nya.org/global-cats-test/

You'll see that only 5 posts appear when I've created 6.




andrea_r on "Sitewide Tags - post limit of 5?"

Wed, 12 May 2010 21:53:40 +0000

I'm getting a 404 on that link.

the sitewide tags plugin does not limit how many posts to list. If you're asking how many posts to show on the category archives page?




truck808 on "Sitewide Tags - post limit of 5?"

Wed, 12 May 2010 21:41:09 +0000

Hello. We are using sitewide tags to aggregate blog posts but, it seems that there is a default limit of 5 posts when listing a global category?

example: http://www2.nya.org/global-cat-test-page/

Is there a way to list more than 5 posts? Do we have to edit the plugin?

Also would like to add a more button that links to an archive of the global category.

Thanks!

Robert




rodrigomattos on "Hacked Plugin for Sitewide Recent Posts (w/ Category Option)"

Thu, 06 May 2010 14:36:19 +0000

You guys seem to know about this stuff... I am not too familiar with wordpress.

I install the plugin, then?

What code and where should I place it?

Please help.




Minotauro on "Hacked Plugin for Sitewide Recent Posts (w/ Category Option)"

Wed, 05 May 2010 18:31:09 +0000

Vocino,

Your plugin works great. Thank you for sharing with us.

I'm trying to show the thumbnail for each post also on the main blog. I'm not sure if I need to edit your plugin or the index.php of my blog.

Below is the code to pull the thumbnails.

ID, '_p75_thumbnail', true)) {
						$postheader = '(image) ID, $w, $h, 'png') . '" alt="' . get_the_title() . '" title="' . get_the_title()	. '" />';
					} else {
						if(wptap_post_thumb()) {
							$postheader .= '(image) ';
						} else {
								$postheader .= '';
						}
					}

					if(wptap_video_custom_field()) {
						$postheader .= '';
					}

					echo $postheader;
				?>

Please show me how to add the thumbnail function to the call for your plugin. Thank you!




jmunn on "Categorizing blogs into a hierarchy"

Tue, 27 Apr 2010 17:59:58 +0000

Does the addition of the slugs with this plugin now allow a hierarchy of topics if used correctly? Did I totally miss this?




raskull on "Categorizing blogs into a hierarchy"

Tue, 27 Apr 2010 17:33:40 +0000

Well! That works, doesn't it? Thank you!