search on Tribe with a keyword doea not exist.
no messages for: No result found
but error:
Notice: Undefined variable: maxfilebytes in file /modules/yogurt/search_tribe.php line 87
Notice: Undefined variable: maxfilebytes in file /modules/yogurt/search_tribe.php line 89
Notice: Undefined variable: tribes in file /modules/yogurt/search_tribe.php line 127
Notice: Undefined variable: mytribes in file /modules/yogurt/search_tribe.php line 128
Notice: Undefined variable: barrinha_my in file /modules/yogurt/search_tribe.php line 135
Notice: Undefined variable: nb_mytribes in file /modules/yogurt/search_tribe.php line 136
Logged In: YES
user_id=1140548
Originator: NO
$maxfilebytes is not set anywhere, but do we need to upload files or know file upload size on the search page? maybe this is left in code that hasn't been removed???
also
/**
* Criando a barra de navegao caso tenha muitos amigos
*/
$barra_navegacao = new XoopsPageNav($nb_tribes,$xoopsModuleConfig['tribesperpage'],$start_all,'start_all','tribe_keyword='.$tribe_keyword.'&start_my='.$start_my);
$barrinha = $barra_navegacao->renderImageNav(2);
defines $barrinha but there isn't 1 for $barrinha_my, again i think this is code that doesn't need to be there anymore. altho i'm not familiar with the usage of the module, i'm just guessing on what i can see.
we have no defines either for $tribes or $my_tribes, again is this code meant to be here or should it be removed. or do we need to add the tribes define in as below??
$tribe_id = intval($_GET['tribe_id']);
$criteria= new criteria('tribe_id',$tribe_id);
$tribes = $controler->tribes_factory->getObjects($criteria);
$tribe = $tribes[0];