roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Fisher <dfis...@jmlafferty.com>
Subject Re: theme
Date Sat, 22 Mar 2008 18:44:37 GMT
If you made a simple error editing the theme.xml file, or use an id  
that another theme is using, then it may not work.

Did you check your roller log file to see if you see any error messages?

Look for this:

  INFO  2008-03-21 00:14:48,933 WebloggerImpl:initialize -  
Initializing Roller Weblogger business tier
  INFO  2008-03-21 00:14:58,772 ThemeManagerImpl:initialize - Loaded  
32 themes from disk.
  INFO  2008-03-21 00:14:58,776 ThreadManagerImpl:initialize -  
Initializing task: ScheduledEntriesTask
  INFO  2008-03-21 00:14:58,924 ThreadManagerImpl:initialize -  
Initializing task: ResetHitCountsTask
  INFO  2008-03-21 00:14:59,047 ThreadManagerImpl:initialize -  
Initializing task: TurnoverReferersTask
  INFO  2008-03-21 00:14:59,104 ThreadManagerImpl:initialize -  
Initializing task: PingQueueTask
  INFO  2008-03-21 00:14:59,824 WebloggerImpl:initialize - Roller  
Weblogger business tier successfully initialized

See if the theme count is what you expect. Here it is 32 which  
matches my installation which includes 3 custom themes of my own.

If I induce an error in one of my theme's theme.xml the I get:

  INFO  2008-03-22 13:40:06,708 WebloggerImpl:initialize -  
Initializing Roller Weblogger business tier
  ERROR 2008-03-22 13:40:11,511  
ThemeManagerImpl:loadAllThemesFromDisk - Problem reading theme  
forecastworks
   
org.apache.roller.weblogger.business.themes.ThemeInitializationException 
: Unable to parse theme descriptor for theme /export/home/apachecat/ 
tomcat/\
webapps-unity/market//themes/forecastworks
         at  
org.apache.roller.weblogger.business.themes.SharedThemeFromDir.loadTheme 
FromDisk(SharedThemeFromDir.java:200)
...
         at org.apache.catalina.startup.Bootstrap.start 
(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 
433)
--- ROOT CAUSE ---
org.jdom.input.JDOMParseException: Error on line 59: The element type  
"id" must be terminated by the matching end-tag "</id>".
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770)
...
         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)
         ... 32 more
Caused by:
org.xml.sax.SAXParseException: The element type "id" must be  
terminated by the matching end-tag "</id>".
         at  
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXPar 
seException(ErrorHandlerWrapper.java:236)
         at  
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError 
(ErrorHandlerWrapper.java:215)
...
         at org.apache.catalina.startup.Bootstrap.start 
(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java: 
433)
INFO  2008-03-22 13:40:11,669 ThemeManagerImpl:initialize - Loaded 31  
themes from disk.
  INFO  2008-03-22 13:40:11,673 ThreadManagerImpl:initialize -  
Initializing task: ScheduledEntriesTask
  INFO  2008-03-22 13:40:11,792 ThreadManagerImpl:initialize -  
Initializing task: ResetHitCountsTask
  INFO  2008-03-22 13:40:11,837 ThreadManagerImpl:initialize -  
Initializing task: TurnoverReferersTask
  INFO  2008-03-22 13:40:11,961 ThreadManagerImpl:initialize -  
Initializing task: PingQueueTask
  INFO  2008-03-22 13:40:12,465 WebloggerImpl:initialize - Roller  
Weblogger business tier successfully initialized

I hope that helps.

Regards,
Dave


On Mar 22, 2008, at 12:40 PM, raúl fuenzalida wrote:

> that is. the theme doesn't appear into the 'Design' tag of the  
> roller interface
>
> yea. i changed everything into the file theme.xml and the only thing i
> didn't include, was the preview-image because i didn't do one
>
> On 3/21/08, Christopher M. Logan <chrismikall@gmail.com> wrote:
>> Hi,
>> Is the theme not showing up? I made a mistake before when i copied a
>> theme directory but i forgot to change the theme id.
>> -Christopher
>>
>> raúl fuenzalida wrote:
>>> hello
>>>
>>> i want to add a theme to roller interface (roller 4). i read a guide
>>> at rollerweblogger.org and i did everything what appears there.
>>>
>>> i tried restarting roller, re deploying it, restarting tomcat. i
>>> reviewed everything and the only thing what i found i did not, is  
>>> the
>>> preview-image tag element in the file theme.xml . i excluded it. i
>>> really think that it's not the cause. i can't imagine, neither find,
>>> what i did not or what i did wrong. can someone give me clue? please
>>>
>>> thanks in advance
>>> raúl f.
>>>
>>
>>
> --


Mime
View raw message