Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #222575

    Hi

    Working on localhost and just did a manual update to 2.5. Everything looks ok and is working ok except for one page.

    On this page I have some Icon Boxes with a redirection to some PDF files. When I click on the link I get

    Forbidden
    You don’t have permission to access /company/wp-content/uploads/AusTrialMembership-new.pdf” title= on this server.

    The PDF file name is http://localhost/company/wp-content/uploads/AusTrialMembership-new.pdf

    No other pages are creating this error. I have deleted the PDF’s and uploaded again, resaved the permalinks, tried a new Icon Box.

    Any ideas?
    Regards
    Richard

    #222578
    This reply has been marked as private.
    #222676

    Hi!

    I think I found the bug. We’ll correct it with the next update. For a quick fix open up enfold/config-templatebuilder/avia-shortcodes/iconbox.php and replace

    
    $display_char_wrapper['start'] = "a href='{$linktitle}' title='".esc_attr($linktitle)."' {$blank}";
    

    with

    
    $display_char_wrapper['start'] = "a href='{$link}' title='".esc_attr($linktitle)."' {$blank}";
    

    Cheers!
    Peter

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.