Foros de discusión

how to change "CDN Host HTTP" from db

emad darvishi, modificado hace 9 años.

how to change "CDN Host HTTP" from db

Junior Member Mensajes: 37 Fecha de incorporación: 11/09/12 Mensajes recientes
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 hace 9 años.

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

Expert Mensajes: 362 Fecha de incorporación: 9/03/10 Mensajes recientes
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 hace 9 años.

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

Junior Member Mensajes: 37 Fecha de incorporación: 11/09/12 Mensajes recientes
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 hace 9 años.

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

Junior Member Mensajes: 37 Fecha de incorporación: 11/09/12 Mensajes recientes
I really should fix this problem. Portal not coming up properly.please help me . emoticon
thumbnail
Olaf Kock, modificado hace 9 años.

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

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
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 hace 8 años.

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

Junior Member Mensajes: 41 Fecha de incorporación: 6/02/12 Mensajes recientes
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