[Radiant] About "couldn't find HOME environment" problem

2007-04-25 Thread keita
Hi, Some few people (including me) reported "couldn't find HOME environment" problem in this ML and trac(for example ticket #500). Ticket #500 was closed by the reason "This is an issue with your server setup. It's not a problem with Radiant.", but I don't think so. I believe this is because lib/p

Re: [Radiant] You may specify the path to the FastCGI crash log ...

2007-04-25 Thread John W. Long
dave4c03 wrote: > I checked, it did recurse into the sub directories on my Fedora Core 4 > system. > > The shebangs in about 60 files in script and vendor/radiant appear to be > wrong! Those files have #!/usr/bin/env ruby shebangs while "which > ruby" is > /usr/local/bin/ruby. "Whereis ruby"

Re: [Radiant] Support for IBM DB2 database in Radiant

2007-04-25 Thread luca . erzegovesi
Thanks to Chris, Sean and John for the very useful directions for further exploration on DB2 support in rails and in Radiant. I will check open issues with the people working on the IBM_DB adapter as well, and report any progress to this list. Kind regards Luca Luca Erzegovesi University of Tr

Re: [Radiant] Apache 1.3 + FastCGI shared hosting problems

2007-04-25 Thread dave4c03
I wonder if I have the same problem! I do not understand whose 'HOME' we are trying to set a pointer to. For example, I froze my radiant app so my directory structure is as follows: /var/www/vhosts/[domain]/httpdocs/[myRadiantApp]/vendor/radiant On 4/25/07, doug <[EMAIL PROTECTED]> wrote: Dav

Re: [Radiant] You may specify the path to the FastCGI crash log ...

2007-04-25 Thread dave4c03
I checked, it did recurse into the sub directories on my Fedora Core 4 system. The shebangs in about 60 files in script and vendor/radiant appear to be wrong! Those files have #!/usr/bin/env ruby shebangs while "which ruby" is /usr/local/bin/ruby. "Whereis ruby" does not list a /usr/bin/env

Re: [Radiant] You may specify the path to the FastCGI crash log ...

2007-04-25 Thread Sean Cribbs
As long as the shebangs in your script/ and public/ directory are correct, you should have no problem. While chmod 777 [myapp] will set the correct permissions on the whole app, it will not recurse into subdirectories. Inside the [myapp]/public/ directory, run this: chmod +x dispatch* That

Re: [Radiant] You may specify the path to the FastCGI crash log ...

2007-04-25 Thread dave4c03
I froze [myapp] with rake radiant:free:edge which I think put all the code in the [myapp] directory. I did a chown -R [user]:[group] [myapp] to ensure valid ownership. Next I did chmod 777 [myapp] to ensure permissions were not the problem. It did not solve the problem however. I notice that nu

Re: [Radiant] Apache 1.3 + FastCGI shared hosting problems

2007-04-25 Thread doug
David A. wrote: > /config/eviroment.rb > > Add line: ENV['HOME'] = '/home/davidlt' #just change "davidlt" yo our > user. On some hosting RoR doesn't work without it. thanks for that... odd that that would be a showstopper. cheers, -- doug langtel: +44 (1273) 808949

Re: [Radiant] Apache 1.3 + FastCGI shared hosting problems

2007-04-25 Thread David A.
Hm... I couldn't launch any application in my hosting. I could even give the access to it if someone would want to help me a bit more... :) Some other people were trying too, but no success as you can see. I someone can help a bit more, send me personal e-mail. - Original Message Fro

Re: [Radiant] Apache 1.3 + FastCGI shared hosting problems

2007-04-25 Thread David A.
/config/eviroment.rb Add line: ENV['HOME'] = '/home/davidlt' #just change "davidlt" yo our user. On some hosting RoR doesn't work without it. - Original Message From: doug <[EMAIL PROTECTED]> To: radiant@lists.radiantcms.org Sent: Wednesday, April 25, 2007 7:22:50 PM Subject: Re: [Radia

[Radiant] Announcing a few sites

2007-04-25 Thread Todd Baur
All, I'd like to announce a few sites we've done using RadiantCMS as the solution for our clients needs. We've received very positive feedback regarding ease of use, so thank you to all who have contributed their time and talent to this great project. ExperienceCWI.com was quite a chore,

Re: [Radiant] Apache 1.3 + FastCGI shared hosting problems

2007-04-25 Thread doug
hi All, John W. Long wrote: > David A. wrote: > >> Error log from CPanel: >> [error] Premature end of script headers: >> /home/davidlt/public_html/portal2/public/dispatch.cgi >> > > Ok, something is not right. I don't know how to tell you to fix it > exactly, but my guess is that it is e

Re: [Radiant] Support for IBM DB2 database in Radiant

2007-04-25 Thread John W. Long
[EMAIL PROTECTED] wrote: > Before wasting too much time, I would like to know if someone in the > Radiant community has considered supporting DB2. > In order to support it, what should be needed? Is a compliant ruby db > adapter enough, or you have to tweak specific SQL statements somewhere in >

Re: [Radiant] Support for IBM DB2 database in Radiant

2007-04-25 Thread Sean Cribbs
Radiant uses Rails' database adapters with very little modification (I think there was a sqlite patch in there somewhere). Traditionally, Rails has not supported DB2 well. Anything you could contribute to improve the adapter would be appreciated in the Rails community at large, I imagine. S

Re: [Radiant] Support for IBM DB2 database in Radiant

2007-04-25 Thread chris
On Wed, 25 Apr 2007, [EMAIL PROTECTED] wrote: > Before wasting too much time, I would like to know if someone in the > Radiant community has considered supporting DB2. > In order to support it, what should be needed? Is a compliant ruby db > adapter enough, or you have to tweak specific SQL statem

[Radiant] Support for IBM DB2 database in Radiant

2007-04-25 Thread luca . erzegovesi
I would be interested in building a Radiant site with the IBM DB2 9.1 database as a back end. Such product is available in a free express edition, and provides native XML data storage, which would be very useful for our site, devoted to XBRL, a language derived from XML used for representing fi

Re: [Radiant] You may specify the path to the FastCGI crash log ...

2007-04-25 Thread Matt Foster
On 4/25/07, dave4c03 <[EMAIL PROTECTED]> wrote: I downloaded and installed Radiant 0.6 on my Fedora Core 4 running Plesk 8.1 that runs RubyOnRails under Apache2 using FastCGI. Other rails programs appear to launch properly but Radiant does not appear to even start (i.e . nothing was added to th

Re: [Radiant] Apache 1.3 + FastCGI shared hosting problems

2007-04-25 Thread John W. Long
David A. wrote: > Error log from CPanel: > [error] Premature end of script headers: > /home/davidlt/public_html/portal2/public/dispatch.cgi Ok, something is not right. I don't know how to tell you to fix it exactly, but my guess is that it is either: 1) The permissions aren't set correctly 2)

Re: [Radiant] You may specify the path to the FastCGI crash log ...

2007-04-25 Thread John W. Long
dave4c03 wrote: > I get the following error message: > - BEGIN - > > #!/usr/local/bin/ruby > # > # You may specify the path to the FastCGI crash log (a log of unhandled > # exceptions which forced the FastCGI instance to exit, great for > debugging) > # and the number of requests to proce

Re: [Radiant] tags, ActionView::Helpers, caching: trying to make a shop extension

2007-04-25 Thread kozy
yes, 'kiss' for faster results, probably :) I think it might be nice now I think about it again...make a pretty spinner on loading. Thanks people. > Hi, > > How about injecting the shopping cart by javascript? > I think this is not the best way, but easy. > > 1. add action "cart" into your contr

[Radiant] You may specify the path to the FastCGI crash log ...

2007-04-25 Thread dave4c03
I downloaded and installed Radiant 0.6 on my Fedora Core 4 running Plesk 8.1that runs RubyOnRails under Apache2 using FastCGI. Other rails programs appear to launch properly but Radiant does not appear to even start (i.e. nothing was added to the Production.log) I get the following error message

Re: [Radiant] Date Tag

2007-04-25 Thread Sean Cribbs
Gabriel, It got changed to 'for' in r377. I guess the documentation wasn't updated. Thank you for pointing this out. Sean Gabriel Lamounier wrote: > The final version of the date tag came up a little messy, I think. The > description says the attribute is FOR, the usage says it's WHEN (as we

[Radiant] Date Tag

2007-04-25 Thread Gabriel Lamounier
The final version of the date tag came up a little messy, I think. The description says the attribute is FOR, the usage says it's WHEN (as we have agreed here on the list) and the code says it's FOR. My question is: where is the error? On the description and the code or on the usage? Is the attrib

Re: [Radiant] Radiant 0.6 on SIte5

2007-04-25 Thread Andrea Franz
Il giorno 25/apr/07, alle ore 13:40, keita ha scritto: > I had the same problem on my environment(apache2/fast-cgi, localhost > and DreamHost) before. I don't know the reason of this(why rails need > to know HOME?), but I could stop the error. Try to add the following > line to the head of config

[Radiant] Thanks! (And suggestion on delayed posts)

2007-04-25 Thread Andrew Klein
Hello all! I would like to first thank the great developer team of Radiant for the great job they've done. The package has come a long way since even I came onboard with it. I look forward to much with this development now and in the future! On a sidenote, I've started having a need for dela

Re: [Radiant] undefined local variable or method `class_name' error when migrating to 0.6

2007-04-25 Thread Sean Cribbs
Sharon, I just committed a change that fixes this issue. Try running rake radiant:freeze:edge in the directory of your radiant instance, then try to migrate again. radiant:freeze:edge will only work if you have the command-line Subversion installed. Sean Sharon Clift wrote: > I am trying to

[Radiant] Revision 408

2007-04-25 Thread Gabriel Lamounier
John, I like the new proposed look at http://dev.radiantcms.org/radiant/browser/trunk/images/blade/edit-page.png?rev=408 Be Radiant! Gabriel ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/searc

[Radiant] Thanks

2007-04-25 Thread Gabriel Lamounier
I'd like to thank everybody that worked to bring us the new version of Radiant. And Sean, thanks for mentioning me on your blog :) As always... Be Radiant! Gabriel ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcm

[Radiant] Apache 1.3 + FastCGI shared hosting problems

2007-04-25 Thread David A.
Hello, After uploading everything to my hosting which supports RoR, I got: Application errorRails application failed to start properly" Error log from CPanel: [Wed Apr 25 04:35:05 2007] [error] [client 88.118.141.35] Premature end of script headers: /home/davidlt/public_html/portal2/public/dispat

Re: [Radiant] Radiant 0.6 on SIte5

2007-04-25 Thread keita
I had the same problem on my environment(apache2/fast-cgi, localhost and DreamHost) before. I don't know the reason of this(why rails need to know HOME?), but I could stop the error. Try to add the following line to the head of config/environment.rb: ENV['HOME'] = '/home/username' # change usern

[Radiant] undefined local variable or method `class_name' error when migrating to 0.6

2007-04-25 Thread Sharon Clift
I am trying to migrage our SQL database from 0.5.2 to 0.6. When I run rake production db:migrate I receive the following error C:\RailsApps\Radiant6>rake production db:migrate (in C:/RailsApps/Radiant6) Extensions cannot be used until Radiant migrations are up to date. == MergeBehaviorsAndPages:

[Radiant] Radiant 0.6 on SIte5

2007-04-25 Thread Andrea Franz
Hi all.. i've just tried to install radiant on site5 but I got this error: ../config/../vendor/rails/railties/lib/rails_generator/lookup.rb: 33:in `expand_path': couldn't find HOME environment -- expanding `~' (ArgumentError) from ../config/../vendor/rails/railties/lib/rails_generato