component not displayed | Community
Skip to main content
sreedobe
Level 4
October 30, 2020
Solved

component not displayed

  • October 30, 2020
  • 5 replies
  • 3105 views

Hi,

 

I have a header, footer components below /apps/<my-site>/components/structure

In my local author, publish both header, footer displayed and I can see html generated in page source.

 

When I pushed code to upper environments

 

in DEV env: author displays header, footer, publish does not display (I do not see html for header, footer components generated)

 

in Stage env: author, publish both does not display header, footer

 

Yes code is deployed properly  for header, footer, templates in all environments.

 

I do not have access to osgi console , logs in upper environments, any ideas why this happening only for header, footer ... other components on page rendered fine.

 

Thanks.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manjunath_K

Hi @sreedobe,

Can you please add screenshot of header component html & html structure from browser page source where header is missing. also if you access to crxde in higher environment try reloading the page & check if there are any error printed on crxde console tab where logs will be generated

 

5 replies

Manjunath_K
Manjunath_KAccepted solution
Level 7
October 30, 2020

Hi @sreedobe,

Can you please add screenshot of header component html & html structure from browser page source where header is missing. also if you access to crxde in higher environment try reloading the page & check if there are any error printed on crxde console tab where logs will be generated

 

sreedobe
sreedobeAuthor
Level 4
October 30, 2020

hi @manjunath_k  I have uploaded with screenshots where I shown DOM for header-nav-insights as well as block/grey footer in author working and publish server same page does not work.

Level 4
November 1, 2020

These are custom components correct?  Are all the pages you have configured in the Publish instance?

I've seen cases where people create their own headers/footers and don't bother checking existence of the pages (bypassing linkchecker).

SureshDhulipudi
Community Advisor
Community Advisor
November 5, 2020

Did you try compare with other working Custom components (on both author and publish instances in higher environments )

you can request for logs from admin (who has access to the logs in higher environment)

Umesh_Thakur
Community Advisor
Community Advisor
November 5, 2020

It seems like you are using SPA, and the clientlibs, responsible to generate header and footer, is not available on the instance, where you are facing issue.

So it will be better to first try to troubleshoot the issue with the IP:port URL, if it works fine with that then do the required changes to make the clientlibs available on the dispatcher URL.

Hope this will help.

Umesh Thakur

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
November 6, 2020

@sreedobe it might because your user from the upper environment does not have permissions. Anything from the ./crx-quickstart/logs/error.log log file, please share these screenshots with us.

sreedobe
sreedobeAuthor
Level 4
November 14, 2020
Thanks, yes in upper environment permissions issue.