1
donnoman
Re: FRESH Xoops 2.0.9.2 Install --- MODULES NOT WORKING ?
  • 2005/2/13 18:05

  • donnoman

  • Just popping in

  • Posts: 1

  • Since: 2005/2/13


xoops-2.0.9.2 && php-4.3.10
After new install on Win 2k IIS 5 when you click on anything in the system admin menu you get:
Quote:

Selected module does not exist!

find in include/common.php:
if ( !isset( $_SERVER'REQUEST_URI' ] ) ) {         // Not defined by IIS
        // Under some configs, IIS makes SCRIPT_NAME point to php.exe :-(
        
if ( !( $_SERVER'REQUEST_URI' ] = @$_SERVER['PHP_SELF'] ) ) {
            
$_SERVER'REQUEST_URI' ] = $_SERVER['SCRIPT_NAME'];
        }
        if ( isset( 
$_SERVER'QUERY_STRING' ] ) ) {
            
$_SERVER'REQUEST_URI' ] .= '?' $_SERVER'QUERY_STRING' ];
        }
    }

Even though the 'REQUEST_URI' appears to be nul, isset is returning 1.
From phpinfo();
Quote:

_SERVER["REQUEST_URI"] no value

change to:
if ( !$_SERVER'REQUEST_URI' ] )  {         // Not defined by IIS - isset returns 1 even when blank
        // Under some configs, IIS makes SCRIPT_NAME point to php.exe :-(
        
if ( !( $_SERVER'REQUEST_URI' ] = @$_SERVER['PHP_SELF'] ) ) {
            
$_SERVER'REQUEST_URI' ] = $_SERVER['SCRIPT_NAME'];
        }
        if ( isset( 
$_SERVER'QUERY_STRING' ] ) ) {
            
$_SERVER'REQUEST_URI' ] .= '?' $_SERVER'QUERY_STRING' ];
        }
    }




TopTop



Login

Who's Online

224 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Feb 29
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits