MoveTopic problem or bug maybe

Started by Grand Duke, March 29, 2013, 01:52:10 AM

Previous topic - Next topic

Grand Duke

I have some boards without any topics. On moving topic from Display messages via button, I have permanently errors for each boards and some duoble boards in list:
8: Undefined index: child_level
File: /Themes/default/MoveTopic.template.php (main sub template - eval?)
Line: 42

8: Undefined index: selected
File: /Themes/default/MoveTopic.template.php (main sub template - eval?)
Line: 42

Similar boards list from Messages index forever working correctly.

After little research i found that MoveTopic.php has missing 'boards' index in some $context['categories']. This is result of next code portion in MoveTopic.php:
if (!isset($context['categories'][$row['id_cat']]))
$context['categories'][$row['id_cat']] = array (
'name' => strip_tags($row['cat_name']),
'boards' => array(),
);

Problem arise in case that $context['categories'] already exist, but it not has 'boards' array.

How quick fix this problem? Help, please! :'(

emanuele

Do you have mods installed?
Try doing some maintenance like find and repair all errors and recount statistics.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Grand Duke

Of cause I have installed mods, but its not touched this context. And I regularly start the repair procedure.
Similar problem already described in community about couple times (without any solution).
For example in KitSitmap XML output (unused in my forum).


emanuele

Would you mind listing the mods you have installed?

And maybe give also some more detailed informations about those boards?
And who is getting the error? You with an admin account or some other users?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Grand Duke

Sorry, this trouble did from not correctly uninstalled old version (2.1.1) KitSitemap mod :)
After cleaning it, boards list in MoveTopic  working without any errors.
Other words, problem is fixed.

Advertisement: