[Radiant] XSS in Comments Moderation Page
XSS ist possible in the admin part of the comments extensions. Reproduce: 1. Post a Comment with say "alert("oh my xss")" 2. Login as admin, goto comments tab 3. you see... In the frontend, the output is handled correctly. This gives an attacker the possibility to take over an admin account. /simon signature.asc Description: PGP signature ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] XSS in Comments Moderation Page
Amendment: It's only handled correctly in the frontend if comments.filters_enabled is false. On Mon, 12 Jan 2009 11:37:42 +0100 Simon Josi wrote: > XSS ist possible in the admin part of the comments extensions. > > Reproduce: > 1. Post a Comment with say "alert("oh my xss")" > 2. Login as admin, goto comments tab > 3. you see... > > In the frontend, the output is handled correctly. > This gives an attacker the possibility to take over an admin account. > > > /simon signature.asc Description: PGP signature ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Looking for something similar to summarize extension for truncating content
You could create a custom Radius tag to wrap around the Rails truncate[1] method. Something like this might do the trick: desc %{ Truncates contents if the number of characters is longer than @length@(defaults to 30). The last characters will be replaced with the @omission@(defaults to "..."). } tag 'truncate' do |tag| length = tag.attr['length'] || 30 omission = tag.attr['omission'] || "..." content = tag.expand truncate(content, :ommision => omission, :length => length) end I haven't tested this, so can't guarantee that it would work! You could call this as follows: I hope that helps. Drew [1]: http://apidock.com/rails/ActionView/Helpers/TextHelper/truncate On Sun, Jan 11, 2009 at 12:04 PM, Roman Marszalek wrote: > And wondering how it can be most easily acheived. > > I'd like to be able to say something like this (obviously not available) > > > > And then it displays the fist 30 characters of the page part. > > Anyone know if there's an easy way to achieve this effect. > > > Thanks, > > Roman > > -- > Roman Marszalek > Managing Director > mobile: +44 7786 262 002 > email: supp...@drlogic.co.uk > > telephone: 0800 345 7844 (+44 20 7014 3634) > Our lines are open from 9am to 6pm Monday to Friday > > Doctor Logic Limited > Mac Support for London > http://drlogic.co.uk > > * Dr Logic Backup * > Backup for Britain > http://drlogicbackup.co.uk > > * Dr Logic Training * > In partnership with Academy Class > http://training.drlogic.co.uk > > > Registered in England and Wales. Company No. 04947299. > Registered Office: 2nd Floor 145-157 St John Street, London EC1V 4PY > VAT Reg. No. GB848448189 > > ___ > 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] Looking for something similar to summarize extension for truncating content
Andrew Neil wrote: You could create a custom Radius tag to wrap around the Rails truncate[1] method. Something like this might do the trick: Actually, this method should be written up in the Radiant 2009 Documentation project as a good simple example of bringing in Rails methods into Radiant installs - it would help those "entry level" Rails programmers who wonder how to bridge the worlds of Rails and Radiant. Cheers, Mohit. 1/12/2009 | 9:28 PM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: Looking for something similar to summarize extension for
Mohit Sindhwani wrote: > Actually, this method should be written up in the Radiant 2009 > Documentation project as a good simple example of bringing in Rails > methods into Radiant installs - it would help those "entry level" Rails > programmers who wonder how to bridge the worlds of Rails and Radiant. > > Cheers, > Mohit. > 1/12/2009 | 9:28 PM. I wholeheartedly agree. The method seems simple enough, but I'm not sure how to implement it myself. -- 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
[Radiant] Radiant and IBM DB2
Hi, I'm new to the list and relatively new to Radiant. I'm evaluating Radiant for a mid-sized customer project. The customer has a legacy DB2 database. Replacing it is not an option for the customer. So my question is: can I use Radiant with DB2? Does anyone have any experience doing this? Thanks! - Johannes -- http://blog.springenwerk.com ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant and IBM DB2
Johannes, I have no experience with DB2, but Radiant is a Rails application and Rails has DB2 support for ActiveRecord provided directly by IBM: http://wiki.rubyonrails.org/rails/pages/IBM+DB2 http://db2onrails.com/ Michael On 12 Jan 2009, at 6:08 PM, Johannes Fahrenkrug wrote: Hi, I'm new to the list and relatively new to Radiant. I'm evaluating Radiant for a mid-sized customer project. The customer has a legacy DB2 database. Replacing it is not an option for the customer. So my question is: can I use Radiant with DB2? Does anyone have any experience doing this? Thanks! - Johannes -- http://blog.springenwerk.com ___ 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] Radiant and IBM DB2
As MySQL is free, is it an option to add that type of database, and migrate the data from DB2? I assume that since you are evaluating Radiant, your current DB2 tables won't be used, unless you build custom extensions. You could probably run MySQL on the same server as DB2 is running now (AIX?) -Original Message- From: radiant-boun...@radiantcms.org [mailto:radiant-boun...@radiantcms.org] On Behalf Of Michael Kessler Sent: Monday, January 12, 2009 9:28 AM To: radiant@radiantcms.org Subject: Re: [Radiant] Radiant and IBM DB2 Johannes, I have no experience with DB2, but Radiant is a Rails application and Rails has DB2 support for ActiveRecord provided directly by IBM: http://wiki.rubyonrails.org/rails/pages/IBM+DB2 http://db2onrails.com/ Michael On 12 Jan 2009, at 6:08 PM, Johannes Fahrenkrug wrote: > Hi, > > I'm new to the list and relatively new to Radiant. I'm evaluating > Radiant for a mid-sized customer project. The customer has a legacy > DB2 database. Replacing it is not an option for the customer. So my > question is: can I use Radiant with DB2? Does anyone have any > experience doing this? > > Thanks! > > - Johannes > > -- > http://blog.springenwerk.com > ___ > 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Radiant and IBM DB2
Johannes Fahrenkrug said the following on 01/12/2009 12:08 PM: > Hi, > > I'm new to the list and relatively new to Radiant. I'm evaluating > Radiant for a mid-sized customer project. The customer has a legacy > DB2 database. Replacing it is not an option for the customer. So my > question is: can I use Radiant with DB2? Does anyone have any > experience doing this? The Ruby on rails book - the "Pickaxe" book - discusses how to use RoR with legacy databases. I'd recommend looking at that. In short, the answer is YES, but you need to have some other database to act as a 'shim' of some kind. -- Concern for people and their fate must always form the chief interest of all technical endeavors in order that the creations of our mind shall be a blessing, not a curse, to humanity. Never forget this amidst your diagrams and equations. -- Albert Einstein ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Re: E-Commerce, Anyone?
Chris Poldier wrote: > Radiant would be a great catalog system for e-commerce. I'm interested in this... but I don't know how to use a Radiant page as a kind of template itself for a given model. As an example, let's call it "Product" (I'm imaginative), and we have a nice admin section to do CRUD on it. We need, from within a Radiant page, to call something like (just an example). Then we would also need a way to iterate over these, and filter them, too... Any ideas? nachokb -- 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
Re: [Radiant] Re: E-Commerce, Anyone?
The best eCommerce source for Ruby on Rails is Spree http://spreehq.com Radiant is an excellent CMS, and i'm sure that you could use it for an eCommerce solution, but i would use Spree. Jason On Mon, Jan 12, 2009 at 1:32 PM, Ignacio Carrera wrote: > Chris Poldier wrote: > > Radiant would be a great catalog system for e-commerce. > > I'm interested in this... but I don't know how to use a Radiant page > as a kind of template itself for a given model. > > As an example, let's call it "Product" (I'm imaginative), and we have > a nice admin section to do CRUD on it. > > We need, from within a Radiant page, to call something like attribute="name" /> (just an example). > > Then we would also need a way to iterate over these, and filter them, > too... > > Any ideas? > > nachokb > -- > 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 > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Re: E-Commerce, Anyone?
On Mon, Jan 12, 2009 at 1:58 PM, jason white < stonesoupandboiledfr...@gmail.com> wrote: > The best eCommerce source for Ruby on Rails is Spree http://spreehq.com > Radiant is an excellent CMS, and i'm sure that you could use it for an > eCommerce solution, but i would use Spree. > Have you ever used Spree? Can it be set up as an extension to use with share_layouts? I have a shop on Shopify because it seemed like a logical choice at the time. It would be cool to move that over. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Children + Siblings
Hi, I'm trying to show a side-menu with a section, so, for example: - Welcome + Items Intro ++ Item A ++ Item B I'd like to show a list with "Items Intro, Item A, and Item B" on the Items Intro, Item A, and Item B pages- with my current page highlighted. At present, I'm doing something similar to: class="selected" class="item"> But, as soon as I click on Item A, or Item B, they lose the items (because those are obviously now siblings of the current page). Is there anyway to attempt to find both children and perhaps siblings, or a clever way to avoid having to duplicate the items for each page? Thanks! Paul ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Children + Siblings
On Mon, Jan 12, 2009 at 2:43 PM, Paul Ingles wrote: > Hi, > > I'm trying to show a side-menu with a section, so, for example: > > - Welcome > + Items Intro > ++ Item A > ++ Item B > > I'd like to show a list with "Items Intro, Item A, and Item B" on the Items > Intro, Item A, and Item B pages- with my current page highlighted. > > At present, I'm doing something similar to: > > > class="selected" > class="item"> > > > > > I believe that if you wrap that snippet with ... you should be good. ~Nate ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Children + Siblings
Yep, worked perfectly. Thank you! On 12 Jan 2009, at 21:06, Nate Turnage wrote: On Mon, Jan 12, 2009 at 2:43 PM, Paul Ingles wrote: Hi, I'm trying to show a side-menu with a section, so, for example: - Welcome + Items Intro ++ Item A ++ Item B I'd like to show a list with "Items Intro, Item A, and Item B" on the Items Intro, Item A, and Item B pages- with my current page highlighted. At present, I'm doing something similar to: class="selected" class="item"> I believe that if you wrap that snippet with ... you should be good. ~Nate ___ 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] Children + Siblings
On 12 Jan 2009, at 20:43, Paul Ingles wrote: class="selected" class="item"> I think what you need to do is wrap the above section of code in a tag. If the "Items Intro" has the url: /items you would do something like: class="selected" class="item"> That way, it will always find the children of the "Items intro" page, even if the page you are on *is* a child of "Items intro". You might need to tinker with the if/unless_self conditions to apply the appropriate classes. If you find yourself wanting to work with sibling pages, instead of child pages, then check out the sibling_tags extension: http://github.com/nelstrom/radiant-sibling-tags-extension/tree/master This is useful, for example, if you want to provide "Next" and "Previous" links. Hope this helps, Drew ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] New to Radiant - 500 error
Hi I just installed Radiant 0.6.9 on an Apache server. Using Phusion Passenger. Rails 2.1.2 and Ruby 1.8.5. Trying to deploy a test page and I have no problem getting to the admin section, logging in and setting up a test page. However, when I try to view the test page in the browser I get a 500 error. I figure this is just something really simple that I'm missing, and while I searched the archives I wasn't able to find a similar problem. I have done the VirtualHost node in Apache and pointed it to the /public folder for the app. Any help would be appreciated. Susan ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New to Radiant - 500 error
On Jan 12, 2009, at 2:55 PM, Susan Chouinard wrote: Trying to deploy a test page and I have no problem getting to the admin section, logging in and setting up a test page. However, when I try to view the test page in the browser I get a 500 error. I figure this is just something really simple that I'm missing, and while I searched the archives I wasn't able to find a similar problem. I have done the VirtualHost node in Apache and pointed it to the /public folder for the app. If you're using Apache 2, be sure to allow Apache access to the public directory with a line like... Allow from all Jose ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New to Radiant - 500 error
Susan, It is highly recommended that you upgrade to Ruby 1.8.6 or later. You could even use Ruby Enterprise Edition, with which I've had good success. Also, make sure your Apache user and/or the owner of the project has write permissions to cache/ inside the project. Barring those, please capture some of log/production.log while reproducing the error and put it in a pastebin for us. Sean Susan Chouinard wrote: Hi I just installed Radiant 0.6.9 on an Apache server. Using Phusion Passenger. Rails 2.1.2 and Ruby 1.8.5. Trying to deploy a test page and I have no problem getting to the admin section, logging in and setting up a test page. However, when I try to view the test page in the browser I get a 500 error. I figure this is just something really simple that I'm missing, and while I searched the archives I wasn't able to find a similar problem. I have done the VirtualHost node in Apache and pointed it to the /public folder for the app. Any help would be appreciated. Susan ___ 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
[Radiant] Re: Re: GitHub Gem Hosting
Sean Cribbs wrote: > It should be a fairly simple transition for most. There will be some > aspects that will be significantly different -- we've reduced the number > of tables in various views, and the navigation tabs are in two levels > now, instead of one -- not to mention the look and feel changes. > > Sean How about doing an RC2 release -- giving developers a little more time, but still releasing the fancy new UI. What do you think, good compromise? -- 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
Re: [Radiant] Re: Re: GitHub Gem Hosting
There will probably be an RC2 in the next week or so, but I think John's right. There's enough for a full release very soon, without the new UI. Sean How about doing an RC2 release -- giving developers a little more time, but still releasing the fancy new UI. What do you think, good compromise? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New to Radiant - 500 error
Hi Susan, Have you set a layout for your page? Pages do inherit layouts from their parents but, naturally, the root page needs to have a layout set. If that's not it, have a look at your log at [path_to_app]/log/[environment].log -- you'll usually find some information regarding your problem there. Best regards Chris > Date: Mon, 12 Jan 2009 12:55:50 -1000 > From: "Susan Chouinard" > Subject: [Radiant] New to Radiant - 500 error > To: > Message-ID: <002c01c97508$ea9d1100$bfd733...@com> > Content-Type: text/plain; charset="us-ascii" > > Hi > > > > I just installed Radiant 0.6.9 on an Apache server. Using Phusion > Passenger. > Rails 2.1.2 and Ruby 1.8.5. > > > > Trying to deploy a test page and I have no problem getting to the admin > section, logging in and setting up a test page. However, when I try to > view > the test page in the browser I get a 500 error. I figure this is just > something really simple that I'm missing, and while I searched the > archives > I wasn't able to find a similar problem. I have done the VirtualHost node > in > Apache and pointed it to the /public folder for the app. > > > > Any help would be appreciated. > > > > Susan > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] New to Radiant - 500 error
Lack of a layout would not prevent the root page from rendering if the 'body' part is present. There's probably something else going on. Sean Christian Vetter wrote: Hi Susan, Have you set a layout for your page? Pages do inherit layouts from their parents but, naturally, the root page needs to have a layout set. If that's not it, have a look at your log at [path_to_app]/log/[environment].log -- you'll usually find some information regarding your problem there. Best regards Chris Date: Mon, 12 Jan 2009 12:55:50 -1000 From: "Susan Chouinard" Subject: [Radiant] New to Radiant - 500 error To: Message-ID: <002c01c97508$ea9d1100$bfd733...@com> Content-Type: text/plain; charset="us-ascii" Hi I just installed Radiant 0.6.9 on an Apache server. Using Phusion Passenger. Rails 2.1.2 and Ruby 1.8.5. Trying to deploy a test page and I have no problem getting to the admin section, logging in and setting up a test page. However, when I try to view the test page in the browser I get a 500 error. I figure this is just something really simple that I'm missing, and while I searched the archives I wasn't able to find a similar problem. I have done the VirtualHost node in Apache and pointed it to the /public folder for the app. Any help would be appreciated. Susan ___ 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] New to Radiant - 500 error
Hi Christian, Jose and Sean - I've tried every one of the suggestions offered so far, with the exception of upgrading Ruby to 1.8.6, and no luck so far. Susan > -Original Message- > From: radiant-boun...@radiantcms.org [mailto:radiant-boun...@radiantcms.org] > On Behalf Of Christian Vetter > Sent: Monday, January 12, 2009 2:58 PM > To: radiant@radiantcms.org > Subject: Re: [Radiant] New to Radiant - 500 error > > Hi Susan, > Have you set a layout for your page? Pages do inherit layouts from their parents > but, naturally, the root page needs to have a layout set. If that's not it, have a look > at your log at [path_to_app]/log/[environment].log -- you'll usually find some > information regarding your problem there. > > Best regards > Chris > > > > Date: Mon, 12 Jan 2009 12:55:50 -1000 > > From: "Susan Chouinard" > > Subject: [Radiant] New to Radiant - 500 error > > To: > > Message-ID: <002c01c97508$ea9d1100$bfd733...@com> > > Content-Type: text/plain; charset="us-ascii" > > > > Hi > > > > > > > > I just installed Radiant 0.6.9 on an Apache server. Using Phusion > > Passenger. > > Rails 2.1.2 and Ruby 1.8.5. > > > > > > > > Trying to deploy a test page and I have no problem getting to the admin > > section, logging in and setting up a test page. However, when I try to > > view > > the test page in the browser I get a 500 error. I figure this is just > > something really simple that I'm missing, and while I searched the > > archives > > I wasn't able to find a similar problem. I have done the VirtualHost node > > in > > Apache and pointed it to the /public folder for the app. > > > > > > > > Any help would be appreciated. > > > > > > > > Susan > > > ___ > 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] New to Radiant - 500 error
Then try "tailing" the log and putting it in a pastebin for us. That can help us know what's going on. Here's the command, in case you're not familiar: tail -f log/production.log Then paste into one of these websites: http://pastie.org http://gist.github.com Sean Susan Chouinard wrote: Hi Christian, Jose and Sean - I've tried every one of the suggestions offered so far, with the exception of upgrading Ruby to 1.8.6, and no luck so far. Susan -Original Message- From: radiant-boun...@radiantcms.org [mailto:radiant-boun...@radiantcms.org] On Behalf Of Christian Vetter Sent: Monday, January 12, 2009 2:58 PM To: radiant@radiantcms.org Subject: Re: [Radiant] New to Radiant - 500 error Hi Susan, Have you set a layout for your page? Pages do inherit layouts from their parents but, naturally, the root page needs to have a layout set. If that's not it, have a look at your log at [path_to_app]/log/[environment].log -- you'll usually find some information regarding your problem there. Best regards Chris Date: Mon, 12 Jan 2009 12:55:50 -1000 From: "Susan Chouinard" Subject: [Radiant] New to Radiant - 500 error To: Message-ID: <002c01c97508$ea9d1100$bfd733...@com> Content-Type: text/plain; charset="us-ascii" Hi I just installed Radiant 0.6.9 on an Apache server. Using Phusion Passenger. Rails 2.1.2 and Ruby 1.8.5. Trying to deploy a test page and I have no problem getting to the admin section, logging in and setting up a test page. However, when I try to view the test page in the browser I get a 500 error. I figure this is just something really simple that I'm missing, and while I searched the archives I wasn't able to find a similar problem. I have done the VirtualHost node in Apache and pointed it to the /public folder for the app. Any help would be appreciated. Susan ___ 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 ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
RE: [Radiant] New to Radiant - 500 error
Thanks Sean. Part of the problem was that there was no production log being generated at all, and nothing in the Apache access or error logs to indicate what the problem might be. Although I had tried it before, I once again restarted Apache and suddenly the page appeared! Honestly I have no clue as to what could have caused the issues (500 error, no log generated), but at least it's working now, and a log is in fact being generated now. Thank you to everyone that offered help!! Susan Chouinard Website Manager Marketing Division Clark Realty Corporation Phone: 808.887.1902 Email: webmas...@clarkhawaii.com URL: http://www.clarkhawaii.com > -Original Message- > From: radiant-boun...@radiantcms.org [mailto:radiant-boun...@radiantcms.org] > On Behalf Of Sean Cribbs > Sent: Monday, January 12, 2009 3:29 PM > To: radiant@radiantcms.org > Subject: Re: [Radiant] New to Radiant - 500 error > > Then try "tailing" the log and putting it in a pastebin for us. That > can help us know what's going on. Here's the command, in case you're > not familiar: > > tail -f log/production.log > > Then paste into one of these websites: > > http://pastie.org > http://gist.github.com > > Sean ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Default Extension Proposal (was - Re: [Radiant] Re: Looking for something similar to summarize...)
Ben Morrow wrote: Mohit Sindhwani wrote: Actually, this method should be written up in the Radiant 2009 Documentation project as a good simple example of bringing in Rails methods into Radiant installs - it would help those "entry level" Rails programmers who wonder how to bridge the worlds of Rails and Radiant. Cheers, Mohit. 1/12/2009 | 9:28 PM. I wholeheartedly agree. The method seems simple enough, but I'm not sure how to implement it myself. Hi Everyone (especially developers), I have a proposal that Radiant should include a default extension called 'my_tags' or 'local' or something. [Rationale] There are quite a few suggestions on this list for doing something like the above 'truncate' tag. All it requires is to throw in some simple tag-related code and access it from the Admin UI. This is especially so for simple things that do not require complex logic in the background and do not need much else other than a few simple calculations. Examples are: * the above truncate method * a tag that spits out textile for a URL that is linked to itself * a tag that uses Javascript for encoding the mail address * something that checks if a "New" icon should be displayed next to the title of an article depending on its age ...and so on. For good reason, a lot of these are simple things and are typically 'local' things that get customized for the specific installation and needs. I was wondering if it would be a good idea for Radiant to include an empty 'local' extension into which such code could be dumped. This would have the effect of: a) Having a common place where people can add their own tags (or tags taken from this list) b) Less tech-savvy developers being able to modify things without necessarily having to "create an extension", a task that sounds very demanding and daunting. What do you think? Cheers, Mohit. 1/13/2009 | 11:25 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant