test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • mazhar shah Friend
    #164542

    deleting this line
    <block name=”mainnav” type=”mainnav” wrap-inner=”1″ main-inner=”2″></block>

    gives errors on pages
    <blockquote>Message: Object expected
    Line: 56
    Char: 14
    Code: 0
    URI: /index.php?jat3action=gzip&type=js&file=t3-assets/jsce9e7.js

    Message: ‘joms’ is undefined
    Line: 145
    Char: 1
    Code: 0

    Message: ‘joms’ is undefined
    Line: 349
    Char: 7
    Code: 0</blockquote>

    This removes the menu from the site and works, BUT then If I turn on ‘Optimise JS Join & Minify & Compress’ in Admin, I get a JS error on the site which shows in the foot of Internet Explorer. Of course this also means that all other JS pop-ups in components such as Jomsocial, stop working too.

    If I turn Optimise JS Off, everything works again.

    It ONLY happens by removing this mainnav block. So how can I safely remove this mainnav block without getting errors on the page?

    khoand Friend
    #393334

    Hi,
    Because of cache of joomla. So you remove mainnav and remove all of files of cache directory

    mazhar shah Friend
    #393337

    Hi
    That did not solve it. I manually removed all cache files, turned ON Optimise JS and went to site. JomSocial popups and other parts of the site do not work. Getting the same error Joms is undefifined.

    Also ‘Enable Development Mode’ is set to YES and Joomla cache is OFF too. Site is still under development.

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2)
    Timestamp: Sat, 28 May 2011 09:05:40 UTC

    Message: Object expected
    Line: 44
    Char: 14
    Code: 0
    URI: /jat3action=gzip&type=js&file=t3-assets/jsff0ec.js

    Message: ‘joms’ is undefined
    Line: 185
    Char: 1
    Code: 0
    URI: /43-testadmin/profile

    Message: ‘joms’ is undefined
    Line: 337
    Char: 1
    Code: 0
    URI: /43-testadmin/profile

    Message: ‘joms’ is undefined
    Line: 586
    Char: 1
    Code: 0
    URI: /43-testadmin/profile

    Message: ‘joms’ is undefined
    Line: 326
    Char: 1
    Code: 0
    URI: /43-testadmin/profile

    khoand Friend
    #393349

    Could you give me username+password of ftp and backend?

    mazhar shah Friend
    #393350

    Yes of course. I sentI ftp details to your message box.

    The test site is here: http://74.53.251.98/~mytest01

    As you can see the link JOMSO|CIAL in the header is where the problem is. In admin, I simply duplicated the default layout, removed the msinnav block, assigned layout to the BLUE template profile. Then linked this to the JomSocial menu link.

    You will see an error in Explorer bottom bar. Also, going to any jomsocial member page, click send message and nothing happens.

    If in admin we turn OFF JS Optimise, everything works.

    I have repeated the problem on more test sites and still the same errors.

    mazhar shah Friend
    #393424

    Hi Kohand did you manage to take a look at the problem yet? I sent ftp details to your message box.

    Alternatively how can I prevent the mainnav menu showing on some layouts. There is no option in Menu Type settings for NO menu.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  mazhar shah 13 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum