Re: [Radiant] error after install

2008-12-13 Thread Michael Kessler

Good idea Mohit

I added this page to the wiki: 
http://wiki.radiantcms.org/undefined_method_for_enumerable

It would be nice if a native English speaking person will have a look  
at it, just to keep the quality high ;-)


Michael


On 13 Dec 2008, at 2:03 AM, Mohit Sindhwani wrote:


Robert Calco wrote:
Adding this to environment.rb before the Radiant::Initializer.run  
do line

makes it work on 1.8.7:

unless '1.9'.respond_to?(:force_encoding)
String.class_eval do
  begin
remove_method :chars
  rescue NameError
# OK
  end
end
end

I don't remember who gave me that from this list but whoever it  
was, thank

you again!

- Bob



Hi!  A request but could someone please add this to the Reboot wiki  
as a frequently asked question.  With 1.8.7 becoming more common,  
this will be asked more frequently.


The wiki is at:  http://wiki.radiantcms.org/Summer_Reboot
A sample FAQ that you could use as a base is: 
http://wiki.radiantcms.org/Intermittent_Errors_with_SQLite_on_Windows

Thanks
Mohit.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] error after install

2008-12-13 Thread Mohit Sindhwani

Michael Kessler wrote:

Good idea Mohit

I added this page to the wiki: 
http://wiki.radiantcms.org/undefined_method_for_enumerable


It would be nice if a native English speaking person will have a look 
at it, just to keep the quality high ;-)


Michael


I will attend to this, hopefully very very soon!

Cheers,
Mohit.
12/14/2008 | 12:25 AM.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Problems with fastcgi

2008-12-13 Thread Daniel Valencia Backhoff
Hi,
  I've installed Radiant on Site 5, and everything worked just fine. I
needed to create a public service so I can access some info from my DB on
the pages created with radiant, so I created a controller, for an extension
I created,  (ProfesionsController) that rendered the info I needed.
Everything worked great in my local environment (running mongrel) and I
could happily access my service with '/profesions' without any problems. Now
when I added this service on my production environment I came with a
problem: I got HTTP 500 responses that said Application Error, Rails
Application Failed to start properly. So I went to site 5 help desk. They
said that I had some permissions issues, and that I didn't have my app
configured to use fastcgi. So, I fixed the permission issues, and I
configured my .htaccess file to use fastcgi by adding the proper
RewriteRule. Then, I restarted the fastcgi by killing the dispatch.fcgi
process. Now my '/profesions' request works fine!, except that every other
request is sent to /admin/pages!!!. So now I'm unable to hit the home page
(or any page) that i created with Radiant!. So its like every url I try to
hit gets redirected to the Radiant Admin page. I checked the rails logs, and
this is what i get :

Processing SiteController#show_page (for 200.77.43.176 at 2008-12-13
16:14:23) [GET]
  Parameters: {action=show_page, url=[add-member-form],
controller=site}
Redirected to http://animebar.com.mx/admin/login
Filter chain halted as
[#ActionController::Filters::ClassMethods::SymbolFilter:0xb7de6388
@filter=:authenticate] rendered_or_redirected.
Completed in 0.00045 (2238 reqs/sec) | DB: 0.0 (0%) | 302 Found [
http://animebar.com.mx/add-member-form]

Has anyone had a problem similar to this one ?

Thank you very much in advance,

-- 
Daniel Valencia
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Use helper or library in Radius Tags

2008-12-13 Thread Vincent Pérès
Hello,

I need to use some methods in Radius Tags and one of my Controllers.
I created a method after my tags definitions and access it from my tags,
it's working.
I saw the tags are send to the Page model. So I can't access to them
from my controller.
How could I create a common library which is accessible from anywhere
(including Radius Tags) ?

Thanks,
Vincent
-- 
Posted via http://www.ruby-forum.com/.
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant