掲示板

Liferay.Portlet is undefined

thumbnail
8年前 に Nithin KV によって更新されました。

Liferay.Portlet is undefined

Junior Member 投稿: 56 参加年月日: 12/07/23 最新の投稿
Hi Guys,

I am getting the below error in the firebug console for all the pages when i access them. I sense a feeling something has got screwed up at server level.Could you please let me know what could be the cause for it ?

TypeError: Liferay.Portlet is undefined
TypeError: Liferay.Util is undefined
TypeError: Liferay.Portlet is undefined
ReferenceError: AUI is not defined
TypeError: Liferay.on is not a function
8年前 に Shiva Krishna Goud によって更新されました。

RE: Liferay.Portlet is undefined

Regular Member 投稿: 110 参加年月日: 15/01/02 最新の投稿
make sure that $theme.include($top_head_include) in your theme
thumbnail
8年前 に Nithin KV によって更新されました。

RE: Liferay.Portlet is undefined

Junior Member 投稿: 56 参加年月日: 12/07/23 最新の投稿
Hi,
Thanks for the reply but $theme.include($top_head_include) exists in my theme.
thumbnail
8年前 に Meera Prince によって更新されました。

RE: Liferay.Portlet is undefined

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
Hi
Problem with loading required AUI java script files on behalf of your theme. Please check all java script files loading properly or not. look at page source after render page it may give idea what script files are missing.

Regards,
Meera Prince
thumbnail
8年前 に Nithin KV によって更新されました。

RE: Liferay.Portlet is undefined

Junior Member 投稿: 56 参加年月日: 12/07/23 最新の投稿
Hi,

Actually the issue is at server level. I am facing this issue for all the pages in portal. Please find the below screenshot. I have compared the loading of Liferay Javascript APIs for two servers. Server 1 does not have more than 6 APIs but Server 2 has lot of APIs. Kindly suggest. I feel some file has got deleted from the Server 1.

添付ファイル:

thumbnail
8年前 に Kowbathullah Gnaniyar によって更新されました。

RE: Liferay.Portlet is undefined

Liferay Master 投稿: 722 参加年月日: 07/12/19 最新の投稿
Hi Nithin

Good analysis Nithin.

As per the bug LPS-11423 reported in Liferay long time back , it was the issue due to javascript.fast.load=true. Also this issue has been raised by many community users due to the corrupted bundle .

But I am not sure it is because of that issue now. But you (we emoticon ) can compare the jars between two servers and can replace them from Server 2 to server 1.