Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I had some trouble with the new activity2 dev release from last week. This morning I finally found out what caused the all my activity views to be empty. I had a new language set up (en-GB) so I can disable the default language and change the new English one to my liking. Since en-GB and all language codes with a regional variant name are valid language codes activity should support these in the targets table. Therefore the language column should take up to 5 characters and not only 2.
Comments
Comment #1
Scott Reynolds CreditAttribution: Scott Reynolds commentedhttp://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.10
looks like that is what is required.
Comment #2
Scott Reynolds CreditAttribution: Scott Reynolds commentedRun this code on your database.
http://drupal.org/cvs?commit=291492
Comment #4
Scott Reynolds CreditAttribution: Scott Reynolds commentedField needs to be a varchar(12).
http://drupal.org/cvs?commit=299982
Comment #6
yosisays CreditAttribution: yosisays commentedI have the most recent version and i'm still seeing:
Fatal error: Call to undefined function activity_record_form() in C:\wamp\www\drupal\modules\system\system.module on line 1501
the error shows up when i go to admin/site config/actions/activity/config
(I'm using drupal v. 6.15, php v. 5.2.11, and MySQL v. 5.2.36)
Comment #7
Scott Reynolds CreditAttribution: Scott Reynolds commentedFirst off, that has nothing to do with language codes. So WAY off topic here.
And that hasn't been fixed yet #635264: Add back in activity_record_form ?
Do not use Actions to adjust your templates. Instead goto admin/build/activity
That is currently the only supported way to adjust your activity templates (and it will be the ONLY supported method going forward).
Comment #8
yosisays CreditAttribution: yosisays commentedsorry about that. i ran a search and found a thread that explained the fix was found and located on this thread , it had a link to this thread there.