WebCat Error Log problem (2.0.1, acgi, Mac)
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14004
interpreted = N
texte = Quick question on the Admin stuff in the WebCat 2.0.1 ACGI (Mac). MyErrorTemplate.tmpl file looks like this:[appendfile file=/WebCatalog/ErrorLog.db&secure=F][date] [time][command] [ipaddress] [errormessage][/appendfile]and it correctly appends the ErrorLog.db and writes it to disk each timethere is an error. But the Errors.tmpl file, which looks like this(the important part anyway):
| Date | Time | Command | IPAddress | Error |
|---|
[search db=../ErrorLog.db&nedatedata=0][foundItems]
| [date] | [time] | [command] | [ipaddress] | [errormessage] |
[/foundItems][/search]doesn't cause WebCat to display the complete log. It only shows therecords in the log that were there at the moment that WebCat started up.Yes, I did modify this slightly from the supplied Admin stuff with 2.0.1because the error log was not formatted as a table, so I stuck the tabletags in and changed it from errorlog.txt to errorlog.db. Is there anyapparent reason in the code above as to why it is not working? -- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Associated Messages, from the most recent to the oldest:
Quick question on the Admin stuff in the WebCat 2.0.1 ACGI (Mac). MyErrorTemplate.tmpl file looks like this:[appendfile file=/WebCatalog/ErrorLog.db&secure=F]
[date] [time][command]
[ipaddress] [errormessage][/appendfile]and it correctly appends the ErrorLog.db and writes it to disk each timethere is an error. But the Errors.tmpl file, which looks like this(the important part anyway):
| Date | Time | Command | IPAddress | Error |
|---|
[search db=../ErrorLog.db&nedatedata=0]
[founditems]| [date] | [time] | [command] | [ipaddress] | [errormessage] |
[/foundItems][/search]doesn't cause WebCat to display the complete log. It only shows therecords in the log that were there at the moment that WebCat started up.Yes, I did modify this slightly from the supplied Admin stuff with 2.0.1because the error log was not formatted as a table, so I stuck the tabletags in and changed it from errorlog.txt to errorlog.db. Is there anyapparent reason in the code above as to why it is not working? -- Gil Poulsen, Webmaster*************************************************************** AltiM@c * Phone: (732) 469-2567 ** 429 St. Giles Court * FAX: (732) 469-5823 ** Somerset, NJ * e-mail: help@altimac.com ** 08873 * WWW: http://www.altimac.com ***************************************************************
Gil Poulsen
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Why is deleting so slow? (2002)
[BULK] RE: [WebDNA] [BULK] Should I be worried about this web (2017)
Semi-OT: [Mimeheader] and flash (2002)
[Feature Request] or [bug?]: SiteBuilder - searchable (2005)
WebCat2 - Getting to the browser's username/password data (1997)
Warning: Mac OS X 10.2.4 Update Overwrites Apache's httpd.conf (2003)
upgrade? (1997)
suggestions for a good text editor on windows? (2005)
Database Strategy - more... (1998)
autosensing lanague selection (1997)
Not reading code (1997)
This is an odd error (2001)
Signal Raised (1997)
Banner Ad example (Typhoon) and WebCatalog (1997)
Using Plug-In while running 1.6.1 (1997)
RE:It just Does't add up!!! (1997)
ODBC-Interface (2000)
Secure server question (1997)
[WebDNA] Middle Question (2015)
[WebDNA] exemple of [arrayset] & [arrayget] (2012)