Re: [Zope] Dr.Watson on NT

2000-11-13 Thread TMGB

I have been running a Netscape WEB Server on an Alpha NT for 3-4 years
and the Doctor Watson window being open has always denied access to the
web server from a browser although other access is not stopped such as
telnet and mapped disks.  Finally, I set Doctor Watson not to pop up on
alerts so I have to regularly access the Dr. Watson log file, but have
not had web access denied since doing that.  

So, I don't think this is actually Zope related specifically but maybe
WEB server in general.

Thomas

"Júlio Dinis Silva" wrote:
 
 Hi all,
 Is there a NT guru in the house :-)
 
 Zope 222
 
 Sometimes Zserver goes Zombie, I login on the machine and I see a
 DrWatson Window. I close DrWatson window and the process automagically
 restarts, and everything ok.
 
 Whenever this happens two logs are written in EventLogger:
 -one is a Warning: Restarting Zope...
 -one is a Info: starting Zope...
 With a couple of seconds of distance in time between them.
 
 I can see something is puting ZServer zombie and I'm looking
 at debug to find the sucker method :-) but this DrWatson
 behaviour never seen by me before: could be Zope doing a Zombie Timeout and
 restarting himself? If yes why does he hangs and only by closing the
 DrWatson Window the python.exe process really restarts?
 
 Any comments, tips, Dr.Watson Guru?
 Best Regards,
 Júlio Dinis Silva
 _
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
 
 Share information about yourself, create your own public profile at
 http://profiles.msn.com.
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 

  Rock and Rule
 Zope Rocks -- http://www.zope.org
   Python Rules  -- http://www.python.org

Thomas McMillan Grant Bennett  Appalachian State University
Computer Consultant IIIUniversity Library
[EMAIL PROTECTED] 
http://www.library.appstate.edu/webmaster/
Voice:  828 262 6587   FAX:828 262 3001

Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit
operating system that was originally coded for a 4-bit microprocessor.
 - Chris Dunphy Boot Magazine

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Check for JavaScript:

2000-11-02 Thread TMGB

To expand on Peterson's idea, this is what I've used to test java script
and cookies.  Instructions at the top of the page instruct the user to
reload to get accurate readings (for cookies) see:
http://linux.library.appstate.edu:8080/Zope_Server/Forms/SAAT/Proxy/
A page I'm working on to trouble shoot user problems when using our
library proxy service.  There is a hidden input in the if statement of
the javascript, I have not tested to see if it sets that value every
time the page loads or not anyway.  One problem with the trouble
shooting page is user's cache settings and when to reload pages.  The
actions for the submit buttons have not been created yet.

tr
   td
  bAre Cookies enabled:/b
 dtml-if expr="RESPONSE.setCookie('uname','test', expires=
(ZopeTime() + (1.0/102.0)))"/dtml-if
   /td
   td valign=bottom
  dtml-if "REQUEST.has_key('uname')"
 FONT COLOR='GREEN'bYES, You Do Have Cookies Enabled/b
 input type=hidden name=cookieyes value=t size=24
  dtml-else
 FONT COLOR='RED'bNO, Your browser is not accepting
cookies/b
 input type=hidden name=cookieyes value=f size=24
  /dtml-if
   /td
  /tr
tr
  td
bIs Javascript enabled:/b
  /td
  td valign=bottom
noscript
FONT COLOR="RED"BNO, Your browser is not Javascript
enambled/Bbr
Proxy resources require JavaScript./FONT
/noscript
script language="JavaScript"
document.cookie="Test=Success"
cookieString=document.cookie;
if (cookieString.indexOf("Test=Success") != -1) {
   document.write("FONT COLOR='GREEN'BYES, You Do Have
Javascript enabled/B/FONTinput type=hidden name=javayes value=t
size=24");}
/script
  /td
  /tr

Thomas

PS. Is there a way to read the client's proxy setting directly?


Daniel Rusch wrote:
 
 Hey all,
 
 Is there a way from zope to check to see if a user has Javascript
 enabled
 
 Thanks,
 
 Dan
 
 ___
 Zope maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 

  Rock and Rule
 Zope Rocks -- http://www.zope.org
   Python Rules  -- http://www.python.org

Thomas McMillan Grant Bennett  Appalachian State University
Computer Consultant IIIUniversity Library
[EMAIL PROTECTED]  
http://www.library.appstate.edu/webmaster/
Voice:  828 262 6587   FAX:828 262 3001

Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit
operating system that was originally coded for a 4-bit microprocessor.
 - Chris Dunphy Boot Magazine

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )