XOOPS WAP Mobile
Fóruns
XOOPS Cube
- Traduções
- Tradução do erro relatado pela claudia
Detalhes:
Título: Tradução para o português do erro relatado pela claudia!
Autor: dantoso
Data: 2004-02-10 16:48
Conteúdo:

Hello People,
I found a small problem in the function of installation of modules. It does not affect the installation, but it does not show definitive message.
It is treated when the module executes script after installation, it does not show if it had success or not.
Affected file: xoops/modules/system/admin/modulesadmin/modulesadmin.php LINE 466
Original code:
// // execute module specific install script if any.
$install_script = $module->getInfo('onInstall');
If (false != $install_script && trim($install_script) != '') {
Include_once XOOPS_ROOT_PATH.'/modules/'.$dirname.'/'.trim($install_script);
If (function_exists('xoops2_module_install_'.$dirname)) {
$func = 'xoops2_module_install_'.$dirname;
If (!$func($module)) {
$msg[] = 'Failed estou execute '.$func;
} else {
$msg[] = ''.$func.' executed successfully.';
}
}
}
Where this the variable $msg[] would have estou be $msgs[]
Although estou be with XOOPS 2,0,5,1, I still verified in the code of XOOPS 2,0,6 RC and this making a mistake.
Thanks!
Claudia.
Member of XOOPS
Your house in XOOPS!
http://www.xoops.net.br
======================
Comentário:
Claudia, será que o erro continua na versão 2.0.6 ESTABLE?
======================



<< 1 (2)
Responder Editar Remover