-
AuthorPosts
-
mazhar shah Friend
mazhar shah
- Join date:
- September 2014
- Posts:
- 201
- Downloads:
- 132
- Uploads:
- 37
- Thanks:
- 37
- Thanked:
- 8 times in 5 posts
May 28, 2011 at 8:02 am #164542deleting 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.jsMessage: ‘joms’ is undefined
Line: 145
Char: 1
Code: 0Message: ‘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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 28, 2011 at 8:44 am #393334Hi,
Because of cache of joomla. So you remove mainnav and remove all of files of cache directorymazhar shah Friendmazhar shah
- Join date:
- September 2014
- Posts:
- 201
- Downloads:
- 132
- Uploads:
- 37
- Thanks:
- 37
- Thanked:
- 8 times in 5 posts
May 28, 2011 at 8:54 am #393337Hi
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 UTCMessage: Object expected
Line: 44
Char: 14
Code: 0
URI: /jat3action=gzip&type=js&file=t3-assets/jsff0ec.jsMessage: ‘joms’ is undefined
Line: 185
Char: 1
Code: 0
URI: /43-testadmin/profileMessage: ‘joms’ is undefined
Line: 337
Char: 1
Code: 0
URI: /43-testadmin/profileMessage: ‘joms’ is undefined
Line: 586
Char: 1
Code: 0
URI: /43-testadmin/profileMessage: ‘joms’ is undefined
Line: 326
Char: 1
Code: 0
URI: /43-testadmin/profilekhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 28, 2011 at 9:23 am #393349Could you give me username+password of ftp and backend?
mazhar shah Friendmazhar shah
- Join date:
- September 2014
- Posts:
- 201
- Downloads:
- 132
- Uploads:
- 37
- Thanks:
- 37
- Thanked:
- 8 times in 5 posts
May 28, 2011 at 9:25 am #393350Yes 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 Friendmazhar shah
- Join date:
- September 2014
- Posts:
- 201
- Downloads:
- 132
- Uploads:
- 37
- Thanks:
- 37
- Thanked:
- 8 times in 5 posts
May 29, 2011 at 4:43 pm #393424Hi 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.
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by mazhar shah 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum