News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[3090] Undefined index - variables settings after install MOD

Started by .LORD., February 06, 2009, 07:13:25 PM

Previous topic - Next topic

.LORD.

Sorry if this has already been reported, but I think not because the RC1 has just been launched and it isn't fixed.

In SMF 2.X after install a MOD that add variables in the table settings, are generated entries in the log_error, as if these variables don't exist.

The reason is that the cache not has been updated. Once you clear the cache or the administrator goes to the settings, is updated.

Thank you, SMF 2.XX is very good, congratulations :)

aldo

What errors..? If its after installing a modification its probably a modification problem not a SMF problem, but if we had the error we might be able to tell you the problem.

metallica48423

Aldo, I think he's saying that when mods are installed that place language strings in the language files, that the cache isn't cleared, thus resulting in undefined index errors until the cache rotates or until it is cleared manually
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

aldo

Oh, I guess that makes sense. I just thought otherwise because he said something about adding to table settings ;)

karlbenson

Installing a mod should automatically force a wipe of the cache dir.

I'll have a test of it later though

.LORD.

Excuse if I don't knew explained.

You can see from this example, with this package test.

Thanks.

karlbenson

Thx for the package.
Using it I was able to confirm the issue. SMF is only clearing language related cache files. When certain cache levels also cache the entire smf_settings table. So that needs clearing too

http://dev.simplemachines.org/mantis/view.php?id=3090

karlbenson

Update: The bug has been fixed in the svn. So it should be included in the next release (RC2?) when ever that is.

Thanks again for the report.

.LORD.


Advertisement: