[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:

Bug Report, maybe (1997) New Command prefs ... (1997) Re:Authenticate (1998) autosensing lanague selection (1997) webcatalog [date] bug (1999) [WebDNA] Open Source CMS (2012) NTbeta18 corrupted? (1997) WebCatalog can't find database (1997) Multiple catalog databases and showcart (1997) Generating unique SKU from [cart] - Still Stumped... (1997) search form problem.. (1997) WebCat B13 Mac CGI -- Frames question (1997) Not really WebCat - need HTML Grider (1997) Cold Fusion Warm and Fuzzy? (1999) setlineitem quantity to zero? (2000) Sendmail doesn't (was Queertrons?) (1997) Language definitions and convertion (2000) hmmm (2006) Error Lob.db records error message not name (1997) WC1.6 to WC2 date formatting -FIXED! (1997)