deployment: config no longer works

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

deployment: config no longer works

sergio_101-2
according to the documentation here:

http://book.seaside.st/book/advanced/deployment/deployment-preparing?_s=g_M59XlQFbMOPKVN&_k=eWi3ZH4i&_n&14

i set selected config, then added WAAuthConfiguration

this made my site ask for a mystery username and password every time i
tried to view anything on it..

so reverted back to the previous image, and did this:

| application |
application := WADispatcher default handlerAt: 'config'.
application configuration
    addParent: WAAuthConfiguration instance.
application
    preferenceAt: #login put: 'admin';
    preferenceAt: #passwordHash put: (GRPlatform current
secureHashFor: 'seaside').
application
    addFilter: WAAuthenticationFilter new.

which chokes here:

application := WADispatcher default handlerAt: 'config'.

with:

upon viewing the point, i get:

mesageNotUnderstood: receiver of new is nil

ideas?

--
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: deployment: config no longer works

Lukas Renggli
I cannot tell offhand what the problem is, but it is clearly related
to Seaside, not Pier.

Lukas

On 23 November 2010 12:41, sergio_101 <[hidden email]> wrote:

> according to the documentation here:
>
> http://book.seaside.st/book/advanced/deployment/deployment-preparing?_s=g_M59XlQFbMOPKVN&_k=eWi3ZH4i&_n&14
>
> i set selected config, then added WAAuthConfiguration
>
> this made my site ask for a mystery username and password every time i
> tried to view anything on it..
>
> so reverted back to the previous image, and did this:
>
> | application |
> application := WADispatcher default handlerAt: 'config'.
> application configuration
>    addParent: WAAuthConfiguration instance.
> application
>    preferenceAt: #login put: 'admin';
>    preferenceAt: #passwordHash put: (GRPlatform current
> secureHashFor: 'seaside').
> application
>    addFilter: WAAuthenticationFilter new.
>
> which chokes here:
>
> application := WADispatcher default handlerAt: 'config'.
>
> with:
>
> upon viewing the point, i get:
>
> mesageNotUnderstood: receiver of new is nil
>
> ideas?
>
> --
> ----
> peace,
> sergio
> photographer, journalist, visionary
>
> http://www.CodingForHire.com
> http://www.coffee-black.com
> http://www.painlessfrugality.com
> http://www.twitter.com/sergio_101
> http://www.facebook.com/sergio101
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki