留言板

how to change "CDN Host HTTP" from db

emad darvishi,修改在9 年前。

how to change "CDN Host HTTP" from db

Junior Member 帖子: 37 加入日期: 12-9-11 最近的帖子
i changed "CDN Host HTTP" from liferay control panel .but i cant return to the previous value. How do I change this property from the database ? css and js and images can not load .

i changed "CDN Host HTTP" to "ns1.entekhabgroup.ir"

and show below on tomcat :

/ns1.entekhabgroup.ir/AriaWare-theme/js/jquery1.11.1.min.js
.
.
.

i want to delete ns1.entekhabgroup.ir .

please help me . emoticon
thumbnail
Manali Lalaji,修改在9 年前。

RE: how to change "CDN Host HTTP" from db

Expert 帖子: 362 加入日期: 10-3-9 最近的帖子
emad darvishi:
i changed "CDN Host HTTP" from liferay control panel .but i cant return to the previous value. How do I change this property from the database ? css and js and images can not load .

i changed "CDN Host HTTP" to "ns1.entekhabgroup.ir"

and show below on tomcat :

/ns1.entekhabgroup.ir/AriaWare-theme/js/jquery1.11.1.min.js
.
.
.

i want to delete ns1.entekhabgroup.ir .

please help me . emoticon


Hi,

Seems you are facing issue: https://issues.liferay.com/browse/LPS-31331

HTH!
emad darvishi,修改在9 年前。

RE: how to change "CDN Host HTTP" from db

Junior Member 帖子: 37 加入日期: 12-9-11 最近的帖子
Hi .

Thank you .

What should I do? i using Liferay Portal Community Edition 6.1.0 CE (Paton / Build 6100 / January 6, 2012)
emad darvishi,修改在9 年前。

RE: how to change "CDN Host HTTP" from db

Junior Member 帖子: 37 加入日期: 12-9-11 最近的帖子
I really should fix this problem. Portal not coming up properly.please help me . emoticon
thumbnail
Olaf Kock,修改在9 年前。

RE: how to change "CDN Host HTTP" from db

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
6.1.0 is quite old, so the thorough answer is: Update. Even the latest release of 6.1 CE doesn't get updates any more, so you should be on 6.2, where this is fixed. Alternatively (as a quickfix), locate the commit where this was fixed on github (hint: search for the ticket number LPS-31331 in the commit messages) and backport the fix for your installation. Then prepare for an update.

You probably don't want to hear the third option, to upgrade to 6.1 EE - that's still supported and the issue is fixed there.
Johan de jong,修改在8 年前。

RE: how to change "CDN Host HTTP" from db

Junior Member 帖子: 41 加入日期: 12-2-6 最近的帖子
It can be solved!

  • shutdown liferay
  • remote all "generated" code ( glassfish-3.1.1\domains\domain1\generated)
  • remove all temp file (/var/tmp/liferay)
  • open docroot/html/portlet/portal_settings/edit_company.jsp
  • change lines accoording to this: https://github.com/liferay/liferay-portal/commit/0b8bf9586e3c9a5f337c354bb2d6560066ec5da5
  • startup liferay
  • login (it is not very easy, but can be done)
  • goto http://localhost/group/control_panel/manage
  • remove any entry in CDN hosts (it will be saved now)
  • refresh the page with CTRL-F5