> You could try to find the source of this with something like
> 
[...]
> Then grep for BOGUSMARKER. 

Thanks a lot for your reply, Mauricio!

I had tried something similar already yesterday evening, without success. I
did it again right now with your approach, and I'm only getting more
confused :).

First of all, it doesn't solve the problem, just moves it to a higher level,
even though BOGUSMARKER shows up.  
log:

[2004-11-23 13:03:41] INFO  WEBrick 1.3.1
[2004-11-23 13:03:41] INFO  ruby 1.8.2 (2004-07-29) [i386-mswin32]
[2004-11-23 13:03:41] INFO  Your WEBrick server is now running on
http://localho
st:80
[2004-11-23 13:03:41] INFO  WEBrick::HTTPServer#start: pid=2028 port=80
[2004-11-23 13:03:52] INFO  Performing show
[2004-11-23 13:03:52] INFO    Parameters: {}
[2004-11-23 13:03:52] INFO    Cookies: author => Henrik
[2004-11-23 13:03:52] INFO  Rendering: wiki/page
Rendering: GeneralConsiderations
text is Give imposing insights in Product features !. Is it nil? false
text is Delete dispensable information!. Is it nil? false
text is Update antiquated information !. Is it nil? false
text is Add missing information!. Is it nil? false
text is Reconsider the composition of the pages at all!. Is it nil? false
text is En Force_the_company_profile. Is it nil? false
Rendering: GeneralConsiderations
text is Give imposing insights in Product features !. Is it nil? false
text is Delete dispensable information!. Is it nil? false
text is Update antiquated information !. Is it nil? false
text is Add missing information!. Is it nil? false
text is Reconsider the composition of the pages at all!. Is it nil? false
text is En Force_the_company_profile. Is it nil? false
text is Henrik. Is it nil? false
text is conception of content. Is it nil? false
text is BOGUSMARKER. Is it nil? false
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  what the???
c:/programme/ruby/lib/ruby/1.8/cgi.rb:342:in `escape'
F:/wiki/instiki-0.9.1/app/models/web.rb:47:in `make_link'
F:/wiki/instiki-0.9.1/app/models/page.rb:70:in `link'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:221:in
`template_re
sult'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:221:in
`collect'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:221:in
`template_re
sult'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:162:in
`template_re
sult'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:65:in `render'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:77:in
`render_actio
n'
F:/wiki/instiki-0.9.1/app/controllers/wiki.rb:171:in `show'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:126:in `send'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:126:in
`perform_act
ion'
F:/wiki/instiki-0.9.1/libraries/action_controller_servlet.rb:32:in `do_GET'
c:/programme/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`__send__'
c:/programme/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in
`service'
c:/programme/ruby/lib/ruby/1.8/webrick/httpserver.rb:92:in `service'
c:/programme/ruby/lib/ruby/1.8/webrick/httpserver.rb:54:in `run'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:150:in `start_thread'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
F:/wiki/instiki-0.9.1/libraries/web_controller_server.rb:79:in
`start_server'
F:/wiki/instiki-0.9.1/libraries/web_controller_server.rb:22:in `initialize'
F:/wiki/instiki-0.9.1/instiki.rb:58:in `new'
F:/wiki/instiki-0.9.1/instiki.rb:58192.168.100.120 - - [23/Nov/2004:13:03:52
Wes
teurop§Úsche Normalzeit] "GET /companywiki/show/GeneralConsiderations
HTTP/1.1"
301 220
- -> /companywiki/show/GeneralConsiderations
[2004-11-23 13:03:52] INFO  Performing edit
[2004-11-23 13:03:52] INFO    Parameters: {"msg"=>"private method `gsub'
called
for nil:NilClass"}
[2004-11-23 13:03:52] INFO    Cookies: author => Henrik
[2004-11-23 13:03:52] INFO  Rendering: wiki/edit
192.168.100.120 - - [23/Nov/2004:13:03:52 Westeurop§Úsche Normalzeit] "GET
/comp
anywiki/edit/GeneralConsiderations?msg=private+method+%60gsub%27+called+for+nil%
3ANilClass HTTP/1.1" 200 3872
- ->
/companywiki/edit/GeneralConsiderations?msg=private+method+%60gsub%27+calle
d+for+nil%3ANilClass
[2004-11-23 13:03:53] INFO  Performing static_style_sheet
[2004-11-23 13:03:53] INFO    Parameters: {}
[2004-11-23 13:03:53] INFO    Cookies: author => Henrik
[2004-11-23 13:03:53] INFO  Rendering: static_style_sheet
192.168.100.120 - - [23/Nov/2004:13:03:53 Westeurop§Úsche Normalzeit] "GET
/comp
anywiki/static_style_sheet/ HTTP/1.1" 200
2972
http://pferd/companywiki/edit/GeneralConsiderations?msg=private+method+%60gsub%2
7+called+for+nil%3ANilClass -> /companywiki/static_style_sheet/
[2004-11-23 13:04:24] INFO  going to shutdown ...
[2004-11-23 13:04:24] INFO  WEBrick::HTTPServer#start done.


The lines 'text is...' come from a puts statement I inserted into web.rb
between the call wiki_words and CGI#escape. 

Second, and even more confusing, is the fact that one of the offending pages
seems to get rendered without being requested.

log2:
F:\wiki\instiki-0.9.1>instiki.rb
[2004-11-23 12:57:51] INFO  WEBrick 1.3.1
[2004-11-23 12:57:51] INFO  ruby 1.8.2 (2004-07-29) [i386-mswin32]
[2004-11-23 12:57:51] INFO  Your WEBrick server is now running on
http://localhost:80
[2004-11-23 12:57:51] INFO  WEBrick::HTTPServer#start: pid=1824 port=80
[2004-11-23 12:57:55] INFO  Performing index
[2004-11-23 12:57:55] INFO    Parameters: {}
[2004-11-23 12:57:55] INFO    Cookies: author => Henrik
192.168.100.120 - - [23/Nov/2004:12:57:55 Westeurop§Úsche Normalzeit] "GET
/comp
anywiki HTTP/1.1" 301 82
- -> /companywiki
[2004-11-23 12:57:55] INFO  Performing show
[2004-11-23 12:57:55] INFO    Parameters: {}
[2004-11-23 12:57:55] INFO    Cookies: author => Henrik
[2004-11-23 12:57:55] INFO  Rendering: wiki/page
text is Henrik. Is it nil? false
Rendering: GeneralConsiderations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   there was no request for this page. 
text is Frequently Asked Questions. Is it nil? false
192.168.100.120 - - [23/Nov/2004:12:57:55 Westeurop§Úsche Normalzeit] "GET
/comp
anywiki/show/HomePage HTTP/1.1" 200 5100
- -> /companywiki/show/HomePage
[2004-11-23 12:57:55] INFO  Performing static_style_sheet
[2004-11-23 12:57:55] INFO    Parameters: {}
[2004-11-23 12:57:55] INFO    Cookies: author => Henrik
[2004-11-23 12:57:55] INFO  Rendering: static_style_sheet
192.168.100.120 - - [23/Nov/2004:12:57:55 Westeurop§Úsche Normalzeit] "GET
/comp
anywiki/static_style_sheet/ HTTP/1.1" 200 2972
http://pferd/companywiki/show/HomePage -> /companywiki/static_style_sheet/
[2004-11-23 12:58:07] INFO  Performing show
[2004-11-23 12:58:07] INFO    Parameters: {}
[2004-11-23 12:58:07] INFO    Cookies: author => Henrik
[2004-11-23 12:58:07] INFO  Rendering: wiki/page
text is Peter. Is it nil? false
text is Home Page. Is it nil? false
192.168.100.120 - - [23/Nov/2004:12:58:07 Westeurop§Úsche Normalzeit] "GET
/comp
anywiki/show/businessbitsDecision HTTP/1.1" 200 3874
http://pferd/companywiki/show/HomePage ->
/companywiki/show/businessbitsDecision

[2004-11-23 12:58:08] INFO  Performing static_style_sheet
[2004-11-23 12:58:08] INFO    Parameters: {}
[2004-11-23 12:58:08] INFO    Cookies: author => Henrik
[2004-11-23 12:58:08] INFO  Rendering: static_style_sheet
192.168.100.120 - - [23/Nov/2004:12:58:08 Westeurop§Úsche Normalzeit] "GET
/comp
anywiki/static_style_sheet/ HTTP/1.1" 200 2972
http://pferd/companywiki/show/businessbitsDecision ->
/companywiki/static_style_
sheet/
[2004-11-23 12:59:01] INFO  going to shutdown ...
[2004-11-23 12:59:01] INFO  WEBrick::HTTPServer#start done.


Clearly, there was no request to GeneralConsiderations during the whole life
of the server. 


Third, when I change the page GeneralConsiderations, I get a message that I
should correct spurious Nilclass error first. But when I shut down instiki,
and start it up again, the changed content, together with the oh so beloved
error msg appears. It seems to get stored despite of the error and contrary
to what the page tells me.

Since neither I nor anybody else here at work has any more time to dig into
this mysterium, we'll just bite the bullet and move away from Instiki to
something more stable. It's a shame though, I really enjoyed to work with
it. RedCloth/BlueCloth and Madeleine make it really easy to use and setup. 

Anyway, thanks for the suggestion.

Henrik


-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++