News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Error Log Upon Exit

Started by dougiefresh, March 21, 2016, 12:18:13 PM

Previous topic - Next topic

dougiefresh

Link to Mod



ERROR LOG UPON EXIT v1.4
By Dougiefresh -> Link to Mod



Introduction
Ever get tired of having to refresh after making a change, just to find out if there are any errors in the error log? 

I did, so I wrote a mod consisting of several hooks to get the number of errors in the log and write it to the output buffer before it is sent to the user, thus allowing up-to-date error log counts AFTER all source and template processing has taken place!

Admin Settings
There are no admin settings for this mod!

Compatibility Notes
This mod was tested on SMF 2.0.11, but should work on SMF 2.0 and up.  SMF 1.0.x is not supported.  SMF 1.1.x has been somewhat tested, however, PHP 5.6.x doesn't play nice with SMF 1.1.x so there may be some undiagnosable (for me) install issues....

Changelog
The changelog can be viewed at XPtsp.com.

License
Copyright (c) 2016 - 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

dougiefresh

Uploaded v1.1 - September 14th, 2016
o Added support for SMF 1.1.x.




@Everybody:  This addresses the feature request submitted here by Stylus....

Biology Forums

Quote from: dougiefresh on September 14, 2016, 01:48:36 PM
Uploaded v1.1 - September 14th, 2016
o Added support for SMF 1.1.x.




@Everybody:  This addresses the feature request submitted here by Stylus....

What does elux mean? I noticed it in the source files of this mod... --  got it (stupid question)

Appreciate this add-on, a lot. I actually thought the mod would display the error

dougiefresh

Quote from: Stylus on September 16, 2016, 02:27:36 PM
What does elux mean? I noticed it in the source files of this mod...
I figured I needed an unique html tag that wouldn't get translated to anything, so elux was born....  Yes, it's the initials of the mod :p

Quote from: Stylus on September 16, 2016, 02:27:36 PM
Appreciate this add-on, a lot. I actually thought the mod would display the error
Perhaps I should change the name to accurately reflect this mod's purpose....

Biology Forums

Nonetheless, I do like the idea and have implemented it into my forum for admins to see only

dougiefresh

Uploaded v1.2 - November 26th, 2016
o Added admin check to circumvent white screen error found.

dougiefresh

Uploaded v1.4 - October 15th, 2018
o No functionality change.
o Updated documentation to point to new website.

Advertisement: