Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Mernu does not start on one URL

Home Forums Older releases 0.9.x Mernu does not start on one URL

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1319
    Topshed
    Participant

    This is most confusing
    I made a menu system for my Main domain and it works great
    Then I made another for subDomain1 it also works Great
    THEN i made a menu for subDomain2 and it looks like I do not have the JS linked

    Now subdomain2 displays like the others if I load it from the Main domain as do the other two, but as soon as I go to subDomain2 it fails

    It is exactly the same file and I have reinstalled submenus in Subdomain2 and just added the text file to the server with the new install, but it fails

    I have spent a week going over it and I cannot find a reason.

    Someone please help

    Topshed

    #1580
    Topshed
    Participant

    URL for the script is
    https://tinyurl.com/ljyqqq5

    #1582
    admin
    Keymaster

    Hi, as far as I can see there are 2 issues with that page – you don’t need this:

    <!-- SmartMenus jQuery init -->
    <script type="text/javascript" src="jquery.smartmenus.min.js"></script>

    because you already have it linked here:

    <!-- jQuery Loader -->
    <script type="text/javascript" src="/smartmenus/libs/jquery/jquery.js"></script>
    <script type="text/javascript" src="/smartmenus/jquery.smartmenus.min.js"></script>

    The other issue is that the following returns 404:

    <link href="/smartmenus/css/sm-clean/sm-clean.css" rel="stylesheet" type="text/css">

    Apart from these, I don’t understand your question about subDomain1, subDomain2 and main domain. I guess you just need to make sure all your linked script and CSS files do not return 404 errors and are loaded correctly.

    Cheers!

    #1576
    Topshed
    Participant

    Thank you for your reply
    I deleted the loader and INIT lines and replaced it with your…..

    I checked the CSS dir and it is all there and no 404 errors
    But it made no differance

    Will try and explain, I have 3 sites on the one hosted account
    the first 2 sites work fine

    Site 3 “Trolleybus” never gets started, I have install the latest ver of SM9.5 but it made no differance

    All 3 sites have an exact same copy of Smartmenus and the trolley one is the only one that fails
    The problem one shows the SM menu when loaded into either of the other 2 sites

    Below The business end of the script…




    SmartMenus jQuery



    The script in Trolley
    https://tinyurl.com/mpfxh76

    The script in Bus
    https://tinyurl.com/m2jbvcr

    #1584
    admin
    Keymaster

    For example for the CSS here https://tinyurl.com/mpfxh76 you have the following:

    <link href="/smartmenus/css/sm-clean/sm-clean.css" rel="stylesheet" type="text/css">

    which still returns 404:
    http://www.londontrolleybus.com/smartmenus/css/sm-clean/sm-clean.css

    If you are sure everything is correct with your paths, it might be a server-side issue in which case I guess it’s best to contact your hosting provider.

    Please let me know if I could be of any further help. Thanks!

    #1587
    Topshed
    Participant

    Bingo ! a Server side issue never crossed my mind

    Thank you so much for your assistance and patience
    Regards
    Roy..

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.