Tagged: update
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
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