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

HELP WITH DATES (1997) OT: Google (2002) DocNote#2 - Random info is still wrong ... (2000) possible, WebCat2.0 and checkboxes-restated (1997) Shell traceroute (2001) math on date? (1997) New Installation (1998) Various Problems (1997) [shownext] and descending order (1997) Browser Caching (2003) Re:2nd WebCatalog2 Feature Request (1996) RAM crash (1998) problems with 2 tags (1997) Quotation Marks in Database (1998) Use of Back and Reload Buttons on ShoppingCart page? (1997) Nested tags count question (1997) Multiple catalog databases and showcart (1997) can anyone confirm this behavior? (2003) Validation (2000) unable to launch acgi in WebCat (1997)