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

AuthorizeNet and SIM (2002) Webcatalog Future?!? - Was &fieldsdir=ra truely random?? (2000) Price + Texte (1999) Site Builder & IE Mac (2004) Spawn doesn't work as advertised ... (2000) Status of variable hierarchy changes? (2000) [quantity] within formulas (1997) RE: Multithreading of [replace] (1999) Sort Order on a page search (1997) Anyone awake? Newby moves deeper! Sitesearch & Customer (2000) PCS Frames (1997) WebCatalog for Postcards ? (1997) UPDATEDONE question ... (1998) Authenticate (1997) filemaker - orderfile (1997) AutoCommit Preference? (1998) japanese characters (1997) Running 2 two WebCatalog.acgi's (1996) Help! WebCat2 bug (1997) WebCat2 - Getting to the browser's username/password data (1997)