I've found that category and simplenews don't seem to work together. I think it has to do with the taxonomies/categories from simplenews not getting correctly written to the tables. In fact, I know that's the case. In my case it's the newest versions of category and simplenews and drupal 5.1.

More details as needed.

Comments

mfer’s picture

2 more details:

1) The 'vocabulary' for simplenews does not show up as a row in category_cont

2) In category_hierarchy the 'terms' and 'vocab' have the same parent. Shouldn't the terms have the the 'vocab' as the parent?

nvnivs’s picture

I'm having the same problem. Despite specifying the right category when i create the newsletter issue, it comes up as orphaned in the newsletter list.

Also, i get the following error when i post it:
warning: Invalid argument supplied for foreach() in /modules/simplenews/simplenews.module on line 372.

mfer’s picture

Using simplenews the wrapper on category isn't putting the info in the the category or taxonomy tables correctly. So, it's a mess in the database.

lewisholden’s picture

What is the resolution exactly?

Thanks

Lewis

Chichee’s picture

Yes, please tell us what the resolution is. There are many others (http://drupal.org/node/111412) awaiting a fix.

Christi

mfer’s picture

I never found a fix that I proved out. I was able to get out of making it work.

What I found was that the tables were all messed up in the database. The read operations seem to read it right but the write operations to put info in the right place. I bet if you went into the database and set it up how it should be that would get it working.

But, still no fix. I would suggest not using category module. It's a real pain right now.

ptitb’s picture

You wrote that you managed to fix this problem.
Could you explain how you did this please?

I am completely stuck at the moment!

Thanks,

Peter

mfer’s picture

I set it up how I wanted it to be in the interfaces. To add newsletter taxonomy I went into the database and added it correctly and modified the errors the module created. It wasn't simple and it does require knowing what the info in the database should be.

lewisholden’s picture

Status: Active » Closed (fixed)