« Return to Thread: Images from roller themes 404 not found

Re: Images from roller themes 404 not found

by Dave-401 :: Rate this Message:

Reply to Author | View in Thread

Comments below...


On 5/26/07, Ryan de Laplante <ryan@...> wrote:
> I have just installed JRoller 3.1 on Tomcat 6.0.13, Sun JRE
> 1.6.0_01-b06, Windows XP, MySQL 5.0.   I am able to log into roller,
> create an account, a blog, post some entries, browse my blog, etc... The
> problem I'm having is that no matter which theme I choose for my blog,
> none of the images are displayed.  When I view the source of my blog, I
> see image URLs such as:
>
> http://localhost:8080/roller/rdelaplante/resource/images/metalLine.gif

Looks like you choose a theme, then customized it and the (possibly)
Roller failed to copy the theme resources from the themes directory
and into your blog's resource area.

I can't duplicate this problem. Customizing a theme works fine for me,
files are copied to the right place and the resource servlet picks
them up just fine.

Does anything strange appear in the logs when you choose to customize a theme?


> When I try to directly access the above URL, I get roller's custom 404
> not found screen.  I noticed that when I use the File Uploads screen,
> the links to the files also begin with .../rdelaplante/resource/.   When
> I click on a file that I previously uploaded, it takes me to the
> following URL and the file is displayed:
> http://localhost:8080/roller/rdelaplante/resource/README.txt
>
> I cannot figure out why /resource/images/* fails. Can anyone please help me?

Perhaps you have your uploads directory misconfigured?

Here is the default setting for the uploads dir:
uploads.dir=${user.home}/roller_data/uploads

How is your uploads directory set up?

- Dave

 « Return to Thread: Images from roller themes 404 not found