Re: [Radiant] How to add a new page attribute?
Hi Sean, i am building a Radiant website for a client. This client has events which are shown in the right column of the website. For example there are 'Live Event 1', 'Live Event 2'. These events should be ordered, so that the next upcoming event is the first event in the right column. For the ordering of the events i use the 'breadcrumb' page attribute, for 'Live Event 1' it's '020' and for 'Live Event 2' it's '030'. Then i write (to fill the right website column): --- r:children:each by=breadcrumb r:content / /r:children:each --- So the events are arranged *independently* from their titles or page publishing dates. Now there's a new important event, say 'Very Important Event', which should be the first event in the right column. So i can set a 'breadcrumb' value of '010'. This works, but this usage is not the intended purpose of the 'breadcrumb' attribute ... It would be nice to have a free page attribute, so that i can use that free attribute for the ordering of the events. Best regards, Andreas Semt Sean Cribbs schrieb: Mmm... well, if you don't mind hacking the Rails code, you can add the attribute yourself, but perhaps that's not the best solution. What exactly do you need this for? Sean On 1/3/07, Andreas Semt [EMAIL PROTECTED] wrote: Hello list, is it possible to add a new page attribute (Radiant version 0.52) in generally? If so, what's the best way to achieve that? I want to use the new page attribute called 'event_order' this way: --- r:children:each by=event_order r:content / /r:children:each --- Thanks for any help! Best regards, Andreas Semt ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 I took a look at the file, but nothing seems to be wrong. Any help would be greatly appreciated Sara Vasquez ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
Semt, I know I created a symlink to it and it still did not work and then I just deleted the link and just enter the /vr/run/ location and now I get the same eror just with that location $ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 anyone has any other ideas as to what could be wrong. Sara Vasquez On Thursday 04 January 2007 05:12, Andreas Semt wrote: Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 I took a look at the file, but nothing seems to be wrong. Any help would be greatly appreciated Sara Vasquez ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
I'm running Dapper and had this problem too. What worked for me was removing the socket lines from database.yml and using host: 127.0.0.1 instead. Hope that help! Jim On 1/4/07, Sara [EMAIL PROTECTED] wrote: Semt, I know I created a symlink to it and it still did not work and then I just deleted the link and just enter the /vr/run/ location and now I get the same eror just with that location $ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 anyone has any other ideas as to what could be wrong. Sara Vasquez On Thursday 04 January 2007 05:12, Andreas Semt wrote: Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 I took a look at the file, but nothing seems to be wrong. Any help would be greatly appreciated Sara Vasquez ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
Jim, Thanks so if I understand that correctly you deleted the sockets lines all together and instead wrote a host:127.0.0.1 instead? On Thursday 04 January 2007 12:42, Jim Herring wrote: I'm running Dapper and had this problem too. What worked for me was removing the socket lines from database.yml and using host: 127.0.0.1 instead. Hope that help! Jim On 1/4/07, Sara [EMAIL PROTECTED] wrote: Semt, I know I created a symlink to it and it still did not work and then I just deleted the link and just enter the /vr/run/ location and now I get the same eror just with that location $ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 anyone has any other ideas as to what could be wrong. Sara Vasquez On Thursday 04 January 2007 05:12, Andreas Semt wrote: Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 I took a look at the file, but nothing seems to be wrong. Any help would be greatly appreciated Sara Vasquez ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
Sara, Indeed if you delete the socket line and use either 127.0.0.1 or just plain ol' localhost works fine. On 1/4/07, Sara [EMAIL PROTECTED] wrote: Jim, Thanks so if I understand that correctly you deleted the sockets lines all together and instead wrote a host:127.0.0.1 instead? On Thursday 04 January 2007 12:42, Jim Herring wrote: I'm running Dapper and had this problem too. What worked for me was removing the socket lines from database.yml and using host: 127.0.0.1 instead. Hope that help! Jim On 1/4/07, Sara [EMAIL PROTECTED] wrote: Semt, I know I created a symlink to it and it still did not work and then I just deleted the link and just enter the /vr/run/ location and now I get the same eror just with that location $ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 anyone has any other ideas as to what could be wrong. Sara Vasquez On Thursday 04 January 2007 05:12, Andreas Semt wrote: Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 I took a look at the file, but nothing seems to be wrong. Any help would be greatly appreciated Sara Vasquez ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
All, i keep on getting the same error, I have no idea what might be going wrong since I managed to install both mephisto and RAM so I am lost as to what is going wrong. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` host: localhost' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 On Thursday 04 January 2007 12:53, Ruben D. Orduz wrote: Sara, Indeed if you delete the socket line and use either 127.0.0.1 or just plain ol' localhost works fine. On 1/4/07, Sara [EMAIL PROTECTED] wrote: Jim, Thanks so if I understand that correctly you deleted the sockets lines all together and instead wrote a host:127.0.0.1 instead? On Thursday 04 January 2007 12:42, Jim Herring wrote: I'm running Dapper and had this problem too. What worked for me was removing the socket lines from database.yml and using host: 127.0.0.1 instead. Hope that help! Jim On 1/4/07, Sara [EMAIL PROTECTED] wrote: Semt, I know I created a symlink to it and it still did not work and then I just deleted the link and just enter the /vr/run/ location and now I get the same eror just with that location $ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 anyone has any other ideas as to what could be wrong. Sara Vasquez On Thursday 04 January 2007 05:12, Andreas Semt wrote: Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 I took a look at the file, but nothing seems to be wrong. Any help would be
Re: [Radiant] installing on Ubuntu
Here's what my database.yml looks like for my Radiant install on Unbuntu: production: adapter: mysql database: cr_radiant_live username: user password: password I'm running on SliceHost. My RAILS_ENV is production (obviously). Cheers, Chris On Jan 4, 2007, at 1:44 PM, Sara wrote: All, i keep on getting the same error, I have no idea what might be going wrong since I managed to install both mephisto and RAM so I am lost as to what is going wrong. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` host: localhost' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 On Thursday 04 January 2007 12:53, Ruben D. Orduz wrote: Sara, Indeed if you delete the socket line and use either 127.0.0.1 or just plain ol' localhost works fine. On 1/4/07, Sara [EMAIL PROTECTED] wrote: Jim, Thanks so if I understand that correctly you deleted the sockets lines all together and instead wrote a host:127.0.0.1 instead? On Thursday 04 January 2007 12:42, Jim Herring wrote: I'm running Dapper and had this problem too. What worked for me was removing the socket lines from database.yml and using host: 127.0.0.1 instead. Hope that help! Jim On 1/4/07, Sara [EMAIL PROTECTED] wrote: Semt, I know I created a symlink to it and it still did not work and then I just deleted the link and just enter the /vr/run/ location and now I get the same eror just with that location $ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 anyone has any other ideas as to what could be wrong. Sara Vasquez On Thursday 04 January 2007 05:12, Andreas Semt wrote: Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb: 459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb: 181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 I took a look at the file, but nothing seems to be wrong. Any help would be greatly appreciated Sara Vasquez
Re: [Radiant] installing on Ubuntu
no host specified? Or did you purposely ommited it? On 1/4/07, Chris O'Meara [EMAIL PROTECTED] wrote: Here's what my database.yml looks like for my Radiant install on Unbuntu: production: adapter: mysql database: cr_radiant_live username: user password: password I'm running on SliceHost. My RAILS_ENV is production (obviously). Cheers, Chris On Jan 4, 2007, at 1:44 PM, Sara wrote: All, i keep on getting the same error, I have no idea what might be going wrong since I managed to install both mephisto and RAM so I am lost as to what is going wrong. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` host: localhost' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/ initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 On Thursday 04 January 2007 12:53, Ruben D. Orduz wrote: Sara, Indeed if you delete the socket line and use either 127.0.0.1 or just plain ol' localhost works fine. On 1/4/07, Sara [EMAIL PROTECTED] wrote: Jim, Thanks so if I understand that correctly you deleted the sockets lines all together and instead wrote a host:127.0.0.1 instead? On Thursday 04 January 2007 12:42, Jim Herring wrote: I'm running Dapper and had this problem too. What worked for me was removing the socket lines from database.yml and using host: 127.0.0.1 instead. Hope that help! Jim On 1/4/07, Sara [EMAIL PROTECTED] wrote: Semt, I know I created a symlink to it and it still did not work and then I just deleted the link and just enter the /vr/run/ location and now I get the same eror just with that location $ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6 /lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 anyone has any other ideas as to what could be wrong. Sara Vasquez On Thursday 04 January 2007 05:12, Andreas Semt wrote: Hi Sara, on my machine (Ubuntu 6.10 Edgy Eft) the value for 'socket:' (in 'config/database.yml') is set to: '/var/run/mysqld/mysqld.sock'. Hope that helps. Best regards, Andreas Semt Sara schrieb: Hello, I am having problems installing Radiant on my ubuntu machine here is the output $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket: /tmp/mysql.sock' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb: 459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb: 181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from
Re: [Radiant] installing on Ubuntu
I believe I took the sample file and whacked the socket entry. On Jan 4, 2007, at 2:24 PM, Ruben D. Orduz wrote: no host specified? Or did you purposely ommited it? On 1/4/07, Chris O'Meara [EMAIL PROTECTED] wrote: Here's what my database.yml looks like for my Radiant install on Unbuntu: production: adapter: mysql database: cr_radiant_live username: user password: password I'm running on SliceHost. My RAILS_ENV is production (obviously). Cheers, Chris ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
All, If I try that I get this $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 7, col -3: `test: (ArgumentError) adapter: mysql database: radiant_test username: myusername password: mypassword production: adapter: mysql database: radiant_live username: myusername password:mypassword ' from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 [EMAIL PROTECTED]:/usr/lib/ruby/gems/1.8/gems/radiant-0.5.2$ ruby script/server webrick -e production = Booting WEBrick... /usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': Permission denied - tmp (Errno::EACCES) from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir' from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p' from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p' from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/server.rb:29 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' from script/server:3 On Thursday 04 January 2007 14:36, Chris O'Meara wrote: I believe I took the sample file and whacked the socket entry. On Jan 4, 2007, at 2:24 PM, Ruben D. Orduz wrote: no host specified? Or did you purposely ommited it? On 1/4/07, Chris O'Meara [EMAIL PROTECTED] wrote: Here's what my database.yml looks like for my Radiant install on Unbuntu: production: adapter: mysql database: cr_radiant_live username: user password: password I'm running on SliceHost. My RAILS_ENV is production (obviously). Cheers, Chris ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
Sara, Other people have had problem with yml files since they ARE tab- and space-sensitive. Make sure you're editing them in a text-safe environment and that there's no cross-OS problems. Also, you can try doing a SVN revert on that yml file and make sure you don't mess with the spacing or tabs. On 1/4/07, Sara [EMAIL PROTECTED] wrote: All, If I try that I get this $ ruby script/setup_database production Run `setup_database --help` for information on additional options. Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 7, col -3: `test: (ArgumentError) adapter: mysql database: radiant_test username: myusername password: mypassword production: adapter: mysql database: radiant_live username: myusername password:mypassword ' from /usr/lib/ruby/1.8/yaml.rb:133:in `load' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/environment.rb:15 from script/setup_database:78:in `load_environment' from script/setup_database:258:in `announce' from script/setup_database:77:in `load_environment' from script/setup_database:17:in `run' from script/setup_database:9:in `run' from script/setup_database:297 [EMAIL PROTECTED]:/usr/lib/ruby/gems/1.8/gems/radiant-0.5.2$ ruby script/server webrick -e production = Booting WEBrick... /usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': Permission denied - tmp (Errno::EACCES) from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir' from /usr/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p' from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p' from /usr/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/server.rb:29 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' from script/server:3 On Thursday 04 January 2007 14:36, Chris O'Meara wrote: I believe I took the sample file and whacked the socket entry. On Jan 4, 2007, at 2:24 PM, Ruben D. Orduz wrote: no host specified? Or did you purposely ommited it? On 1/4/07, Chris O'Meara [EMAIL PROTECTED] wrote: Here's what my database.yml looks like for my Radiant install on Unbuntu: production: adapter: mysql database: cr_radiant_live username: user password: password I'm running on SliceHost. My RAILS_ENV is production (obviously). Cheers, Chris ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Mailer Behavior on ASmallOrange
Anyone got the Mailer Behavior to work on ASmallOrange.com hosting? I have the behavior installed and everything set up to what I think is correct, but the form just reloads it's self (not thank-you) and I never get an email. There doesn't seem to be any errors, all I can find in any error logs is in production.log I get: Processing SiteController#show_page (for at 2007-01-04 16:56:19) [POST] Parameters: {mailer={message=test test, name=me, subject=}, action=show_page,url=[contact], mailer_name=contact, controller=site} Completed in 1.89603 (0 reqs/sec) | DB: 0.00087 (0%) | 200 OK [http://www.mysite.com/content/contact] My config part is this: mailers: contact: subject: From Contact Form from: [EMAIL PROTECTED] redirect_to: /contact/thank-you/ recipients: - [EMAIL PROTECTED] Any suggestions? Thanks, BJ Clark ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
Sara, Sorry to hear you're having such a hard time getting Radiant to work. You can write me directly if you want, so we don't bother the rest. I need to know the following: * Are you sure mysqld is running? * Are you developing on windows? * Can you copy and paste both your db yml file and the db setup script? ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
The problem is definitely with the __format__ of the database configuration file. You should post the entirety of that file (preferably as an attachment). Loading production environment...FAILED /usr/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 5, col 2: ` socket:/var/run/mysqld/mysqld.sock' (ArgumentError) ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
Ruben D. Orduz wrote: Sorry to hear you're having such a hard time getting Radiant to work. You can write me directly if you want, so we don't bother the rest. If you continue off list, please post the solution here. It's helpful when people are searching through the archives for the same problem in the future. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] installing on Ubuntu
John, will do. I'm almost certain it has to do with formating (spacing/tabs) of her DB config files. On 1/4/07, John W. Long [EMAIL PROTECTED] wrote: Ruben D. Orduz wrote: Sorry to hear you're having such a hard time getting Radiant to work. You can write me directly if you want, so we don't bother the rest. If you continue off list, please post the solution here. It's helpful when people are searching through the archives for the same problem in the future. -- John Long http://wiseheartdesign.com ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant