HI there,

I was experiencing this error for Anonymous users when clicking on content titles or the read more link. As soon as the Community Tags module was disabled, the error went away. Discussed a bit in this thread: http://drupal.org/node/290915

Just wanted to mention this here so the developers are aware.

If you need more info on my installation, please let me know. I have loads of modules and 6.3 installed with PHP and SQL 4.

Thanks for a great module....would still like to use it once the bugs are worked out!

Peace!
Melanie

www.book-of-light.com

CommentFileSizeAuthor
#13 294397-communitytags-D6.patch1.05 KBdave reid

Comments

MiaMia’s picture

I confirm this - have had the same problem and had to disable the module.

thomas23@drupal.org’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev

This error unfortunatelly still persists with the -dev version. Only that common.inc complains in line 1275; I suppose because it's D6.4 in the meantime.

Would anybody be so nice to tell me how to debug this? Best would be a command line (print?) as I have done very little php.

Cheers.

matt2000’s picture

+1 confirming.

dropcube’s picture

Assigned: Unassigned » dropcube

I will fix the bug soon.

prophetsearcher’s picture

+1, but it is SUCH a relief to figure out what's been causing those errors!

will_in_wi’s picture

confirming (or subscribing). Will see if I can figure out the problem.

will_in_wi’s picture

to fix, replace both instances of $destination with array('query' => $destination) on line 44 of community_tags.pages.inc

It was an issue with a change in api of the url function between d5 and 6.

zilla’s picture

has this been rolled up?

equalspeterd’s picture

In addition to the adjustment in community_tags.pages.inc cited in #7, you also need to pass null arrays (reason unknown at the moment) to the two calls in community_tags.module (line 22 in my distro):

from (line breaks are mine for clarity):

return t('To set up community tagging, y... users can tag nodes.', 
array('@taxonomy' => url('admin/content/taxonomy'), '@workflow' => url('admin/content/types')));

to:

return t('To set up community tagging, y... users can tag nodes.', 
array('@taxonomy' => url('admin/content/taxonomy',array()), '@workflow' => url('admin/content/types',array())));

running cron.php triggered this facet of the bug for me.

dawnsong’s picture

+1 for drupal 6.6
Hope it would be fixed.

mattheweigand’s picture

+1 I guess its said. I got this error today in a new drupal installation. I did the fixes listed above and the problem went away. Would be nice to have those fixes in the original file.

dave reid’s picture

The changes in #9 are not necessary. The default parameter is array() anyway.

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

Patch for 6.x-1.x.

jcmarco’s picture

Status: Needs review » Reviewed & tested by the community

I found the same bug today in common.inc (http://drupal.org/node/352344)

And I confirm that this patch is needed and works fine.

khawaja’s picture

Confirming the patch works with 6.x-1.0-beta1.

interfaced’s picture

Here's the fix, I think its the same thing:
http://drupal.org/node/362799

owahab’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.