component not displayed

Avatar

Avatar

sreedobe

Avatar

sreedobe

sreedobe

30-10-2020

dev-author-globalnav-1.pngdev-author-globalnav-1-1.pngdev-publish-globalnav-footer-missing.pngdev-publish-globalnav-footer-missing-1-1.pngHi,

 

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.

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Manjunath_K

Avatar

Manjunath_K

Manjunath_K

30-10-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

 

crxde.PNG

Answers (4)

Answers (4)

Avatar

Avatar

BrianKasingli

MVP

Avatar

BrianKasingli

MVP

BrianKasingli
MVP

06-11-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.

Avatar

Avatar

TUmesh

Avatar

TUmesh

TUmesh

05-11-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

Avatar

Avatar

sureshd71454102

Avatar

sureshd71454102

sureshd71454102

05-11-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)

Avatar

Avatar

sdouglasmc

Avatar

sdouglasmc

sdouglasmc

01-11-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).