That looks like you don't have write access to the directory that
Rack::Cache is trying to write the file to. The default in Radiant
0.8.1 is tmp/cache inside your instance. Make sure that it exists, and
is writable by the user running JRuby.
Sean
小泉 剛 wrote:
> Hello!
>
> Ruby JRuby1.3.1
> Rails 2.3.4
> WebServer Webrick
>
>
> Radiant 0.8.1 Admin Page is OK
>
>
>
> site view error occurs.
>
> Error cause is cached. Where should be mended?
>
>
>
>
> Processing SiteController#show_page (for 127.0.0.1 at 2009-10-29
> 16:02:37) [GET]
> Parameters: {"controller"=>"site", "action"=>"show_page", "url"=>"/"}
> [4;36;1mUser Load (0.0ms)[0m [0;1mSELECT * FROM `users` WHERE
> (`users`.`id` = 1) ORDER BY name[0m
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_mtime
> Cache read: Radiant.cache_file
> Cache read: Radiant::Config
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_mtime
> Cache read: Radiant.cache_file
> Cache read: Radiant::Config
> [4;35;1mPage Load (0.0ms)[0m [0mSELECT * FROM `pages` WHERE
> (`pages`.`parent_id` IS NULL) LIMIT 1[0m
> [4;36;1mLayout Load (0.0ms)[0m [0;1mSELECT * FROM `layouts` WHERE
> (`layouts`.`id` = 1) ORDER BY name[0m
> [4;35;1mSnippet Load (15.0ms)[0m [0mSELECT * FROM `snippets`
> WHERE (`snippets`.`name` = 'header') ORDER BY name LIMIT 1[0m
> [4;36;1mPagePart Load (0.0ms)[0m [0;1mSELECT * FROM `page_parts`
> WHERE (`page_parts`.page_id = 1) ORDER BY id, name[0m
> [4;35;1mPagePart Load (0.0ms)[0m [0mSELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'body') AND (`page_parts`.page_id = 1)
> ORDER BY id LIMIT 1[0m
> [4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM `pages` WHERE
> (`pages`.`parent_id` IS NULL) LIMIT 1[0m
> [4;35;1mPage Load (0.0ms)[0m [0mSELECT * FROM `pages` WHERE
> (`pages`.`slug` = 'articles') AND (`pages`.parent_id = 1) ORDER BY
> virtual DESC, title ASC LIMIT 1[0m
> [4;36;1mPage Load (0.0ms)[0m [0;1mSELECT * FROM `pages` WHERE
> (`pages`.`id` = 1) [0m
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_mtime
> Cache read: Radiant.cache_file
> Cache read: Radiant::Config
> [4;35;1mPage Load (0.0ms)[0m [0mSELECT * FROM `pages` WHERE
> (`pages`.parent_id = 4 AND ((virtual = 0) and (status_id = 100))) ORDER
> BY published_at DESC, virtual DESC, title ASC LIMIT 5[0m
> [4;36;1mPage Load (0.0ms)[0m [0;1mSELECT * FROM `pages` WHERE
> (`pages`.`id` = 4) [0m
> [4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM `pages` WHERE
> (`pages`.`id` = 1) [0m
> [4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM `users` WHERE
> (`users`.`id` = 1) ORDER BY name[0m
> [4;35;1mPagePart Load (0.0ms)[0m [0mSELECT * FROM `page_parts`
> WHERE (`page_parts`.page_id = 5) ORDER BY id, name[0m
> [4;36;1mPagePart Load (0.0ms)[0m [0;1mSELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'body') AND (`page_parts`.page_id = 5)
> ORDER BY id LIMIT 1[0m
> [4;35;1mPagePart Load (0.0ms)[0m [0mSELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 5)
> ORDER BY id LIMIT 1[0m
> [4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM `page_parts` WHERE
> (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 5) ORDER
> BY id LIMIT 1[0m
> [4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM `pages` WHERE
> (`pages`.`id` = 4) [0m
> [4;36;1mCACHE (0.0ms)[0m [0;1mSELECT * FROM `pages` WHERE
> (`pages`.`id` = 1) [0m
> [4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM `users` WHERE
> (`users`.`id` = 1) ORDER BY name[0m
> [4;36;1mPagePart Load (0.0ms)[0m [0;1mSELECT * FROM `page_parts`
> WHERE (`page_parts`.page_id = 6) ORDER BY id, name[0m
> [4;35;1mPagePart Load (0.0ms)[0m [0mSELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'body') AND (`page_parts`.page_id = 6)
> ORDER BY id LIMIT 1[0m
> [4;36;1mPagePart Load (0.0ms)[0m [0;1mSELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 6)
> ORDER BY id LIMIT 1[0m
> [4;35;1mCACHE (0.0ms)[0m [0mSELECT * FROM `page_parts` WHERE
> (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 6) ORDER
> BY id LIMIT 1[0m
> [4;36;1mPagePart Load (0.0ms)[0m [0;1mSELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 1)
> ORDER BY id LIMIT 1[0m
> [4;35;1mSnippet Load (0.0ms)[0m [0mSELECT * FROM `snippets` WHERE
> (`snippets`.`name` = 'footer') ORDER BY name LIMIT 1[0m
> Completed in 265ms (DB: 15) | 200 [http://localhost/]
> /!\ FAILSAFE /!\ Thu Oct 29 16:02:37 +0900 2009
> Status: 500 Internal Server Error
> 指定されたパスが見つかりません。