ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Discussion Board: (JavaScript must be enabled to view this email address)

April 16, 2012 11:47am

Subscribe [6]
  • #1 / Apr 16, 2012 11:47am

    aight8

    8 posts

    Dear community

    I’cant fix this problem.

    All e-mails-adresses in posts replaced by this Error Message:
    (JavaScript must be enabled to view this email address)

    I have JS enabled.

    EE Version 2.4.0, Discussion Board Version 3.1.7.

    Have someone else the same problem??

    The problem ist urgent because we use the forum with a lot of refering e-mail-adresses.

  • #2 / Apr 17, 2012 6:42am

    aight8

    8 posts

    I found the solution:

    EE_Typography.php - line 1365

    /*<![CDATA[*/
    var out = '',
     el = document.getElementsByTagName('span'),
     l = ['<?php echo implode("','", $bit)?>'],
     i = l.length,
     j = el.length;
    
    while (--i >= 0)
     out += unescape(l[i].replace(/^\s\s*/, '&#'));
    
    while (--j >= 0)
     if (el[j].getAttribute('<?php echo $span_marker ?>'))
      el[j][removed] = out;
    /*]]>*/

    Remove all curly brackets from the statement.

    I’m not very happy about this problem or for this “hack”. Can’t understand why this fatal problem is in the code there.

  • #3 / Apr 17, 2012 11:24am

    Dan Decker

    7338 posts

    Hey aight8,

    I’m sorry for the frustration this made for you!

    Can’t understand why this fatal problem is in the code there.

    That seems to be the nature of software produced by human beings, it has bugs 😊

    This same issue was identified in this bug report and should be fixed version 3.1.7

    Can you check that the solution in that fix is in your version of ExpressionEngine?

    Cheers,

  • #4 / May 02, 2012 10:28pm

    jschutt

    452 posts

    Thanks for taking the time to post the fix aight8.  I’m launching a site tomorrow and this was an item that needed attention.  FWIW, I’m using Forums 3.1.7 and the error still existed.

  • #5 / May 08, 2012 11:56am

    Eric Barstad

    198 posts

    I can confirm the bug still exists in 3.1.7.

  • #6 / May 11, 2012 2:37pm

    Dan Decker

    7338 posts

    Hi Eric,

    Thanks for your report. Have you had a chance to update to ExpressionEngine 2.5 and Forum 3.1.8?

    Cheers,

  • #7 / Jul 21, 2012 12:44am

    msmith29063

    75 posts

    This wasn’t fixed in 3.1.8 either. I just had to perform the same fix.

  • #8 / Jul 29, 2012 7:47pm

    kokako

    57 posts

    I have just updated a site to 2.5.2 build 20120606 and the forum to 3.1.8 and I am still seeing this problem.

    In my copy of EE_Typography.php the code occurs 1341-1362, but I see no curly brackets. this is it:

    <span>.<?php echo lang('encoded_email'); ?></span>[removed]
    /*<![CDATA[*/
    var out = '',
     el = document.getElementsByTagName('span'),
     l = ['<?php echo implode("','", $bit)?>'],
     i = l.length,
     j = el.length;
    
    while (--i >= 0)
    {
     out += unescape(l[i].replace(/^\s\s*/, '&#'));
    }
    
    while (--j >= 0)
    {/**/
     if (el[j].getAttribute('<?php echo $span_marker ?>'))
     {
      el[j][removed] = out;
     }
    }
    /*]]>*/
    [removed]<?php

     

  • #9 / Jul 31, 2012 10:35am

    Shane Eckert

    7174 posts

    Hello kokako,

    I confirmed that this bug is present again in 2.5.2 and 3.1.8.

    I filed a new bug for it. Please comment on the bug to follow it’s progress and any hot fixes.

    Sorry for the headache!

    Thank you,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases