[WebDNA] [suggestion]ErrorLog.txt

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112045
interpreted = N
texte = This may have already been mentioned. Troubleshooting is one thing that = was on the list to improve, but it would be nice to have =91linenumber' = included in the error reporting. For example, here is a real error log record: 01/26/201516:37:20SHOWPAGE000.000.000.000Error: = Error: expected [/REPLACE], but found [/url] instead/pathTo.html= /var/www/html/absolute/path/to.html Here is an example of the =91ErrorTemplate=92 (in the engine directory) = that generates that error: [appendfile file=3DErrorLog.txt&secure=3DF][date] [time] [command] = [ipaddress] [errormessage] [thisurl] [sourcefile] [/appendfile] It would be nice to add a new tag called [errorlinenum] so that it could = be added to the append in the ErrorTemplate above. It could be in place = of the [command] since this is not really relevant / useful. While I=92m on the subject, the code above for date and time should = probably be [:global:date] and [:global:time]. This will keep it from = getting confused when date and time are in other scopes.. not as = important as it was (since apparently the awesome commerce tags are = being deprecated).. but if the error falls within a function, it could = be that date and time report differently than the actual date and time = of the error. (I think this was already changed in the Server product.. = the ErrorTemplate above is from the FastCGI product. Sincerely, Donovan Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] [suggestion]ErrorLog.txt (Donovan Brooke 2015)
This may have already been mentioned. Troubleshooting is one thing that = was on the list to improve, but it would be nice to have =91linenumber' = included in the error reporting. For example, here is a real error log record: 01/26/201516:37:20SHOWPAGE000.000.000.000Error: = Error: expected [/REPLACE], but found [/url] instead/pathTo.html= /var/www/html/absolute/path/to.html Here is an example of the =91ErrorTemplate=92 (in the engine directory) = that generates that error: [appendfile file=3DErrorLog.txt&secure=3DF][date] [time] [command] = [ipaddress] [errormessage] [thisurl] [sourcefile] [/appendfile] It would be nice to add a new tag called [errorlinenum] so that it could = be added to the append in the ErrorTemplate above. It could be in place = of the [command] since this is not really relevant / useful. While I=92m on the subject, the code above for date and time should = probably be [:global:date] and [:global:time]. This will keep it from = getting confused when date and time are in other scopes.. not as = important as it was (since apparently the awesome commerce tags are = being deprecated).. but if the error falls within a function, it could = be that date and time report differently than the actual date and time = of the error. (I think this was already changed in the Server product.. = the ErrorTemplate above is from the FastCGI product. Sincerely, Donovan Donovan Brooke

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:

Protect & InstantSSL (Fixed) (2003) attn: smitmicro - cart limitation (2002) WebDNA Solutions ... sorry! (1997) tcpsend (2001) carriage returns in data (1997) WebCatalog can't find database (1997) Multiple prices (1997) international time (1997) problems with 2 tags shakur (1997) Secure server question (1997) WCS Newbie question (1997) interactive .pdf files and WebCatalog (2000) [WebDNA] RE: Error. WebDNA (version 5.1g or later) is not running. (2012) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Searchable WebCat (etc.) Docs ? (1997) bug ? causes NT event log to fill (1997) New command suggestion (1997) Is there a max number of fields? (1998) anyone have an automated template encrypter? (2000)