Hello,
First of all I wanted to say that I really appreciate everyone's
patience with answering my questions. Development of my first site
with Radiant is almost complete. I just have a couple more questions
(if you bear with me :) )
1. Routing: Currently articles are routed to year/month/day/permalink.
I wanted to ask where is this defined?
2. Comments extension:
a. Comments are displayed on individual pages but I wanted to
check if there is a way to display recent comments in general (not
just the comments that belong to that page)?
b. When trying to add a new comment in production environment, I
get this error:
[code]
Timeout::Error in CommentsController#create
execution expired
....
Rendering /Library/Ruby/Gems/1.8/gems/radiant-0.7.1/vendor/rails/
actionpack/lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
[/code]
When I try to add a comment in development environment, the error is
different:
[code]
NoMethodError in CommentsController#index
You have a nil object when you didn't expect it!
The error occurred while evaluating nil.relative_url_root
/Library/Ruby/Gems/1.8/gems/radiant-0.7.1/app/models/standard_tags.rb:
980:in `relative_url_for'
....
Rendering /Library/Ruby/Gems/1.8/gems/radiant-0.7.1/vendor/rails/
actionpack/lib/action_controller/templates/rescues/layout.erb
(internal_server_error)
Radiant::Config Load (0.000305) SELECT * FROM `config` WHERE
(`config`.`key` = 'comments.filters_enabled') LIMIT 1
....
Radiant::Config Load (0.000162) SELECT * FROM `config` WHERE
(`config`.`key` = 'tags.complex_strings') LIMIT 1
** has_many_polymorphs: associating MetaTag.taggables
Page Columns (0.001727) SHOW FIELDS FROM `pages`
Tagging Columns (0.001652) SHOW FIELDS FROM `taggings`
SQL (0.000425) SHOW TABLES
SQL (0.000289) SELECT DISTINCT class_name FROM pages WHERE
class_name <> '' AND class_name IS NOT NULL
[/code]
Would anyone know what is the problem? and how I should fix it?
Thanks,
Elle
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant