Foros de discusión

No theme found for specified theme id??

thumbnail
lutz Bremen, modificado hace 11 años.

No theme found for specified theme id??

Expert Mensajes: 291 Fecha de incorporación: 20/10/11 Mensajes recientes
Hey guys i get this error for my theme. how to fix this?

08:34:09,509 WARN  [http-bio-80-exec-89][ThemeLocalServiceImpl:149] No theme found for specified theme id PublicPrivate_WAR_PublicPrivatetheme. Returning the default theme.


and i get it several times.

im using 6.1.1 and tomcat 7.0.27

thanks
thumbnail
Apoorva Prakash, modificado hace 11 años.

RE: No theme found for specified theme id??

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Hello Bremen,

You have applied this theme on any page, but now its not available in the context.

So, just change the theme of that page.

Hope this will help...

Thanks and Regards,
Apoorva Prakash
thumbnail
lutz Bremen, modificado hace 11 años.

RE: No theme found for specified theme id??

Expert Mensajes: 291 Fecha de incorporación: 20/10/11 Mensajes recientes
hmm,

i call the page named /nutzungsbedingungen and it gives me that error. but the required theme is there. i can see it corectly.
thumbnail
Apoorva Prakash, modificado hace 11 años.

RE: No theme found for specified theme id??

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Actually server is not finding a registered theme PublicPrivate_WAR_PublicPrivatetheme in context... check about that...
thumbnail
lutz Bremen, modificado hace 11 años.

RE: No theme found for specified theme id??

Expert Mensajes: 291 Fecha de incorporación: 20/10/11 Mensajes recientes
...... ok i checked about it in the db. my theme is named Public_Private but in db are two entries with PublicPrivate. now i try to fix this
thumbnail
Yan Chen, modificado hace 11 años.

RE: No theme found for specified theme id??

New Member Mensajes: 7 Fecha de incorporación: 11/09/12 Mensajes recientes
I too have the same issue. I have applied custom theme to selected pages. The rest of the pages are using the default liferay theme. The pages using the theme do have the custom theme applied. But there is this warning from the console. Any suggestions? This is my first post and I am very new to liferay.
thumbnail
Apoorva Prakash, modificado hace 11 años.

RE: No theme found for specified theme id??

Liferay Master Mensajes: 658 Fecha de incorporación: 15/06/10 Mensajes recientes
Yan Chen:
I too have the same issue. I have applied custom theme to selected pages. The rest of the pages are using the default liferay theme. The pages using the theme do have the custom theme applied. But there is this warning from the console. Any suggestions? This is my first post and I am very new to liferay.



Just look carefully about the IDs of themes...
thumbnail
Yan Chen, modificado hace 11 años.

RE: No theme found for specified theme id??

New Member Mensajes: 7 Fecha de incorporación: 11/09/12 Mensajes recientes
Got the issue resolved. Apply main theme in public_page first so every page has the same theme. Then apply special theme to special pages.
thumbnail
Adel Frad, modificado hace 11 años.

RE: No theme found for specified theme id??

New Member Mensajes: 24 Fecha de incorporación: 4/08/12 Mensajes recientes
lutz Bremen:


im using 6.1.1 and tomcat 7.0.27

thanks

Hey Lutz,
it is the antiResurceLocking in Tomcat 7. Check this out
https://www.themeray.com/blog/-/blogs/no-theme-found-for-specified-theme-id-…-returning-the-default-theme
thumbnail
Muhammad Ghufron, modificado hace 9 años.

RE: No theme found for specified theme id??

New Member Mensajes: 18 Fecha de incorporación: 8/08/14 Mensajes recientes
I have the same problem when upgrading liferay 6.0 CE to liferay 6.1 with existing database production,

06:16:06,545 WARN  [ThemeLocalServiceImpl:149] No theme found for specified theme id <template_name>. Returning the default theme
</template_name>


and the tomcat status is always 'starting' .... (not started)

and I get solution for my case,

Looking at the Group_ table on your db, run this sql syntax :

select friendlyUrl from Group_ where type_ = 1


if the result is not '/guest', you must change to guest


update Group_ set friendlyUrl = '/guest' where type_ = 1;
commit;


it's working in my case
Regards,