In /admin/reports/status I found issue:
Duplicate tokens
node:node-url (defined by modules: token, notifications_content)
The following tokens are defined by multiple modules and may cause problems when performing token replacement.
What is this? And how do fix this?
Comments
Did you add any additional
Did you add any additional modules to what Commons comes with?
Yes, many others.
Yes, many others.
Did you notice this after a
Did you notice this after a certain module was enabled?
Can you list the modules here?
Maybe searching the issue queues for those modules could turn up something..
You could always disable them one at a time and see when the errors stop.
Thnx mstefanello
No, I didn't notice.
When disable them one, I don't see when the errors stop.
List:
НазваниеОписаниеВерсияMollomProtects forms against spam.6.x-1.14Administration menuProvides a dropdown menu to most administrative tasks and other common destinations (to users with the proper permissions).6.x-1.6Ajax LoadHelper module to load and add JavasScript and CSS data for Ajax-loaded content.6.x-1.x-devBetter FormatsEnhances the core input format system by managing input format defaults and settings.6.x-1.2CalendarViews plugin to display views containing dates as Calendars.6.x-2.2Calendar iCalAdds ical functionality to Calendar views.6.x-2.2Calendar PopupReplaces the links to calendar items with a javascript popup that gracefully regresses if javascript is not enabled6.x-2.2ContentAllows administrators to define new content types.6.x-2.8Content PermissionsSet field-level permissions for CCK fields.6.x-2.8FieldgroupCreate display groups for CCK fields.6.x-2.8Option WidgetsDefines selection, check box and radio button widgets for text and numeric fields.6.x-2.8TextDefines simple text field types.6.x-2.8Chart APIChart generation API.6.x-1.2ContextProvide modules with a cache that lasts for a single page request.6.x-2.0Context ContribProvides integration with Context on behalf of the following contrib modules: Nodequeue, Views, CSS Injector.6.x-2.0Context UIProvides a simple UI for setting up a site structure using Context.6.x-2.0Context OGProvides Organic Groups conditions and reactions for the Context module.6.x-2.0-beta2Chaos toolsA library of helpful tools by Merlin of Chaos.6.x-1.7Page managerProvides a UI and API to manage pages within the site.6.x-1.7StylizerCreate custom styles for applications such as Panels.6.x-1.7Views content panesAllows Views content to be used in Panels, Dashboard and other modules which use the CTools Content API.6.x-1.7DateDefines CCK date/time fields and widgets.6.x-2.6Date APIA Date API that can be used by other modules.6.x-2.6Date PopupEnables jquery popup calendars and time entry widgets for selecting dates and times.6.x-2.6Date TimezoneNeeded when using Date API. Overrides site and user timezone handling to set timezone names instead of offsets.6.x-2.6Date ToolsTools to import and auto-create dates and calendars.6.x-2.6DiffShow difference between node revisions.6.x-2.1EditablefieldsAllows you to make some view fields editable6.x-2.0FeaturesProvides feature management for Drupal.6.x-1.0FileFieldDefines a file field type.6.x-3.7FileField MetaAdd metadata gathering and storage to FileField.6.x-3.7FlagCreate customized flags that users can set on content.6.x-1.3FreelinkingWiki-style freelinking for node content using CamelCase and delimiters.6.x-1.10getID3()getID3() extracts useful information from multimedia file formats.6.x-1.4Heartbeat activityLogs user activity when certain events occur, triggering actions. The logged data is accessable through heartbeat displays.6.x-4.9Flag heartbeatIntegration module between heartbeat en flag.6.x-4.9friendlist activityLogs activity when a friendlist event occurs. Integration module for all modules that defined rules/events with Rules ui.6.x-4.9Heartbeat rulesUse rules to connect with heartbeat API. With this enabled, you can create heartbeat streams with user interface only.6.x-4.9organic group activityLogs activity in a group. Actions performed by administrators of a group are logged foreach member as well.6.x-4.9Heartbeat viewsBuild your own views from heartbeat logged activity stream.6.x-4.9ImageAPIImageAPI supporting multiple toolkits.6.x-1.8ImageAPI GD2Uses PHP's built-in GD2 image processing support.6.x-1.8ImageCacheDynamic image manipulator and cache.6.x-2.0-beta10ImageCache UIImageCache User Interface.6.x-2.0-beta10Imagecache AutorotateAutorotate image based on EXIF Orientation.6.x-1.7Imagecache Canvas ActionsActions for manipulating image canvases layers, including watermark and background effect. Also an aspect switcher (portrait/landscape)6.x-1.7Imagecache Color ActionsAdditional ImageCache actions, providing color-shifting, brightness and alpha transparency effects.6.x-1.7Imagecache Text ActionsDisplay simple or dynamic captions on images.6.x-1.7Imagecache Profile PicturesUtilizes imagecache presets for user profile pictures.6.x-1.3ImageFieldDefines an image field type.6.x-3.7InsertAssists in inserting files, images, or other media into the body field or other text areas.6.x-1.0-beta6jQuery UIProvides the jQuery UI plug-in to other Drupal modules.6.x-1.4LinkDefines simple link field types.6.x-2.9MessagingMessaging system. This is the base module for the Messaging Framework6.x-2.2Simple MailMail Sending Method: Integration with Drupal mail API6.x-2.2Simple messagingSending Method: Show messages on user's page6.x-2.2NotificationsThe basic notifications framework6.x-2.2Notifications AutosubscribeProvides automatic notifications.6.x-2.2Content NotificationsAllows users to subscribe to content related events.6.x-2.2Notifications LiteExtra Simple Notifications API. Enable only when required by other modules.6.x-2.2Notifications UIProvides an UI to notifications6.x-2.2Notifications ViewsViews integration for Notifications.6.x-2.2Organic groups access controlEnable access control for private posts and private groups.6.x-2.1Organic Groups NotificationsAllows users to receive notifications and subscribe to group content.6.x-2.1Organic groups Views integrationHighly recommended.. Use Views to search and display organic groups.6.x-2.1Organic groupsEnable users to create and manage groups. OG Views integration module is recommended for best experience.6.x-2.1Organic groups aggregatorallows Organic group to maintain an individual list of subscribed feeds.6.x-1.4Organic groups statisticsEnable statistics for organic groups.6.x-1.0-rc5PanelsCore Panels display functions; provides no external UI, at least one other Panels module should be enabled.6.x-3.7Password policyThe password policy module allows you to enforce a specific level of password complexity for the user passwords on the system.6.x-1.0-beta1PathautoProvides a mechanism for modules to automatically generate aliases for the content they manage.6.x-1.5RulesLets you define conditionally executed actions based on occurring events.6.x-1.3Rules Administration UIProvides the administration UI for rules.6.x-1.3ShoutboxThis module enables you to display a shoutbox block and page.6.x-2.x-devShoutbox groupExtends shoutbox functionality to Organic groups6.x-2.x-devShoutbox pointsExtends shoutbox functionality to User points6.x-2.x-devSkinrProvides a way to define and/or skin bits of Drupal output from the UI.6.x-1.5StrongarmEnforces variable values defined by modules that need settings set to operate properly.6.x-2.0TagadelicTagadelic makes weighted tag clouds from your taxonomy terms.6.x-1.2Tagadelic ViewsAdds a Tagadelic View to the Views module6.x-1.2TaggingThis widget is replacing the default Drupal-Tagging-Interface with a more visual driven one, to make tagging even easier. (by Impressive.media)6.x-2.4TokenProvides a shared API for replacement of textual placeholders with actual data.6.x-1.15TransliterationConverts non-latin text to US-ASCII and sanitizes file names.6.x-3.0UserpointsUserpoints core: API module for recording points for other modules.6.x-1.1Userpoints Nodes and CommentsGrants userpoints for posting nodes or comments or moderating comments6.x-1.1Userpoints User PictureUsers earn points for adding a user picture.6.x-1.0UR-APIAPI for User Relationships. This will only provide the programmer interface.6.x-1.0-rc5UR-UIUser Relationships UI. This enables basic UI functionality for User Relationships6.x-1.0-rc5UR-BlocksBlocks that can be used with User Relationships6.x-1.0-rc5UR-ElaborationsAllow users to elaborate on their relationships with others6.x-1.0-rc5UR-MailerGives the option to mail users when about relationship events (request, remove, disapprove, approve, etc)6.x-1.0-rc5UR-Node AccessProvides per node access control based on relationship to author6.x-1.0-rc5UR-ViewsIntegrates User Relationships with Views6.x-1.0-rc5User TermsAllows users to be associated with taxonomy terms.6.x-1.3Vertical TabsProvides vertical tabs for supported forms like the node edit page.6.x-1.0-rc1ViewsCreate customized lists and queries from your database.6.x-2.11Views UIAdministrative interface to views. Without this module, you cannot create or edit your views.6.x-2.11WikitoolsProvides helper functionality to have wiki-like behaviour.6.x-1.2WysiwygAllows users to edit contents with client-side editors.6.x-2.1Commons CoreThe main components of Drupal Commons6.x-1.0Commons NotificationsIntegration of email and web notifications for site activity6.x-1.0Advanced helpAllow advanced help and documentation.6.x-1.2AutosaveSaves node edits in the background in case browser dies while editing.6.x-2.7Backup and MigrateBackup or migrate the Drupal Database quickly and without unnecessary data.6.x-2.2BirthdaysDisplays and reminds of upcoming users birthdays.6.x-1.0Clear Password FieldClear saved browser passwords from the password field in the user edit form.6.x-1.1Read More linkCustomize the "Read more" link shown in node teasers.6.x-5.0-rc7Frequently Asked QuestionsManages configuration of questions for a FAQ page.6.x-1.11ImageCache EffectsAdditional image effects for Image Cache.6.x-1.1Imagecache Scale-9 ActionsImagecache actions that use scale-9 formatting and a random switcher.6.x-1.02Imagecache javascript cropProvides a javascript crop toolbox via the imagecache action.6.x-1.0InviteAllow your users to send and track invitations to join your site.6.x-2.0-beta2Invite StatisticsDisplays some statistics about sent invitations.6.x-2.0-beta2jQuery UpdateUpdates Drupal to use the latest version of jQuery.6.x-2.x-devJuickBuilds links to post pages to http://juick.com.6.x-1.0Localization clientProvides on-page localization6.x-1.8Locale updaterProvides automatic downloads and updates for translations6.x-1.0-alpha2Lightbox2Enables Lightbox2 for Drupal6.x-1.11Live TranslationUpdate your translations easily.6.x-1.03LiveJournal crossposterAllows you or your users to automatically crosspost entries to a LiveJournal account.6.x-1.6Location Add AnotherAllows you to quickly add locations directly from a node without having to click 'edit' first.6.x-3.1Location CCKDefines a Location field type.6.x-3.1LocationThe location module allows you to associate a geographic location with content and users. Users can do proximity searches by postal code. This is useful for organizing communities that have a geographic presence.6.x-3.1Node LocationsAssociate locations with nodes.6.x-3.1User LocationsAssociate locations with users.6.x-3.1Page TitleEnhanced control over the page title (in the <head> tag).6.x-2.3Plugin ManagerEnables the automated installation of modules and themes from drupal.org6.x-1.10pmgrowlGrowl Instant Messenger extends private messaging to add alerts using the jGrowl jQuery plugin6.x-1.1-beta1Block user messagesAllows users to block other users from sending them messages.6.x-1.3Privatemsg Email NotificationNotifies users about new Private Messages via Email.6.x-1.3Private messagesAllow private messages between users.6.x-1.3Privatemsg filterAllow users to filter messages using tags or other criteria.6.x-1.3Private message limitsDescription6.x-1.x-devQuick TabsCreate blocks of tabbed views, blocks and nodes.6.x-2.0-rc5RealNameUse user profile fields to build a 'realname' field in a user object.6.x-1.3Request InvitationAllows users to request for an invitation by using only their email.6.x-1.0Record ShortenRecords shortened URLs from the Shorten module.6.x-1.10ShortenAllows easy URL shortening via external services.6.x-1.10Skype StatusRetrieves Skype online status information for users.6.x-1.1SmartCropCrops low-entropy parts of the image.6.x-1.0-beta1Spelling mistakesAdds ability for users to notify administrators about spelling mistakes on the site.6.x-1.0-rc1Used modulesDisplays as a table, within a block or a page, all the modules installed on a Drupal site.6.x-1.2vKontakte OpenAPIAllow users to login using their vKontakte accounts6.x-1.0-beta1VKontakte share buttonShare content of your site on vkontakte.ru6.x-1.0-beta1WLW Blog APIAllows users to post content using Windows Live Writer.6.x-1.7Yandex MapsBase module for using the Yandex Maps API.6.x-1.x-dev
I'm sorry but only you can
I'm sorry but only you can diagnose this as you have the environment set up with all the modules in place. Simply disable them one at a time, checking to see when the errors stop. Once they stop, you know which module was the culprit.
thx
thx
?
How about modules in this message: node:node-url (defined by modules: token, notifications_content)?
Modules token and notifications_content include in Drupal Commons!!!
Search for node-url on the specified module does not give me the result. But is among modules drupal_commons:
C:\WWW2\xampp\htdocs\commons\profiles\drupal_commons\modules\contrib\notifications\notifications_content\notifications_content.module
C:\WWW2\xampp\htdocs\commons\profiles\drupal_commons\modules\contrib\og\modules\og_notifications\og_notifications.module
C:\WWW2\xampp\htdocs\commons\profiles\drupal_commons\modules\contrib\pathauto\pathauto.test
C:\WWW2\xampp\htdocs\commons\profiles\drupal_commons\modules\contrib\token\token.test
C:\WWW2\xampp\htdocs\commons\profiles\drupal_commons\modules\contrib\token\token_node.inc
same here, no problem
This is a Drupal issue, more than Commons because the issue is with the contributed modules. Emphasizing they are both included with Commons (if they are, I didn't check) isn't the point because Commons does not promote updating modules outside of their distributions.
This message is a warning. My guess is that notifications_content was serving the token nod-url and it is now in token by default.
I didn't check, but if they both serve the same string for the token, there isn't a problem resulting from a race condition.
Also, if you are not using this token, its presence twice should not be a problem.
I have updated both these modules and have not seen a problem with Commons.
Thanks, Jerry! Hhow to check
Thanks, Jerry!
Hhow to check up, whether there are mistakes?
not sure what you are asking
I am sorry, but I am not sure what you are asking about "mistakes".
If you means these token duplicates, I would suspect you can just ignore then. I expect that one or the other modules will remove their version of the token in an update. I would guess you are not using this token. I am ignoring the message and I don't remember using that token. It I were, I would test to see if there are differences.
If you are just curious, you could look in the modules to see how they are setting the values. To test the precedence, you could use PHP in a module resolve it with a token lookup. You can see an example in the token API (and other places) for how to use a token from a script.
Mistakes=errors ... It is
Mistakes=errors ...
It is strange, why there was no this error earlier? I can't know in what instant it have appeared.
not sure what you are asking
I am sorry, but I am not sure what you are asking about "mistakes".
If you means these token duplicates, I would suspect you can just ignore then. I expect that one or the other modules will remove their version of the token in an update. I would guess you are not using this token. I am ignoring the message and I don't remember using that token. It I were, I would test to see if there are differences.
If you are just curious, you could look in the modules to see how they are setting the values. To test the precedence, you could use PHP in a module resolve it with a token lookup. You can see an example in the token API (and other places) for how to use a token from a script.
why do I have duplicate comments
I wonder why I am getting duplicate comments? I am only submitting once. Any ideas?
Maybe it mollom?
Maybe it mollom?
the modules have switched producing the token
Common: older versions of modules: /profiles/drupal_commons/modules/contrib/token/token_node.inc # does not set 'node-url' /sites/all/modules/token/token_node.inc $values['node-url'] = url('node/' . $node->nid, array('absolute' => TRUE)); After updates: /profiles/drupal_commons/modules/contrib/notifications/notifications_content/notifications_content.module $values['node-url'] = url('node/'. $node->nid, array('absolute' => TRUE)); /sites/all/modules/notifications/notifications_content/notifications_content.module # does not set 'node-url'
Commons editor is not my friend
Does anyone have editor issues?
I am not a fan of the Commons editor. I have fussed with settings on my installs and it is still a bit painful.
I don't like how it turns everything into a big blob in the source. I tried having the script format the source, but that didn't work very well for me either.
I routinely write in a plain text editor (textmate) and then paste into browsers. For me, with Commons, the content disappears and is a mess of stuff in the source when I turn off the "rich-text".
So, I try to remember to turnoff the "rich-text" and work without it. This last post looked fine, with separated lines, and it looked fine when I "previewed", but changed to one big long mess when I submitted it.
I can't understand how this is working for anyone, other than just typing into the editor. I would like Commons to work for users who know very little, but will want to copy/pasted content into the edits.
It works better when you use the pasted icon, I agree, but when pasting plain text this should not be required, I think, and I don't know how Commons is set, but I did try the editor setup "Force cleanup on standard paste" without much change.
I would appreciate any tips.
CKeditor
We're using the open source WYSIWYG editor CKeditor. CKeditor is a rewrite of FCKeditor. The advantage of using the rewrite is that it is much smaller in code-size, so it loads much faster, and it has a great deal more flexibility.
The disadvantage of using the editor is that I think there still may be some difficulties with it. I know it is WIDELY used in many products - even proprietary ones. So it's a good foundation to use.
We'll spend some time this week and a) update to the latest CKeditor version, and b) see if we can tweak the settings to eliminate the errors you discuss above, and a couple of others. NO guarantees - but we'll at least look.
After updating some modules -
After updating some modules - all OK!
Notifications updated
Notifications was updated
http://drupal.org/node/948156
http://drupal.org/node/845250
comment #48
So many talented people contribute to Drupal, it amazes me. I am always wishing for better documentation, but always grateful for what we have to work with.
Jerry!
Big thanks!