Fórum

how to change "CDN Host HTTP" from db

emad darvishi, modificado 9 Anos atrás.

how to change "CDN Host HTTP" from db

Junior Member Postagens: 37 Data de Entrada: 11/09/12 Postagens Recentes
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, modificado 9 Anos atrás.

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

Expert Postagens: 362 Data de Entrada: 09/03/10 Postagens Recentes
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, modificado 9 Anos atrás.

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

Junior Member Postagens: 37 Data de Entrada: 11/09/12 Postagens Recentes
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, modificado 9 Anos atrás.

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

Junior Member Postagens: 37 Data de Entrada: 11/09/12 Postagens Recentes
I really should fix this problem. Portal not coming up properly.please help me . emoticon
thumbnail
Olaf Kock, modificado 9 Anos atrás.

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

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
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, modificado 8 Anos atrás.

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

Junior Member Postagens: 41 Data de Entrada: 06/02/12 Postagens Recentes
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