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.
Problem/Motivation
We get always a 404 error, when the script will load the language files. The JS option variable 'lang_path' has not the full/right path to the JS library.
Proposed resolution
Set the 'lang_path' option in the module.
Comment | File | Size | Author |
---|---|---|---|
#7 | socialshareprivacy-D7.patch | 1.9 KB | M_T |
#6 | socialshareprivacy-lang_path-2275447-6.patch | 2.05 KB | drupov |
#1 | socialshareprivacy-lang_path-2275447-1-D7.patch | 2.4 KB | weri |
Comments
Comment #1
weri CreditAttribution: weri commentedComment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedWorks for me
Comment #3
TorstenGrote CreditAttribution: TorstenGrote commentedI can confirm that this problem exists with the latest version of this module and the socialshareprivacy library. Deraynger, please try again with the latest library. You might be using an older one where this problem does not exist.
Furthermore, I can confirm that the patch supplied by weri actually works.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedTorstenGrote, I meant that the patch works, sorry for my bad wording.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedComment #6
drupov CreditAttribution: drupov commentedPatch didn't apply cleanly, here's a rewrite (no logic changed from patch in #1)
Comment #7
M_T CreditAttribution: M_T commentedThis works this the latest module
Comment #8
jelo CreditAttribution: jelo commentedLatest patch worked for me to fix the 404 error.
Comment #9
yan CreditAttribution: yan as a volunteer commentedSame problem here. Patch from #7 works for me. Could it be committed?