Nu is het me gelukt om de source van de site met beide php versie, dus versie 5.6 en php versie 7, en daar is wel iets opvallends te zien, nl. dat het lijkt alsof het deel voor <__html lang="{$lang}"> niet wordt geladen.
Stukje bron met versie php 5.6
Code: Select all
<head><link type="text/css" rel="stylesheet" charset="UTF-8" href="https://translate.googleapis.com/translate_static/css/translateelement.css"><__script__ type="text/javascript" charset="UTF-8" src="https://translate.googleapis.com/translate_static/js/element/main_nl.js"></__script><__script__ type="text/javascript" charset="UTF-8" src="https://translate.googleapis.com/element/TE_20170320_00/e/js/element/element_main.js"></__script></head></__body style="position: relative; min-height: 100%; top: 0px;">
<__script__ src="https://pagead2.googlesyndication.com/pub-config/r20160913/ca-pub-3514636835854223.js"></__script><__script__ type="text/javascript" async="">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'nl',
includedLanguages: 'de,en,fr',
gaTrack: true,
gaId: 'UA-3361592-1',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</__script>
<__script__ type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit" async=""></__script>
<header role="banner" id="page-top"><div class="c_full"><div class="grid_12"> <div id="cbp-fwslider" class="cbp-fwslider"> <ul> <li><div><h1><img src="uploads/images/Gallery/homepage_slider/Uisge-Beatha.jpg" alt="Uisge Beatha - mijn zeilboot een Dehler 36 JV - "></h1></div></li> <li><div><h1><img src="uploads/images/Gallery/homepage_slider/img_3779.jpg" alt="Uisge Beatha - mijn
Code: Select all
<head><__script__ src="https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.nl.EeIfFEVAMLc.O/m=auth/exm=iframes_styles_bubble_mobile,plusone/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCPuRBMjCER49SRuNsd4TQDr8zX-NA/cb=gapi.loaded_1" async=""></__script><__script__ src="https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.nl.EeIfFEVAMLc.O/m=iframes_styles_bubble_mobile,plusone/rt=j/sv=1/d=1/ed=1/am=AQ/rs=AGLTcCPuRBMjCER49SRuNsd4TQDr8zX-NA/cb=gapi.loaded_0" async=""></__script><__script__ type="text/javascript" src="//api-public.addthis.com/url/shares.json?url=https%3A%2F%2Fwww.uisge-beatha.eu%2F&callback=_ate.cbs.sc_httpswwwuisgebeathaeu0"></__script><__script__ type="text/javascript" src="//apis.google.com/js/plusone.js" gapi_processed="true"></__script><__script__ type="text/javascript" src="//platform.twitter.com/widgets.js"></__script><__script__ type="text/javascript" src="//m.addthis.com/live/red_lojson/300lo.json?si=58d95bd20ee17152&bkl=0&bl=1&sid=58d95bd20ee17152&pub=xa-4f2144ce26244842&rev=v7.11.0-wp&ln=nl&pc=men&cb=0&ab=-&dp=www.uisge-beatha.eu&fp=&fr=&of=4&pd=0&irt=1&vcl=1&md=0&ct=1&tct=0&abt=0&cdn=0&pi=1&rb=0&gen=100&chr=UTF-8&mk=whiski%2Cnaam%2Cuisg%2Cbeatha%2Ceerst%2Contstaan%2Cgregor'%2Cboot%2Calleen%2Czeilboot%2Calcohol%2Ceind%2C311%2Chans%2Cbeschrijv%2Cjaar%2Cvorig%2Coorspronkelijk%2Cgedistilleerd%2Cgebeurt&colc=1490639826751&jsl=1&uvs=58d9579fc18285a1001&skipb=1&callback=addthis.cbs.oln9_36239615433978610"></__script><__script__ type="text/javascript" src="//m.addthisedge.com/live/boost/xa-4f2144ce26244842/_ate.track.config_resp"></__script><title>Welkom in het logboek van Uisge Beatha | Uisge Beatha - mijn zeilboot een Dehler 36 JV</title><base href="https://www.uisge-beatha.eu/"> <meta name="google-site-verification" content="ZELEPW5SSIsv1PqdZrX91yXfEsjCNmJEHG50F7vVri4"> <meta charset="utf-8"> <meta name="application-name" content="Uisge Beatha - mijn zeilboot een Dehler 36 JV"> <meta name="copyright" content="Copyright (C) Gregor de Graaf, All Rights Reserved"> <meta name="description" content=" Het ontstaan van de naam van Gregor's Dehler 36JV.... Het woord whisky is afkomstig van uisge beatha, Keltisch voor levenswater . De correcte..."> <meta name="generator" content="CMS Made Simple - Copyright (C) 2004-2017 CMSMS (C). All rights reserved."> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="HandheldFriendly" content="true"> <meta name="keywords"
De bron van de template ziet er als volgt uit:
Code: Select all
{strip}
{process_pagedata}
{$lang = 'nl' scope=global}
{$theme_color = '#61363C' scope=global}
{$theme_color_light = '#E5D6CC' scope=global}
{$theme_url = "{uploads_url}/_template" scope=global}
{$content = "{content}" scope=global}
{$site_name = "{sitename}" scope=global}
{if empty($canonical)}{$canonical = $content_obj->GetURL()|lower scope=global}{/if}
{if empty($description)}{$description = "{description}" scope=global}{/if}
{if empty($description)}{$description = $content|strip_tags|strip|truncate:150|default:'' scope=global}{/if}
{if empty($last_modified)}{$last_modified = "{modified_date format='%e-%m-%Y'}" scope=global}{/if}
{if empty($page_image)}{$page_image = "{$theme_url}/Main_Image_Uisge-Beatha.jpg" scope=global}{/if}
{if empty($page_title)}{$page_title = "{title}" scope=global}{/if}
<!DOCTYPE HTML>
<__html lang="{$lang}">
<head>{strip}
<title>{$page_title} | {$site_name}</title>
{metadata|strip}
{cms_stylesheet|strip}
<link href='//fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
{* IEMobile 10 viewport fix *}
<__script__ type="text/javascript">
if (navigator.userAgent.match(/IEMobile\/10\.0/)) {
var msViewportStyle = document.createElement("style");
msViewportStyle.appendChild(document.createTextNode("@-ms-viewport { width:auto!important } "));
document.getElementsByTagName("head")[0].appendChild(msViewportStyle);
}
</__script>
{/strip}</head>
</__body>{strip}
{global_content name='GoogleTranslate'}
{global_content|strip name='Cookie'}
{* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ *}
<header role="banner" id="page-top">
<div class="c_full">
<div class="grid_12">{Gallery|strip dir='homepage_slider'}
</div>
</header>
{* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ *}
<main role="main">
<div class="menu_wrapper">
<div class="c_full">
<div class="grid_12">
<nav role="navigation">
<div id="menu_mobile" onclick="void(0)">
<div id="menu_mobile_btn" class="hide_on_desktop"><span class="fa fa-bars"></span>Menu</div>
<div id="menu_horizontal">{menu|strip}</div>
</div>
</nav>
</div>
</div>
</div>
<div class="c_full">
<div class="grid_9 hide_on_mobile">{cms_breadcrumbs|strip template="Breadcrumbs - responsive"} </div>
<div class="grid_3 block_icons">{global_content|strip name='SocialMediaButtons'}</div>
</div>
<div class="c_full">
<div class="grid_3 hide_on_mobile">
<div id="logboek">
<h2>Logboek</h2>
{CGBlog|strip pagelimit='3' summarytemplate='UB_Logbook_frntpg' category='Logboek,Tochten'}
</div>
<div id="nieuwtjes">
<h2>Nieuwtjes</h2>
{CGBlog|strip number='3' summarytemplate ='UB_Nieuwtjes_frntpg' category='General,Motor,Te water lating,Binnenboord,Onderhoud,Statistiek,Hardlopen'}
</div>
</div>
<div id="content" class="grid_{if $page_alias == 'home'}6{else}9{/if}">
<h2 itemprop="name">{$page_title}</h2>
{$content|strip}
<div style="clear: both"></div>
<h5>Deel deze pagina:</h5>
{global_content|strip name='SocialMediaShare'}
{global_content name='AdsResponsive'}
</div>
{if $page_alias == 'home'}
<div class="grid_3 hide_on_mobile">
<div class="block_mailing">
<h2>Houd mij op de hoogte</h2>
{FormBuilder|strip form='CGBlogMailing'}
</div>
<div class="block_tagcloud">
<h2>Tag cloud</h2>
{CGBlog|strip browsecattemplate='Tagcloud' action='browsecat'}
</div>
<div class="block_sailstatements">
<h2>Zeiluitspraken</h2>
{global_content|strip name='Zeiluitspraken'}
</div>
</div>
{/if}
</div>
</main>
{* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ *}
<footer role="contentinfo">
<div class="c_full">
<div class="grid_12 btn_scroll_top">
<a href="#page-top" class="js_scroll">
<span class="fa fa-chevron-up"></span>
</a>
</div>
</div>
<div class="c_full">
<div class="grid_12">{global_content|strip name='Footer'}</div>
</div>
</footer>
{* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ *}
{global_content|strip name='jQuery'}
{global_content|strip name='Cookie_active'}
{global_content|strip name='Analytics'}
{global_content name='Tooltips'}
{/strip}<__body></__html>{/strip}