[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.htmlHere 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:
| |
- [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.htmlHere 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:
too many nested ... problem (1997)
simple search Q (2000)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Server Load (2000)
Date search - yes or no (1997)
Protect vs Authenicate (1997)
WebSTAR 2.1 freezes my Mac (1997)
I found a bug ... (1997)
WebCat2b13MacPlugIn - syntax to convert date (1997)
Running _every_ page through WebCat ? (1997)
OS X, Communigate Pro & Line Breaks (2003)
price on detail, but not shoppingcart (1997)
ShowNext truncating passed variable?? (1997)
Dreamweaver Integration (1998)
[SetHeader] docs? (1997)
Taxes shipcost (2003)
LOOP and IF statements (1997)
WebTen? (1997)
Generating Report Totals (1997)
RE: [WebDNA] Convert Carriage Return From DB to Plain Text File (2019)