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

[shippingtotal] still... (2002) WebCat Error Log problem (2.0.1, acgi, Mac) (1997) Two submit buttons ? (1997) Searching (second post) (1999) RE: [BULK] [WebDNA] [if] or [case] or something else (2012) frames & carts (1997) test (2000) Help with update to 2.11 (1998) ShowCart Errors (2000) [WebDNA] Lookup vs. Search (was: 3-5 GB of native WebDNA db...) (2009) Protect (1997) Stopping bad HTML propagation ? (1997) Fun with dates (1997) [SearchString] usage (1997) How is it done? (1998) Re:2nd WebCatalog2 Feature Request (1996) WebDNA module - Automated database archiving (1997) Date Range Issue (2006) Using WC for Bulk Emailings (1997) WebCatalog and Macromedia Flash (1998)