<br><br><div class="gmail_quote">On Fri, Sep 23, 2011 at 10:34 AM, Sven Van Caekenberghe <span dir="ltr"><<a href="mailto:sven@beta9.be" target="_blank">sven@beta9.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
On 23 Sep 2011, at 10:05, Mariano Martinez Peck wrote:<br>
<br>
> Thanks Sven. I am doing:<br>
><br>
> Gofer new squeaksource: 'MetacelloRepository'; package:<br>
> 'ConfigurationOfSeaside30'; load.<br>
> (Smalltalk at: #ConfigurationOfSeaside30) project latestVersion<br>
> load: #('Base Tests' 'Zinc-Seaside')<br>
><br>
> And then what you say:<br>
><br>
> (ZnZincServerAdaptor port: 4567)<br>
> codec: GRPharoUtf8Codec new<br>
> start.<br>
><br>
> But then in the browser: <a href="http://localhost:4567/" target="_blank">http://localhost:4567/</a><br>
><br>
> -> Error: you are forbidden to access "/"<br>
><br>
> Any ideas?<br>
<br>
</div>It looks like the server is just not running, first try something simpler:<br>
<br>
(ZnServer defaultOn: 1701)<br>
logToTranscript;<br>
start.<br>
<br>
And look at the Transcript and the Process Browser. Stop with:<br>
<br>
ZnServer stopDefault.<br>
<br></blockquote><div><br><br>Thanks Sven. Look the attached screenshot.<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
This is a way to enable Zn logging when using Seaside (you won't see the actual startup, but that's OK).<br>
<br>
| adaptor |<br>
(adaptor := ZnZincServerAdaptor port: 4567)<br>
codec: GRPharoUtf8Codec new;<br>
start.<br>
adaptor server logToTranscript.<br>
adaptor<br>
<br></blockquote><div><br>Ok, after doing so, and going to <a href="http://localhost:4567/" target="_blank">http://localhost:4567/</a> I get:<br><br>2011-09-23 10:43:49 239337 I Read a ZnRequest(GET /)<br>2011-09-23 10:43:49 239337 T GET / 403 512B 2ms<br>
2011-09-23 10:43:49 239337 I Wrote a ZnResponse(403 Forbidden text/plain 512B)<br>2011-09-23 10:44:19 239337 D Connection closed while reading request<br>2011-09-23 10:44:19 239337 D Closing stream<br><br>What is funny is that I can get to <a href="http://localhost:4567/files" target="_blank">http://localhost:4567/files</a> and I can see 2: <br>
<ul><li><a href="http://localhost:4567/files/WANavigationFiles" target="_blank">WANavigationFiles</a></li><li><a href="http://localhost:4567/files/WATestingFiles" target="_blank">WATestingFiles</a></li></ul> <br>maybe this helps with something?<br>
<br></div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Have a look at the Seaside Control Panel as well (it is in World Menu > Tools).<br>
<br></blockquote><div><br>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....<br>
<br>Thanks!<br><br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Good luck !<br>
<div><div></div><div><br>
Sven<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>