Page 1 of 1

Log Configuration Error TNG v12.2

Posted: Mon Jan 13, 2020 10:56 am
by steven

Before making changes, consider upgrading. This modification was corrected in TNG v12.3
 
TNG V12.2 has a non-critical error that occurs when you update the log configuration settings in the admin menu. It does not cause any user problems but generates an error when the log file settings are changed. Darrin is aware of this issue and says it will be corrected in the next release.

To correct the error open admin_updatelogconfig.php and change the line below:

Code: Select all

$fp = fopen( $rootpath . $logfile, "c" );
To

Code: Select all

$fp = fopen( $rootpath . $logname, "c" );
If you don't want to edit the file yourself, I created a mod to use before the next release. The mod changes the variable above and no comments are placed in the file. It is not necessary to keep the mod in the mod folder once it is installed. So, if you like you can manually delete the mod using FTP, after it is installed, and the change will be permanent. Do not uninstall first if you want to make this change permanent.

THIS MOD IS FOR TNG v12.2 ONLY
logconfig_v12.2.0.0.zip
(411 Bytes) Downloaded 1262 times
Created 1/13/20