We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34162
    • 1 Posts
    hi my drop down menus seem to be missing. can someone have a look at my website it’s at this address: http://www.insideyork.co.uk

    also i keep getting this error:
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: mysql_connect() [function.mysql-connect]: Unknown MySQL server host ’mysql12.streamline.net’ (2)
    Error type/ Nr.: Warning - 2
    File: /home/fhlinux161/i/insideyork.co.uk/user/htdocs/manager/includes/extenders/dbapi.mysql.class.inc.php
    Line: 87
    Line 87 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {

    Parser timing
    MySQL: 0.0000 s (0 Requests)
    PHP: 0.8491 s
    Total: 0.8491 s
    Error while inserting event log into database.
      • 34162
      • 1 Posts
      ok i think the error was my host on a bad day, but can anyone please have a look at my site as it’s a bit messed up. drop down menus don’t work and when you search for some things the page jumps to the left and some stays to the right. please any help would be appreciated...
        • 34162
        • 1 Posts
        ok here is what is in my template, so why are the menus not pulling down?

        <div id="header">
        <h1><a id="logo" href="[~[(site_start)]~]" title="[(site_name)]">[(site_name)]</a></h1>
        <div id="search"><!--search_terms--><span id="search-txt">SEARCH</span><a name="search"></a>[!AjaxSearch? ajaxSearch=`1` &AS_landing=`8` &moreResultsPage=`8` &showMoreResults=`1` &addJscript=`0` &extract=`0` &AS_showResults=`0`!]</div>
        <div id="ajaxmenu"> [[Wayfinder?startId=`0` &outerTpl=`mh.OuterTpl` &innerTpl=`mh.InnerTpl` &rowTpl=`mh.RowTpl` &innerRowTpl=`mh.InnerRowTpl` &firstClass=`first` &hereClass=``]] </div>
        <!-- end topmenu -->
        </div>
        <!-- end header -->
          • 34162
          • 1 Posts
          ok i fixed it, there was a problem with my template so i copied all this bit:

          <script src="manager/media/script/mootools/mootools.js" type="text/javascript"></script>
          <script src="assets/templates/modxhost/drop_down_menu.js" type="text/javascript"></script>
          <script type="text/javascript">
          function highlight(el,endcolor,duration) {
          $(el).style.background = ’#ffd700’;
          var fx = $(el).effects({duration: 1000, transition: Fx.Transitions.linear});
          fx.start.delay(duration/2,fx,{
          ’background-color’: endcolor
          });
          return false;
          }
          </script>
          </head>

          from the original modxhost template into my modified one, now the drop downs and search drop down is all working again.