From: Xeno Campanoli / Eskimo North and Gmail Date: 2010-06-25T02:35:31+09:00 Subject: Re: Is the CGI instance "html" method no longer available? On 10-06-24 10:14 AM, Xeno Campanoli / Eskimo North and Gmail wrote: > On 10-06-24 10:00 AM, Xeno Campanoli / Eskimo North and Gmail wrote: >>> undefined method `html' for # (NoMethodError) >> ??? > > I tried taking it out and using html4, but now I get this: > > /usr/lib/ruby/1.8/cgi.rb:726:in `out': private method `print' called for > "":String (NoMethodError) > > > What have I done? This has worked correctly for years? > > This routine is working in other environments, even on other Ubuntu installations, but not on this latest one: def putFAILMessagePage(topicStr) responseMarkup = "\n" + "

" + "Response to #{ProductLabel} #{topicStr} submission at #{Time.now}" + "

\n" + "
\n" + "Submission FAILED" + "
\n" + "
" + $diagnostic_message + "
\n" + "\n" $CGIo.out{ $CGIo.html{ $CGIo.head{ $CGIo.title{ "#{ProductLabel}: #{topicStr}" } } + responseMarkup } } end The comment about the private method print about seems to be consistent... Anyone know what I'm getting this from? This is a late version of Ubuntu Server...??? -- "It's the preponderance, stupid!" - Professor Stephen Schneider, IPCC member