[SOLVED] CSS issue after upgrade from 7.3.6-ga7 to 7.4.3.53-ga53[SOLVED] CSS issue after upgrade from 7.3.6-ga7 to 7.4.3.53-ga53https://liferay.dev/c/message_boards/find_thread?p_l_id=119785333&threadId=1215997212024-03-29T06:14:19Z2024-03-29T06:14:19ZRE: RE: [SOLVED] CSS issue after upgrade from 7.3.6-ga7 to 7.4.3.53-ga53Bayu Widyasanyatahttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1216041092022-12-14T16:36:37Z2022-12-14T05:04:25Z<p>Hi Russell,</p>
<p>About the CSS properties, I guess as appears on error messages
"...because its content type is not CSS or JavaScript"
shown, so that caused the css issues. I have cleared the browser cache
but the problem is still there. By
adding <strong>include-and-override=portal-developer.properties</strong>
on top of portal-ext.properties the problem is solved.</p>
<p>Since I'm new on Liferay and my current focus is only on simple/basic
administration, I still have a big unanswered question about
<strong>portal-developer.properties</strong> despite reading several resources/links.</p>
<p>Some of my reading resources:</p>
<ul>
<li>https://liferay.dev/blogs/-/blogs/liferay-developer-mode-optimizing-liferay-for-development</li>
<li>https://learn.liferay.com/dxp/latest/en/liferay-internals/reference/portal-developer-properties.html</li>
<li>https://liferay.dev/ask/questions/development/liferay-developer-properties-1</li></ul>
<p>I still don't know where the actual location or correct path of the
<strong>portal-developer.properties </strong>is. I found it
on /liferay-ce-portal-7.4.3.53-ga53/tomcat-9.0.68/webapps/ROOT/WEB-INF/classes/portal-developer.properties.
Is that correct file accessed by Liferay? Should be in the same
location as the portal-ext.properties file (application root)?</p>
<p>Secondly, there is a new problem regarding the image on the edit page
which does not appear after the page is published. Maybe this is still
related to the liferay cache, but I don't have much knowledge about it.</p>
<p> </p>Bayu Widyasanyata2022-12-14T05:04:25ZRE: [SOLVED] CSS issue after upgrade from 7.3.6-ga7 to 7.4.3.53-ga53Russell Bohlhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1216042702022-12-13T22:00:28Z2022-12-13T22:00:27Z<p>Well I guess it's the CSS properties or something with caching. See
the <a
href="https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal-developer.properties">portal-developer.properties</a> for
the exact properties you added.</p>
<p>Maybe it's just a browser cache issue? Clear the cache and see if
that helps.</p>Russell Bohl2022-12-13T22:00:27ZRE: CSS issue after upgrade from 7.3.6-ga7 to 7.4.3.53-ga53Bayu Widyasanyatahttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1216001042022-12-09T17:26:57Z2022-12-09T11:46:30Z<p>It's solved after I
add include-and-override=portal-developer.properties on top of portal-ext.properties.</p>
<p>The open and close button is display correctly now. But I still don't
know where the real problem is ;-)</p>
<p>
<img alt="" src="/documents/d/guest/open-1-jpg?imagePreview=1" />
<br />
<img alt="" src="/documents/d/guest/close-1-jpg?imagePreview=1" />
<br /> Thank you,</p>Bayu Widyasanyata2022-12-09T11:46:30Z[SOLVED] CSS issue after upgrade from 7.3.6-ga7 to 7.4.3.53-ga53Bayu Widyasanyatahttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1215997202022-12-09T17:27:09Z2022-12-08T22:40:51Z<p>Hi,</p>
<p>I encountered CSS issue after upgrade from 7.3.6 to latest 7.4.3.53.
I found following error on my catalina.out log.</p>
<pre>
<code>2022-12-09 05:18:09.053 ERROR [http-nio-9090-exec-6][ComboServlet:374] Skip com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_oayr:/liferay/o/asset-publisher-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:18:09.054 ERROR [http-nio-9090-exec-6][ComboServlet:374] Skip com_liferay_portal_search_web_search_bar_portlet_SearchBarPortlet_INSTANCE_templateSearch:/liferay/o/portal-search-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:18:09.055 ERROR [http-nio-9090-exec-6][ComboServlet:374] Skip com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet:/liferay/o/product-navigation-product-menu-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:18:09.055 ERROR [http-nio-9090-exec-6][ComboServlet:374] Skip com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet:/liferay/o/com.liferay.product.navigation.user.personal.bar.web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:18:09.056 ERROR [http-nio-9090-exec-6][ComboServlet:374] Skip com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet:/liferay/o/site-navigation-menu-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:04.837 ERROR [http-nio-9090-exec-9][ComboServlet:374] Skip com_liferay_contacts_web_portlet_ProfilePortlet_INSTANCE_PdUfk2gR0dC0:/liferay/o/contacts-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:04.838 ERROR [http-nio-9090-exec-9][ComboServlet:374] Skip com_liferay_portal_search_web_search_bar_portlet_SearchBarPortlet_INSTANCE_templateSearch:/liferay/o/portal-search-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:04.839 ERROR [http-nio-9090-exec-9][ComboServlet:374] Skip com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet:/liferay/o/com.liferay.product.navigation.user.personal.bar.web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:04.839 ERROR [http-nio-9090-exec-9][ComboServlet:374] Skip com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet:/liferay/o/site-navigation-menu-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:15.715 ERROR [http-nio-9090-exec-1][ComboServlet:374] Skip com_liferay_my_account_web_portlet_MyAccountPortlet:/liferay/o/users-admin-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:15.716 ERROR [http-nio-9090-exec-1][ComboServlet:374] Skip com_liferay_portal_search_web_search_bar_portlet_SearchBarPortlet_INSTANCE_templateSearch:/liferay/o/portal-search-web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:15.717 ERROR [http-nio-9090-exec-1][ComboServlet:374] Skip com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet:/liferay/o/com.liferay.product.navigation.user.personal.bar.web/css/main.css because its content type is not CSS or JavaScript
2022-12-09 05:25:15.717 ERROR [http-nio-9090-exec-1][ComboServlet:374] Skip com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet:/liferay/o/site-navigation-menu-web/css/main.css because its content type is not CSS or JavaScript</code></pre>
<p>On the header menu looks incorrect Home hot button display:</p>
<p>
<img alt="" src="/documents/d/guest/homemenu-jpg?imagePreview=1" />
<br /> </p>
<p>Where can start to solve this?</p>
<p>Thank you,</p>
<p>[bayu]</p>
<p