Expand my Community achievements bar.

SOLVED

i18n and server side includes

Avatar

Level 4

Hi,

I am getting a strange error when including i18n inside my Sightly template and trying to retrieve a component included via SSI. 

The error appears only when in the Sightly template I use:

<div class="promo-footer text-center"><strong>${'Hello World' @i18n}</strong></div>

Unfortunately the logs do not seem to output any hints about the error. The only hint I get is in the returned html:

<div class="promo-footer text-center"><strong><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head><title>500 Internal Server Error</title></head> <body> <h1>Internal Server Error</h1> <p>Cannot serve request to /content/myapp/en/_jcr_content/parHeaderPromo/header_promo/mycomp.nocache.html/myapp/global/components/commons/mycomp on this server</p> <hr> <address>ApacheSling/2.3 (jetty/8.1.14.v20131031, Java HotSpot(TM) 64-Bit Server VM 1.8.0_05, Linux 2.6.32-504.8.1.el6.x86_64 amd64)</address> </body> </html>

Do you know any issues related to i18n and server side includes?

Thank you!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

HI,

What shows /system/console/requests for this request? There should be more details available.

kind regards,
Jörg

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

HI,

What shows /system/console/requests for this request? There should be more details available.

kind regards,
Jörg