Foren

Custom theme problem load compass Liferay 6.2

Manuel Mancipe, geändert vor 10 Jahren.

Custom theme problem load compass Liferay 6.2

New Member Beiträge: 24 Beitrittsdatum: 02.08.10 Neueste Beiträge
regards!!

Im working with liferay 6.2.10 EE GA1 Bundle in Jboss, and i have the problem when load the home page with the specific theme;

I Obtain this Error in the chrome console

GET http://XX.XX.XX.XX:XXXX/THEME-SI-FIN-theme/css/compass 404 (Not Found)

and not work predefined styles for dockbar.

I found this post:

http://www.liferay.com/it/web/kzhang/blog/-/blogs/resolve-the-sass-syntaxerror-invalid-css-error-in-liferay-6-1

but my server have the lasted version of the ruby-gems.jar.

please, any idea ??

thank you !!
thumbnail
Byran Zaugg, geändert vor 10 Jahren.

RE: Custom theme problem load compass Liferay 6.2

Expert Beiträge: 252 Beitrittsdatum: 06.04.12 Neueste Beiträge
I would check to see if you're getting any errors while building your theme.

They are hard to catch. See: https://issues.liferay.com/browse/LPS-43671
Manuel Mancipe, geändert vor 10 Jahren.

RE: Custom theme problem load compass Liferay 6.2

New Member Beiträge: 24 Beitrittsdatum: 02.08.10 Neueste Beiträge
hi Byran, thank you.

I edit the file custom.css (THEME-SI-FIN-theme/docroot/_diffs/css/custom.css),
with the content:

.aui {
#breadcrumbs, #heading .page-title, #navigation .child-menu, #navigation h1, #skip-to-content {
clip: rect(0 0 0 0);
height: 0;
margin: 0;
padding: 0;
position: absolute;
}

but I can not see any change in the console or the log.

I can do, please ??
thumbnail
Anil T, geändert vor 9 Jahren.

RE: Custom theme problem load compass Liferay 6.2

Expert Beiträge: 313 Beitrittsdatum: 14.01.12 Neueste Beiträge
Hi,

Have you got solution ? I am also facing the same issue with jboss server.

Thanks,
Anil T
Manuel Mancipe, geändert vor 9 Jahren.

RE: Custom theme problem load compass Liferay 6.2

New Member Beiträge: 24 Beitrittsdatum: 02.08.10 Neueste Beiträge
hi

the problem was that syntax erroes in the css files, and not compile the theme succesfull

regards
Nikos Samaras, geändert vor 8 Jahren.

RE: Custom theme problem load compass Liferay 6.2

Junior Member Beiträge: 29 Beitrittsdatum: 14.01.16 Neueste Beiträge
hello,

I have the same issue on weblogic. 12c cluster with liferay 6.2 EE.

please can you tell me what steps did you do in order to fix that error?

Thank you in advance
Nikos
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Custom theme problem load compass Liferay 6.2

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Hi,

Facing any errors in log like?
ERROR [http--0.0.0.0-8680-1][DynamicCSSFilter:182] Unable to parse SASS on CSS /html/css/main.css


Then you can try with this Unable to parse SASS on CSS /html/css/main.css in liferay JBoss (Please visit the end of the page to get the answer)

Regards,
Anuvab
Nikos Samaras, geändert vor 8 Jahren.

RE: Custom theme problem load compass Liferay 6.2

Junior Member Beiträge: 29 Beitrittsdatum: 14.01.16 Neueste Beiträge
hello,

I would like to thank you for your answer Anuvab Ghosh. I followed your instructions. Now the logs are ok but I get this error on firebug.

"NetworkError: 404 Not Found - http://ct-dev-liferay.trasys.gr:7001/cdp-flexpaper-portlet/css/compass"
compass
"NetworkError: 404 Not Found - http://ct-dev-liferay.trasys.gr:7001/cdp-flexpaper-portlet/css/compass/css3/user-interface"

Do you have any idea?

Thank you
Nikos
thumbnail
Anuvab Ghosh, geändert vor 8 Jahren.

RE: Custom theme problem load compass Liferay 6.2

Regular Member Beiträge: 130 Beitrittsdatum: 18.04.15 Neueste Beiträge
Hi,

Thanks Nikos.

Nikos Samaras:
...
"NetworkError: 404 Not Found - http://ct-dev-liferay.trasys.gr:7001/cdp-flexpaper-portlet/css/compass"
compass
"NetworkError: 404 Not Found - http://ct-dev-liferay.trasys.gr:7001/cdp-flexpaper-portlet/css/compass/css3/user-interface"
...


I think you have a custom.css in the custom theme which decorates your html you can try with this
@import "compass";
@import "mixins";

on the top of the custom.css.
Please send reply.

Regards,
Anuvab