I am new to XOOPS and PHP/MySQL,
Please help me understand what is going on with this eror and What I need to do. Thanks,
XOOPS v2.0.7.3
PHP Inof at
http://munyak.com/phpinfo.phpxt_conteudo content manager
the error message was:Notice [PHP]: Undefined variable: content in file modules/system/admin/modulesadmin/modulesadmin.php line 285
Here is a section of code being reference in the above three lines.Line 285 is... if (!$content) {
if ((isset($block['template']) && trim($block['template']) != ''))
{
$content =& xoops_module_gettemplate($dirname, $block['template'], true);
}
if (!$content) {
$content = '';
} else {
$template = trim($block['template']);
}
Themessage following the install wasMessage after installing XT_Conteudo
Version: 1.52
Author: Fernando Santos (aka topet05)
Original Version:Tobias Liegl (AKA CHAPI)
SQL file found at /home/munyakc/public_html/xoops/modules/xt_conteudo/sql/mysql.sql.
Creating tables...
Table xoops_xt_conteudo created.
Module data inserted successfully. Module ID: 10
Adding templates...
Template xt_index.html added to the database. (ID: 232)
Template xt_index.html compiled.
Adding blocks...
Block Menu added. Block ID: 30
Template xt_nav_block.html added to the database. (ID: 233)
Template xt_nav_block.html compiled.
Block List Menu added. Block ID: 31
Block Menus and submenus added. Block ID: 32
Block Tree Menu added. Block ID: 33
Adding module config data...
Config xt_wysiwyg added to the database.
Config com_rule added to the database.
Config option added. Name: _CM_COMNOCOM Value: 0
Config option added. Name: _CM_COMAPPROVEALL Value: 1
Config option added. Name: _CM_COMAPPROVEUSER Value: 2
Config option added. Name: _CM_COMAPPROVEADMIN Value: 3
Config com_anonpost added to the database.
Setting group rights...
Added admin access right for Group ID 1
Added user access right for Group ID: 1
Added block access right. Block ID: 30 Group ID: 1
Added block access right. Block ID: 31 Group ID: 1
Added block access right. Block ID: 32 Group ID: 1
Added block access right. Block ID: 33 Group ID: 1
Added user access right for Group ID: 2
Added block access right. Block ID: 30 Group ID: 2
Added block access right. Block ID: 31 Group ID: 2
Added block access right. Block ID: 32 Group ID: 2
Added block access right. Block ID: 33 Group ID: 2
Module XT-Conteúdo installed successfully.
Back to Module Administration page