[Seaside] Seaside not loading css styles (but our fault)

Mariano Martinez Peck marianopeck at gmail.com
Fri Sep 23 09:28:15 UTC 2011


On Fri, Sep 23, 2011 at 10:34 AM, Sven Van Caekenberghe <sven at beta9.be>wrote:

>
> On 23 Sep 2011, at 10:05, Mariano Martinez Peck wrote:
>
> > Thanks Sven. I am doing:
> >
> >    Gofer new squeaksource: 'MetacelloRepository'; package:
> > 'ConfigurationOfSeaside30'; load.
> >                (Smalltalk at: #ConfigurationOfSeaside30) project
> latestVersion
> > load: #('Base Tests' 'Zinc-Seaside')
> >
> > And then what you say:
> >
> > (ZnZincServerAdaptor port: 4567)
> >        codec: GRPharoUtf8Codec new
> >        start.
> >
> > But then in the browser: http://localhost:4567/
> >
> > -> Error: you are forbidden to access "/"
> >
> > Any ideas?
>
> It looks like the server is just not running, first try something simpler:
>
> (ZnServer defaultOn: 1701)
>        logToTranscript;
>        start.
>
> And look at the Transcript and the Process Browser. Stop with:
>
> ZnServer stopDefault.
>
>

Thanks Sven. Look the attached screenshot.


> This is a way to enable Zn logging when using Seaside (you won't see the
> actual startup, but that's OK).
>
> | adaptor |
> (adaptor := ZnZincServerAdaptor port: 4567)
>        codec: GRPharoUtf8Codec new;
>     start.
> adaptor server logToTranscript.
> adaptor
>
>
Ok, after doing so, and going to http://localhost:4567/ I get:

2011-09-23 10:43:49 239337 I Read a ZnRequest(GET /)
2011-09-23 10:43:49 239337 T GET / 403 512B 2ms
2011-09-23 10:43:49 239337 I Wrote a ZnResponse(403 Forbidden text/plain
512B)
2011-09-23 10:44:19 239337 D Connection closed while reading request
2011-09-23 10:44:19 239337 D Closing stream

What is funny is that I can get to http://localhost:4567/files and I can see
2:

   - WANavigationFiles <http://localhost:4567/files/WANavigationFiles>
   - WATestingFiles <http://localhost:4567/files/WATestingFiles>


maybe this helps with something?

 Have a look at the Seaside Control Panel as well (it is in World Menu >
> Tools).
>
>
Thanks Sven. It seems it is a little complicated to choose which groups you
load from ConfigurationOfSeaside30. I was loading 'Base' and 'Zinc-Seaside'.
But now if I load 'Core' and 'Zinc-Seaside' it works perfect....

Thanks!




> Good luck !
>
> Sven
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110923/bab49467/attachment-0001.htm


More information about the seaside mailing list