[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
> > 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)
> 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;
> adaptor server logToTranscript.
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
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
- 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 >
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....
> Good luck !
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside