[Radiant] Re(2): Re(2): error on welcome

2010-04-16 Thread Jan M.J. Storms
Thank you very much! This is reassuring.

Jan



Jim Gay scripsit dd. Thu, 15 Apr 2010 16:38:04 -0400 (internet: @901)

>Will inadvertently introduced a bug in HEAD and is working on it.
>See the commit comments here
>http://github.com/radiant/radiant/commit/
>3c38aa8ee71fa93c77d1b2854f19e4d6217cdcc9

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


Re: [Radiant] Re(2): error on welcome

2010-04-15 Thread Jan M.J. Storms
When I try out the instructions on 
under 'The Bleeding Edge' I found out that it I have to run:

rake production db:migrate

instead of:

rake db: migrate


I am a newbie, so I did not know that rake db:migrate implied the
development environment :(

when I try the development environment

rake db:migrate fails with:

uninitialized constant StandardTags::WillPaginate
/Library/WebServer/stekstad/org.zelfbescherming/cms/radiant/vendor/
radiant/vendor/rails/activesupport/lib/active_support/dependencies.rb:
440:in `load_missing_constant'

see  for full trace

--

rake production db:migrate fails also, with: 

Object is not missing constant StandardTags



Any help to get the bleeding edge working, would be greatly appreciated.
I need to start using the i18n stuff...

Jan

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


[Radiant] Re(2): error on welcome

2010-04-14 Thread Jan M.J. Storms
The only thing I did different from the instructions (I think) is this:

At first I got an error on db:migrate:
--
mail:radiant skanda108$ rake db:migrate
(in /Library/WebServer/stekstad/org.zelfbescherming/cms/radiant)
rake aborted!
RubyGem version error: rack(1.0.0 not ~> 1.0.1)
--

then i changed that requirement to rack 1.1.0 in action_controller.rb

gem 'rack', '~> 1.1.0'


db:migrate then was successful:
--
mail:radiant skanda108$ rake db:migrate
(in /Library/WebServer/stekstad/org.zelfbescherming/cms/radiant)
==  AddUserLanguage: migrating ==
==
-- add_column(:users, :language, :string)
   -> 0.0056s
==  AddUserLanguage: migrated (0.0070s)
===

==  RenameDeveloperRoleToDesigner: migrating
==
-- rename_column("users", "developer", "designer")
   -> 0.0033s
==  RenameDeveloperRoleToDesigner: migrated (0.0041s)
=

==  ChangeUserLanguageToLocale: migrating
=
-- rename_column("users", "language", "locale")
   -> 0.0042s
==  ChangeUserLanguageToLocale: migrated (0.0059s)

--

I have no idea now how to go about solving this problem. It is a fresh
site, and it does not work 'out of the box'. I would be very grateful
for a hint of how to start.

Jan

Jim Gay scripsit dd. Mon, 12 Apr 2010 16:59:22 -0400 (internet: @916)

>On Mon, Apr 12, 2010 at 4:53 PM, Jan M.J. Storms  wrote:
>> L.S.,
>>
>> I have radiant gem 0.8.1 installed, made a fresh site and then followed
>> the instructions on the download page under the heading "The Bleeding Edge"
>>
>> I see the login page, but after login, I see "Application error
>>
>> Change this error message for exceptions thrown outside of an action
>> (like in Dispatcher setups or broken Ruby code) in public/500.html"
>>
>> I wonder what I am missing or what i did wrong. Could you help me out?
>>
>> the log shows this:
>>
>> --
>>
>> Processing Admin::WelcomeController#index (for 80.61.243.71 at
>> 2010-04-12 22:21:20) [GET]
>>  Parameters: {"action"=>"index", "controller"=>"admin/welcome"}
>>
>> NoMethodError (undefined method `locale' for #):
>
>rake db:migrate
>
>-- 
>Jim Gay
>http://www.saturnflyer.com
>
>http://www.saturnflyer.com/blog/jim/2010/04/02/commenting-in-radiantcms-
>with-a-gem/
>___
>Radiant mailing list
>Post: Radiant@radiantcms.org
>Search: http://radiantcms.org/mailing-list/search/
>List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>Radiant: http://radiantcms.org
>Extensions: http://ext.radiantcms.org

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


[Radiant] Re(2): error on welcome

2010-04-12 Thread Jan M.J. Storms
I did.

john muhl scripsit dd. Mon, 12 Apr 2010 15:58:19 -0500 (internet: @915)

>did you run `rake radiant:update` and `rake db:migrate` after updating
>to the master branch?
>
>On Mon, Apr 12, 2010 at 3:53 PM, Jan M.J. Storms  wrote:
>> L.S.,
>>
>> I have radiant gem 0.8.1 installed, made a fresh site and then followed
>> the instructions on the download page under the heading "The Bleeding Edge"
>>
>> I see the login page, but after login, I see "Application error
>>
>> Change this error message for exceptions thrown outside of an action
>> (like in Dispatcher setups or broken Ruby code) in public/500.html"
>>
>> I wonder what I am missing or what i did wrong. Could you help me out?
>>
>> the log shows this:
>>
>> --
>>
>> Processing Admin::WelcomeController#index (for 80.61.243.71 at
>> 2010-04-12 22:21:20) [GET]
>>  Parameters: {"action"=>"index", "controller"=>"admin/welcome"}
>>
>> NoMethodError (undefined method `locale' for #):
>>  vendor/radiant/app/controllers/application_controller.rb:68:in
>> `set_user_locale'
>>  vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:
>> 19:in `process'
>>  thin (1.2.7) lib/thin/connection.rb:76:in `pre_process'
>>  thin (1.2.7) lib/thin/connection.rb:74:in `catch'
>>  thin (1.2.7) lib/thin/connection.rb:74:in `pre_process'
>>  thin (1.2.7) lib/thin/connection.rb:57:in `process'
>>  thin (1.2.7) lib/thin/connection.rb:42:in `receive_data'
>>  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
>>  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
>>  thin (1.2.7) lib/thin/backends/base.rb:57:in `start'
>>  thin (1.2.7) lib/thin/server.rb:156:in `start'
>>  thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start'
>>  thin (1.2.7) lib/thin/runner.rb:177:in `send'
>>  thin (1.2.7) lib/thin/runner.rb:177:in `run_command'
>>  thin (1.2.7) lib/thin/runner.rb:143:in `run!'
>>  thin (1.2.7) bin/thin:6
>>  /usr/local/bin/thin:19:in `load'
>>  /usr/local/bin/thin:19
>>
>> --
>>
>> Jan
>>
>> ___
>> Radiant mailing list
>> Post: Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>> Radiant: http://radiantcms.org
>> Extensions: http://ext.radiantcms.org
>>
>___
>Radiant mailing list
>Post: Radiant@radiantcms.org
>Search: http://radiantcms.org/mailing-list/search/
>List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>Radiant: http://radiantcms.org
>Extensions: http://ext.radiantcms.org

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


[Radiant] error on welcome

2010-04-12 Thread Jan M.J. Storms
L.S.,

I have radiant gem 0.8.1 installed, made a fresh site and then followed
the instructions on the download page under the heading "The Bleeding Edge"

I see the login page, but after login, I see "Application error

Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html"

I wonder what I am missing or what i did wrong. Could you help me out?

the log shows this:

--

Processing Admin::WelcomeController#index (for 80.61.243.71 at
2010-04-12 22:21:20) [GET]
  Parameters: {"action"=>"index", "controller"=>"admin/welcome"}

NoMethodError (undefined method `locale' for #):
  vendor/radiant/app/controllers/application_controller.rb:68:in
`set_user_locale'
  vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:
19:in `process'
  thin (1.2.7) lib/thin/connection.rb:76:in `pre_process'
  thin (1.2.7) lib/thin/connection.rb:74:in `catch'
  thin (1.2.7) lib/thin/connection.rb:74:in `pre_process'
  thin (1.2.7) lib/thin/connection.rb:57:in `process'
  thin (1.2.7) lib/thin/connection.rb:42:in `receive_data'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
  thin (1.2.7) lib/thin/backends/base.rb:57:in `start'
  thin (1.2.7) lib/thin/server.rb:156:in `start'
  thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start'
  thin (1.2.7) lib/thin/runner.rb:177:in `send'
  thin (1.2.7) lib/thin/runner.rb:177:in `run_command'
  thin (1.2.7) lib/thin/runner.rb:143:in `run!'
  thin (1.2.7) bin/thin:6
  /usr/local/bin/thin:19:in `load'
  /usr/local/bin/thin:19

--

Jan

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


[Radiant] copy move extension error

2010-03-17 Thread Jan M.J. Storms
The Copy Move extension givses an error in the javascript to center the popup:

$('copy-move').centerInViewport();

An older version of the script does work however:

center($('copy-move'));

I am running radiant 0.8.1 and access the site with the latest version
of Safari.

Jan

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


Re(2): [Radiant] copy move extension install error

2009-09-12 Thread Jan M.J. Storms
From the instructions for installation of copy move:

>Installation
>From the root of your Radiant project run:
>
>./script/extension install copy_move

This worked.

>To complete installation, you need to ‘install’ it by using its Rake
>task – from the root of your Radiant site run:
>
>rake production radiant:extensions:copy_move:install
>This copies the images that Copy/Move uses to the public folder and runs
>and migrations necessary. Once this is done, you are restart your
>application server.

The rake command gave the error. But copy/move works, so I am not going
to touch it...

thanks,

Jan


john muhl scripsit dd. Thu, 10 Sep 2009 09:08:31 -0600 (internet: @672)

>it looks like the copy_move extension doesn't have an install task try:
>
>rake production radiant:extensions:copy_move:migrate
>rake production radiant:extensions:copy_move:update
>
>or just use ./script/extension install copy_move and let it take care
>of that for you.
>
>On Thu, Sep 10, 2009 at 9:02 AM, Jan M.J. Storms  wrote:
>> Hi,
>>
>> I just installed the copy/move extension for a site running radiant 0.8.1
>>
>> The installation gives the error below. As far as I can tell thoucgh,
>> the extension works properly.
>>
>>
>> rake production radiant:extensions:copy_move:install --trace
>> (in /Library/WebServer/stekstad/info.psychopathie/cms/radiant)
>> ** Invoke production (first_time)
>> ** Execute production
>> ** Invoke environment (first_time)
>> ** Execute environment
>> rake aborted!
>> Don't know how to build task 'radiant:extensions:copy_move:install'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in
>`invoke_task'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
>> `standard_exception_handling'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
>> `standard_exception_handling'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
>> /usr/local/bin/rake:16:in `load'
>>
>> -
>> Jan
>>
>>
>> ___
>> 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

Vriendelijke groet,

Jan M.J. Storms, M.A.S.C.I.

>-<
 storms(ico)
   intelligente cultuurontwikkeling
 webstek: storms.org
>-<
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] copy move extension install error

2009-09-10 Thread Jan M.J. Storms
Hi,

I just installed the copy/move extension for a site running radiant 0.8.1

The installation gives the error below. As far as I can tell thoucgh,
the extension works properly.


rake production radiant:extensions:copy_move:install --trace
(in /Library/WebServer/stekstad/info.psychopathie/cms/radiant)
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
rake aborted!
Don't know how to build task 'radiant:extensions:copy_move:install'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in `[]'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in `invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/local/bin/rake:16:in `load'

-
Jan


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


Re(2): [Radiant] xhtml upgrade path

2009-07-07 Thread Jan M.J. Storms
Thank you very much, that clears it up.

Jan

john muhl scripsit dd. Tue, 7 Jul 2009 06:25:32 -0600 (internet: @559)

>it means nothing for radiant so far as i can tell, or am i missing
>something? the admin interface's html is not important (to me at
>least) and you've always been able to build the front end of your site
>using any markup language you like.
>
>On Tue, Jul 7, 2009 at 4:21 AM, Jan M.J. Storms wrote:
>> Taken from "An Unofficial Q&A about the Discontinuation of the XHTML2
>> WG" at <http://hsivonen.iki.fi/xhtml2-html5-q-and-a/>:
>>
>> "What’s the upgrade path from XHTML 1.x?
>> For the technical kind of XHTML 1.x—that is, XHTML served as application/
>> xhtml+xml—the upgrade path is to XHTML5. For the marketing kind of XHTML
>> 1.x—that is, XHTML served as text/html—the upgrade path is to HTML5.
>> Moreover, “HTML5” replaces “XHTML” (and “Ajax”!) as the coolest
>> marketing buzzword."
>>
>> I wonder what this means for Radiant CMS pages.
>>
>> Jan___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] xhtml upgrade path

2009-07-07 Thread Jan M.J. Storms
Taken from "An Unofficial Q&A about the Discontinuation of the XHTML2
WG" at :

"What’s the upgrade path from XHTML 1.x?
For the technical kind of XHTML 1.x—that is, XHTML served as application/
xhtml+xml—the upgrade path is to XHTML5. For the marketing kind of XHTML
1.x—that is, XHTML served as text/html—the upgrade path is to HTML5.
Moreover, “HTML5” replaces “XHTML” (and “Ajax”!) as the coolest
marketing buzzword."

I wonder what this means for Radiant CMS pages.

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

Re(2): [Radiant] site setup problem: relation "pages" does not exist

2009-07-02 Thread Jan M.J. Storms
I put the line in as suggested and restarted the server.

I see the same problems (1-2-3). When I leave off '--prefix /nld' from
'thin start' even more wrong urls.

Jan

Sean Cribbs scripsit dd. Thu, 2 Jul 2009 09:01:49 -0400 (internet: @584)

>On version 0.8, put this in the initializer block in config/environment.rb:
>
>config.action_controller.relative_url_root = '/nld'
>
>You may need to do something different for 0.7.x and earlier.
>
>Sean
>
>Jan M.J. Storms wrote:
>> I am on 0.8.0 and chose the 'styled blog' option.
>>
>> There are a few things I have noticed that do not work.
>>
>> 1) I can make child pages both to the home page and to child pages
>> of the home page, but only the child pages to the home page are listed.
>> When I click the + to expand the children of some other page I get a 404
>> not found error;
>>
>> 2) links of the type :slug need the /nld subdirectory prepended;
>>
>> 3)  works (i don't know if that is true in all cases), but
>>  also needs the /nld subdirectory
>> prepended.
>>
>> So some things are easily fixed, but (1) is not, at least not for me.
>>
>> If it works in some places and in others it doesn't, maybe with the '--
>> prefix /nld' added to 'thin start', the solution could be to apply, as
>> you point out, relative_url_root in all cases where Radiant constructs
>an url.
>>
>> Jan
>>
>> David Cato scripsit dd. Wed, 1 Jul 2009 22:41:41 -0700 (internet: @278)
>>
>>
>>> Jan M.J. Storms wrote ...
>>>
>>>
>>>> I added a couple of parameters to the thin startup command:
>>>>
>>>> --environment production --prefix /nld
>>>>
>>>> I can now see the home page and the admin pages work... partially. That
>>>> is due to radiant being installed in subdirectory /nld. I searched the
>>>> mailing list for answers and found some old posts that are a bit
>>>> difficult for a newbie like me.
>>>>
>>>> Is there some easy setting for this, or am I really out of luck here?
>>>>
>>> A while back I tried installing a Radiant app in a subdirectory, as
>>> you're doing here, and ran into problems. While I don't recall if there
>>> were any database errors involved, I did manage to locate the relevant
>>> production log and there are a lot of 404s due to bad URL paths as a
>>> result of the relative_url_root value not being applied in all cases.
>>>
>>> I ran across some discussion, that I can't find right now, that said (or
>>> maybe only suggested) that a subdirectory installation of Radiant
>>> wouldn't work. So, being lazy and unwilling to spend more time trying to
>>> make the subdirectory install work, I gave in and redeployed in the root
>>> directory of a subdomain instead.
>>>
>>> I was using 0.7.1 at the time so the situation may have changed with
>>> 0.8. I haven't tried deploying 0.8 in a subdirectory and am not in a
>>> position to do so at this time.
>>>
>>> You mentioned in your original post that you have another Radiant site
>>> running fine. Is it also installed in a subdirectory or is it in the
>>> root directory?
>>>
>>> --
>>> David Cato
>>> o...@crunchyfrog.net
>>>
>>


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


Re(4): [Radiant] site setup problem: relation "pages" does not exist

2009-07-02 Thread Jan M.J. Storms
I am on 0.8.0 and chose the 'styled blog' option.

There are a few things I have noticed that do not work.

1) I can make child pages both to the home page and to child pages
of the home page, but only the child pages to the home page are listed.
When I click the + to expand the children of some other page I get a 404
not found error;

2) links of the type :slug need the /nld subdirectory prepended;

3)  works (i don't know if that is true in all cases), but
 also needs the /nld subdirectory
prepended.

So some things are easily fixed, but (1) is not, at least not for me.

If it works in some places and in others it doesn't, maybe with the '--
prefix /nld' added to 'thin start', the solution could be to apply, as
you point out, relative_url_root in all cases where Radiant constructs an url.

Jan

David Cato scripsit dd. Wed, 1 Jul 2009 22:41:41 -0700 (internet: @278)

>Jan M.J. Storms wrote ...
>
>> I added a couple of parameters to the thin startup command:
>>
>> --environment production --prefix /nld
>>
>> I can now see the home page and the admin pages work... partially. That
>> is due to radiant being installed in subdirectory /nld. I searched the
>> mailing list for answers and found some old posts that are a bit
>> difficult for a newbie like me.
>>
>> Is there some easy setting for this, or am I really out of luck here?
>
>A while back I tried installing a Radiant app in a subdirectory, as
>you're doing here, and ran into problems. While I don't recall if there
>were any database errors involved, I did manage to locate the relevant
>production log and there are a lot of 404s due to bad URL paths as a
>result of the relative_url_root value not being applied in all cases.
>
>I ran across some discussion, that I can't find right now, that said (or
>maybe only suggested) that a subdirectory installation of Radiant
>wouldn't work. So, being lazy and unwilling to spend more time trying to
>make the subdirectory install work, I gave in and redeployed in the root
>directory of a subdomain instead.
>
>I was using 0.7.1 at the time so the situation may have changed with
>0.8. I haven't tried deploying 0.8 in a subdirectory and am not in a
>position to do so at this time.
>
>You mentioned in your original post that you have another Radiant site
>running fine. Is it also installed in a subdirectory or is it in the
>root directory?
>
>--
>David Cato
>o...@crunchyfrog.net

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


Re(2): [Radiant] site setup problem: relation "pages" does not exist

2009-07-01 Thread Jan M.J. Storms
Thank you very much.

I added a couple of parameters to the thin startup command:

--environment production --prefix /nld

I can now see the home page and the admin pages work... partially. That
is due to radiant being installed in subdirectory /nld. I searched the
mailing list for answers and found some old posts that are a bit
difficult for a newbie like me.

Is there some easy setting for this, or am I really out of luck here?

Jan

Jim Gay scripsit dd. Tue, 30 Jun 2009 19:37:39 -0400 (internet: @1026)

>If you've verified that the correct database does indeed have the
>pages table, have you verified that the application is running in the
>corresponding environment?
>Meaning the production database is setup, but you're running the app
>in development mode...
>
>-Jim
>
>Jim Gay
>http://www.saturnflyer.com
>
>
>
>On Jun 30, 2009, at 6:49 PM, Jan M.J. Storms wrote:
>
>> I am running into a problem with the second radiant site I a setting
>> up.
>> (The first one runs fine.) The site is located at:
>>
>> <http://jan1.storms.org/nld/>
>>
>> The attempt to load the page gives this error:
>>
>> 
>>
>> ActiveRecord::StatementInvalid in SiteController#show_page
>>
>> PGError: ERROR:  relation "pages" does not exist
>>
>> 
>>
>> The rake bootstrap task executed without errors. When I check, the
>> postgres db table 'pages' does exist. Apart from the url, there is
>> little difference in the setup from the site that works.
>>
>> I would be very thankful for any ideas how I can fix this.
>>
>> Jan
>>
>> ___
>> 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

Vriendelijke groet,

Jan M.J. Storms, M.A.S.C.I.

>-<
 storms(ico)
   intelligente cultuurontwikkeling
 webstek: storms.org
>-<


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


[Radiant] site setup problem: relation "pages" does not exist

2009-06-30 Thread Jan M.J. Storms
I am running into a problem with the second radiant site I a setting up.
(The first one runs fine.) The site is located at:



The attempt to load the page gives this error:



ActiveRecord::StatementInvalid in SiteController#show_page

PGError: ERROR:  relation "pages" does not exist



The rake bootstrap task executed without errors. When I check, the
postgres db table 'pages' does exist. Apart from the url, there is
little difference in the setup from the site that works.

I would be very thankful for any ideas how I can fix this.

Jan

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


Re(2): [Radiant] User Registration for a School

2009-06-21 Thread Jan M.J. Storms
Maybe a cached/not-cached flag should be part of any page (and a feature
of the core Radiant CMS). Static content is better edited by Radiant but
served by apache/nginx/... anyway.

Jan

Petrik de Heus scripsit dd. Mon, 22 Jun 2009 08:17:05 +0200 (internet: @303)

>> I haven't looked closely at the extensions out there for member
>> management. I believe that a common approach is to just piggy-back on
>> the existing users, but personally I would not do that. The purpose of
>> Radiant's users and your extra users are different enough that they
>> make sense being separate, and you'd also control that better by
>> rolling your own authentication scheme. I think Ba does this (http://
>github.com/aslakhellesoy/ba/tree/master
>> )
>
>I've extracted the user management part out of Ba:
>http://github.com/p8/radiant-restricted-access-extension/tree/master
>It's still a bit beta though:
>- User registration will be added today.
>- I've turned off caching to allow "logged in as USERNAME" links,
>otherwise cached pages would show usernames of other users.
>Any ideas on how to fix this? I'm still on 0.7.1
>
>Petrik
>___
>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] Mailer extension - ActionMailer configuration

2009-06-19 Thread Jan M.J. Storms
For the benefit of others:

an ActionMailer configuration like the one below (taken from the wiki
page) did not work for me:

ActionMailer::Base.smtp_settings = {
  :address => "smtp.example.com",
  :domain => "example.com",
  :user_name => "nore...@example.com",
  :password => "supersecret",
  :authentication => :login
}

but a configuration like this does:

ActionMailer::Base.smtp_settings = {
  :address => "smtp.example.com",
  :domain => "example.com",
  :port => 25
}

Using Radiant 0.8.0 with Mailer extension, postfix 2.5.1 on MacOsX
server 10.4.11.

Good luck,

Jan

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