htdocs/install/page_modulesinstall.php
TODO found Open
Open
//TODO: Insert Protector installation - leads to blank page as it is now.
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= '<div id="modinstall" name="install_mods[]">';
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= '</div>';
- Exclude checks
Call to method getAvailable
from undeclared class \icms_module_Handler
Open
Open
$langarr = icms_module_Handler::getAvailable();
- Exclude checks
Variable $wizard
is undeclared Open
Open
$wizard->redirectToPage( '-3' );
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= _INSTALL_NO_PLUS_MOD;
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= "<div style='height:auto;max-height:400px;overflow:auto;'>".$dbm->report()."</div>";
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= '<div>'. _INSTALL_SELECT_MODS_INTRO .'</div>';
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= '<div class="dbconn_line">';
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= "<div class=\"langselect\" style=\"text-decoration: none;\"><a href=\"javascript:void(0);\" style=\"text-decoration: none;\"><img src=\"../modules/$lang/images/icon_small.png\" alt=\"$lang\" /><br />$lang <br /><input type=\"checkbox\" checked=\"checked\" name=\"install_mods[]\" value=\"$lang\" /></a></div>";
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= xoops_module_install($install_mods[$i]);
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= '<input type="hidden" name="mod" value="1" />';
- Exclude checks
Variable $wizard
is undeclared Open
Open
$wizard->redirectToPage( '+1' );
- Exclude checks
Variable $wizard
is undeclared Open
Open
$wizard->setPage( 'modulesinstall' );
- Exclude checks
Variable $wizard
is undeclared Open
Open
$wizard->redirectToPage( '+1' );
- Exclude checks
Call to method handler
from undeclared class \icms
Open
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= xoops_module_install('protector');
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= '<h3>'. _INSTALL_SELECT_MODULES.'</h3>';
- Exclude checks
Variable $content
was undeclared, but it is being used as the left-hand side of an assignment operation Open
Open
$content .= "</div><div class='clear'> </div>";
- Exclude checks
Blank line found at start of control structure Open
Open
} else {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (!defined( 'XOOPS_INSTALL' ) ) exit();
- Exclude checks
Inline control structures are not allowed Open
Open
if (!defined( 'XOOPS_INSTALL' ) ) exit();
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
include 'install_tpl.php';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$wizard->redirectToPage( '+1' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$wizard->setPage( 'modulesinstall' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$wizard->setPage( 'modulesinstall' );
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
Open
if (file_exists(ICMS_ROOT_PATH . '/modules/protector/icms_version.php')) {
- Exclude checks
Expected 1 space after second semicolon of FOR loop; 0 found Open
Open
for ($i = 0; $i <= count($install_mods)-1;$i++) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (empty( $process )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$wizard->redirectToPage( '+1' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$wizard->redirectToPage( '+1' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
if (!defined( 'XOOPS_INSTALL' ) ) exit();
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$wizard->redirectToPage( '-3' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
Open
$wizard->redirectToPage( '-3' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
$wizard->redirectToPage( '+1' );
- Exclude checks
Line indented incorrectly; expected 2 tabs, found 3 Open
Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (!defined( 'XOOPS_INSTALL' ) ) exit();
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
Open
if (empty( $process )) {
- Exclude checks