WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Problem with menu in old WB instalation
  • Print
Pages: [1]   Go Down

Author Topic: Problem with menu in old WB instalation  (Read 18642 times)

Offline rumen

  • Posts: 480
  • Gender: Male
Problem with menu in old WB instalation
« 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
Logged

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: Problem with menu in old WB instalation
« Reply #1 on: February 29, 2024, 01:40:39 PM »
How is your menu call? show_menu or show_menu2?
Logged

Offline ruebenwurzel

  • Betatester
  • **
  • Posts: 8544
  • Gender: Male
  • Keep on Rockin
    • Familie Gallas Online
Re: Problem with menu in old WB instalation
« Reply #2 on: February 29, 2024, 01:44:27 PM »
lokes like the .css ist not loaded
Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Problem with menu in old WB instalation
« Reply #3 on: February 29, 2024, 06:21:49 PM »
It seems to me that some time https is loaded and some time http
Logged
Web developer

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1883
    • EFG MG
Re: Problem with menu in old WB instalation
« Reply #4 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

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.
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Problem with menu in old WB instalation
« Reply #5 on: March 01, 2024, 07:01:38 PM »
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

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: [Select]
<?php

//**
//* &#39;distinctive template&#39;;
//*
//* &#39;a clean reworked freeware template&#39;;
//*
//* Licence: GNU General Public Licence 3.0&#39;;
//* @author &#39;Luka Cvrk www.solucija.com&#39;;
//* @copyright &#39;Luka Cvrk www.solucija.com and byteworker&#39;;
//* @licence  &#39;
://creativecommons.org/licenses/by/2.5/deed.de&#39;;
//* @version &#39;1.0&#39;;
//* @plattform &#39;WebsiteBaker 2.8.x&#39;;
//

// prevent this file from being accessed directly

if (!defined(&#39;WB_PATH&#39;)) die(header(&#39;Location: ../../index.php&#39;));

?>

<!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(&#39;DEFAULT_CHARSET&#39;)) { echo DEFAULT_CHARSET; } else 
{ echo &#39;utf-8&#39;; }?>
" />
<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(&#39;register_frontend_modfiles&#39;)) {
  
register_frontend_modfiles(&#39;css&#39;);
  
register_frontend_modfiles(&#39;jquery&#39;);
  
register_frontend_modfiles(&#39;js&#39;);
} ?>


<!-- <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&amp;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[&#39;COMPANY&#39;]; ?></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      = &#39;[li]&#39;.PHP_EOL.&#39;[ac][menu_title]</a>&#39;.PHP_EOL,
        
$aItemClose     = &#39;</li>&#39;.PHP_EOL,
        
$aMenuOpen      = &#39;<ul class="clear">&#39;.PHP_EOL,
        
$aMenuClose     = &#39;</ul>&#39;.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 &copy; 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  &nbsp;</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>
Logged

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Problem with menu in old WB instalation
« Reply #6 on: March 01, 2024, 07:04:46 PM »
Quote from: ruebenwurzel on February 29, 2024, 01:44:27 PM
lokes like the .css ist not loaded

The question is why it loads in one browser and doesn't load in another?
Logged

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Problem with menu in old WB instalation
« Reply #7 on: March 01, 2024, 07:06:40 PM »
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

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.

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"
Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Problem with menu in old WB instalation
« Reply #8 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 #
Logged
Web developer

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Problem with menu in old WB instalation
« Reply #9 on: March 01, 2024, 11:31:57 PM »
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 #

There Is .htaccess file, but file contains only that:
 
Code: [Select]
# Example .htaccess wich allows to parse .html as php
AddType application/x-httpd-php .html
Logged

Offline sternchen8875

  • Global Moderator
  • *****
  • Posts: 601
Re: Problem with menu in old WB instalation
« Reply #10 on: March 02, 2024, 10:02:55 AM »
Looks for me, that you found the problem  (Y)

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

i think, this is the answer, but its difficult to say without a link to the problem pages. Important is a with https defined WB_URL and a Switch from http to https in .htaccess or (better solution) on the server.
Maybe, you can give us your solution ;-)
Logged

Offline crnogorac081

  • Posts: 2161
  • Gender: Male
Re: Problem with menu in old WB instalation
« Reply #11 on: March 02, 2024, 12:53:57 PM »
1. Enabled https in cpanel where your hosting is

2 folow instructions From Here:
https://forum.WebsiteBaker.org/index.php/topic,31921.msg223820.html#msg223820
Logged
Web developer

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Problem with menu in old WB instalation
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2