WebsiteBaker Support (2.13.x) > General Help & Support
Problem with menu in old WB instalation
rumen:
--- Quote from: crnogorac081 on February 29, 2024, 06:21:49 PM ---It seems to me that some time https is loaded and some time http
--- End quote ---
Yes. I saw that. And I replaced all "http" with "https" and the site crashed 100% ....
Now does not load AT ALL ...
Index.php
--- Code: ---<?php
//**
//* 'distinctive template';
//*
//* 'a clean reworked freeware template';
//*
//* Licence: GNU General Public Licence 3.0';
//* @author 'Luka Cvrk www.solucija.com';
//* @copyright 'Luka Cvrk www.solucija.com and byteworker';
//* @licence '
://creativecommons.org/licenses/by/2.5/deed.de';
//* @version '1.0';
//* @plattform 'WebsiteBaker 2.8.x';
//
// prevent this file from being accessed directly
if (!defined('WB_PATH')) die(header('Location: ../../index.php'));
?>
<!DOCTYPE html>
<!--
Template Name: Escarine-Hol
Author: <a href="https://www.os-templates.com/">OS Templates</a>
Author URI: https://www.os-templates.com/
Licence: Free to use under our free template licence terms
Licence URI: https://www.os-templates.com/template-terms
-->
<html>
<head>
<title><?php page_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php
if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else
{ echo 'utf-8'; }?>" />
<link rel="shortcut icon" href="<?php echo WB_URL; ?>/favicon.ico" />
<meta name="description" content="<?php page_description(); ?>" />
<meta name="keywords" content="<?php page_keywords(); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATE_DIR; ?>/layout/styles/layout.css" media="screen" />
<?php
if(function_exists('register_frontend_modfiles')) {
register_frontend_modfiles('css');
register_frontend_modfiles('jquery');
register_frontend_modfiles('js');
} ?>
<!-- <script language="javascript" type="text/javascript" src="https://skylog.bg/liveadmin/client.php?key=LF8516688V239A8C64M99EDB58"></script> -->
</head>
<body id="top">
<!-- ################################################################################################ -->
<!-- Top Background Image Wrapper -->
<div class="relative bgded" style="background-image:url('https://skylog.bg/templates/skylog/images/demo/backgrounds/01.jpg');">
<!-- <img src="https://skylog.bg/templates/skylog/images/demo/backgrounds/01.jpg" style="max-width:100%;height:auto;" alt=""> -->
<!-- ################################################################################################ -->
<div class="wrapper row0">
<div id="topbar" class="hoc clear">
<!-- ################################################################################################ -->
<div class="fl_left">
<ul class="nospace inline pushright">
<li><i class="fa fa-phone"></i> +359 (2) 945 90 12 </li>
<li><i class="fa fa-envelope-o"></i> office@skylog.bg</li>
</ul>
</div>
<div class="fl_right">
<ul class="faico clear">
<li> <!-- <div id="langmenu"> -->
<a href ="https://skylog.bg/pages/nachalo.php?lang=BG" title="Български" >
<span><img class="default" src="https://skylog.bg/modules/mod_multilingual/flags/bg.gif" alt="Български" title="Български" />
</span></a></li>
<li><a href ="https://skylog.bg/pages/home.php?lang=EN" title="English" >
<span><img class="default" src="https://skylog.bg/modules/mod_multilingual/flags/en.gif" alt="English" title="English" />
</span></a></li>
<!-- <a href ="" title="" >
<span><img class="current" src="current_lang.gif" alt="lang_name" title="lang_name" />
</span></a> --> <!-- </div> --> </li>
<!-- <li><a class="faicon-facebook" href="https://www.facebook.com/Sky-Log-Ltd-294679237340640/?ref=ts&fref=ts" target="_blank"><i class="fa fa-facebook"></i></a></li> -->
<!-- <li><a class="faicon-pinterest" href="#"><i class="fa fa-pinterest"></i></a></li> -->
<!-- <li><a class="faicon-twitter" href="https://twitter.com/log_sky" target="_blank"><i class="fa fa-twitter"></i></a></li> -->
<!-- <li><a class="faicon-dribble" href="#"><i class="fa fa-dribbble"></i></a></li> -->
<!-- <li><a class="faicon-linkedin" href="https://bg.linkedin.com/in/sky-log-ltd-792335119" target="_blank"><i class="fa fa-linkedin"></i></a></li> -->
<li><!-- mibew button --><a id="mibew-agent-button" href="/help/chat?locale=bg" target="_blank" onclick="Mibew.Objects.ChatPopups['570f72c7df86d4b2'].open();return false;"><img src="/help/b?i=chat&lang=bg" border="0" alt="" /></a><script type="text/javascript" src="/help/js/compiled/chat_popup.js"></script><script type="text/javascript">Mibew.ChatPopup.init({"id":"570f72c7df86d4b2","url":"\/help\/chat?locale=bg","preferIFrame":true,"modSecurity":false,"width":640,"height":480,"resizable":true,"styleLoader":"\/help\/chat\/style\/popup"});</script><!-- / mibew button --></li>
<!-- <li><a class="faicon-google-plus" href="https://skylog.bg/pages/trsene.php"><i class="fa fa-search"></i></a></li> -->
<!-- <li><a class="faicon-rss" href="#"><i class="fa fa-rss"></i></a></li> -->
</ul>
</div>
<!-- ################################################################################################ -->
</div>
</div>
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
<div class="wrapper row1">
<header id="header" class="hoc clear">
<!-- #################################### php echo $TEXT['MENU']; ############################################################ -->
<div id="logo" class="fl_left">
<h1><a href="index.php"><?php echo $TEXT['COMPANY']; ?></a></h1>
</div>
<nav id="mainav" class="fl_right">
<?php show_menu2(
$aMenu = 1,
$aStart = SM2_ROOT,
$aMaxLevel = SM2_ALL,
$aOptions = SM2_ALL|SM2_NUMCLASS|SM2_PRETTY|SM2_XHTML_STRICT,
$aItemOpen = '[li]'.PHP_EOL.'[ac][menu_title]</a>'.PHP_EOL,
$aItemClose = '</li>'.PHP_EOL,
$aMenuOpen = '<ul class="clear">'.PHP_EOL,
$aMenuClose = '</ul>'.PHP_EOL,
$aTopItemOpen = false,
$aTopMenuOpen = false
); ?>
</nav>
<!-- ################################################################################################ -->
</header>
</div>
<?php page_content(1); ?>
<div class="wrapper row3">
<main class="hoc container clear">
<!-- main body -->
<!-- ################################################################################################ -->
<div class="content">
<!-- ################################################################################################ -->
<!--<div class="wrapper row3">
<main class="hoc container clear"> -->
<!-- main body -->
<!-- ################################################################################################ -->
<?php page_content(2); ?>
<!-- ################################################################################################ -->
<!-- / main body -->
<div class="clear"></div>
<!-- </main>
</div> -->
<!-- ################################################################################################ -->
<div class="content three_quarter first">
<?php page_content(3); ?>
</div>
<!-- ################################################################################################ -->
<div class="sidebar one_quarter">
<?php page_content(4); ?>
</div>
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
</div>
<!-- ################################################################################################ -->
<!-- / main body -->
<div class="clear"></div>
</main>
</div>
<!-- ################################################################################################ -->
<div class="wrapper row4">
<footer id="footer" class="hoc clear">
<!-- ################################################################################################ -->
<?php page_footer(); ?>
<!-- ################################################################################################ -->
</footer>
</div>
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
<div class="wrapper row5">
<div id="copyright" class="hoc clear">
<!-- ################################################################################################ -->
<p class="fl_left">Copyright © 2015 - All Rights Reserved - <a href="#">SkyLog |</a></p> <center><p class="fl_left" style="text-indent: 1em;"> Powered by - <a href="https://ucc-bg.com">UCC Ltd</a></p></center>
<p class="fl_right"><a href="https://skylog.bg/admin/" width="16" height="16" target="_blank"><img src="https://skylog.bg/templates/skylog/images/demo/login.png" width="24" height="24" border="0"></a></p>
<p class="fl_right"><a href="https://skylog.bg/help/operator/login" width="16" height="16" target="_blank"><img src="https://skylog.bg/templates/skylog/images/demo/headphone.png" width="24" height="24" border="0"></a></p>
<p class="fl_right">Template by <a target="_blank" href="https://www.os-templates.com/" title="Free Website Templates">OS Templates </a></p>
<!-- ################################################################################################ -->
</div>
</div>
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
<!-- ################################################################################################ -->
<a id="backtotop" href="#top"><i class="fa fa-chevron-up"></i></a>
<!-- JAVASCRIPTS -->
<script src="<?php echo TEMPLATE_DIR; ?>/layout/scripts/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo TEMPLATE_DIR; ?>/layout/scripts/jquery.backtotop.js" type="text/javascript"></script>
<script src="<?php echo TEMPLATE_DIR; ?>/layout/scripts/jquery.mobilemenu.js" type="text/javascript"></script>
<!-- IE9 Placeholder Support -->
<script src="<?php echo TEMPLATE_DIR; ?>/layout/scripts/jquery.placeholder.min.js" type="text/javascript"></script>
<!-- / IE9 Placeholder Support -->
<!-- Homepage specific - can be used in all pages -->
<div id="preloader"><div></div></div>
<script>$(window).load(function(){$("#preloader div").delay(000).fadeOut();$("#preloader").delay(000).fadeOut("slow");});</script>
<!-- / Homepage specific -->
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=11333244;
var sc_invisible=1;
var sc_security="442c11b8";
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure." : "https://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="web stats"
href="https://statcounter.com/" target="_blank"><img
class="statcounter"
src="//c.statcounter.com/11333244/0/442c11b8/1/" alt="web
stats"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->
</body>
</html>
--- End code ---
rumen:
--- Quote from: ruebenwurzel on February 29, 2024, 01:44:27 PM ---lokes like the .css ist not loaded
--- End quote ---
The question is why it loads in one browser and doesn't load in another?
rumen:
--- Quote from: hgs on March 01, 2024, 08:00:08 AM ---
--- Quote from: rumen on February 29, 2024, 12:50:22 PM ---Hi there.
I have issue with very old site. There the WB is very old 2.8.3. but works. The issue is that the menu in some cases (and browsers) appears like that instead like that! Any idea what can cause the problem and how to fix it?
Thanks in advance!
Regards,
Rumen
--- End quote ---
Even if it is "still running"
a WB 2.8.3 with php less than 8.1 is urgently to be provided with a current update of WB and php.
--- End quote ---
Yes it is 8 years old site. It works so never touched. Until now .... I don't know if they gonna keep it or they want to renew or change still thinking. But the problem is that the site doesn't work at all now after I replaced all "http" with "https"
crnogorac081:
Check your cpanel maybe you enabled https. If so, dissable it. Also check in root if there Is .htaccess file and check of there is redirect From http to https ,if so comment lines with #
rumen:
--- Quote from: crnogorac081 on March 01, 2024, 08:13:02 PM ---Check your cpanel maybe you enabled https. If so, dissable it. Also check in root if there Is .htaccess file and check of there is redirect From http to https ,if so comment lines with #
--- End quote ---
There Is .htaccess file, but file contains only that:
--- Code: ---# Example .htaccess wich allows to parse .html as php
AddType application/x-httpd-php .html
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version