Pagine: [1]

config moodle

config moodle
« inserita:: Agosto 09, 2008, 04:57:47 pm »

 ALL DONE!  To continue installation, visit your main page with a browser
//=========================================================================
if ($CFG->wwwroot == 'http://example.com/moodle') {
    echo "<p>Error detected in configuration file</p>";
    echo "<p>Your server address can not be: \$CFG->wwwroot = 'http://example.com/moodle';</p>";
    die;
}

if (file_exists("$CFG->dirroot/lib/setup.php"))  {       // Do not edit
    include_once("$CFG->dirroot/lib/setup.php");
} else {
    if ($CFG->dirroot == dirname(__FILE__)) {
        echo "<p>Could not find this file: $CFG->dirroot/lib/setup.php</p>";
        echo "<p>Are you sure all your files have been uploaded?</p>";
    } else {
        echo "<p>Error detected in config.php</p>";
        echo "<p>Error in: \$CFG->dirroot = '$CFG->dirroot';</p>";
        echo "<p>Try this: \$CFG->dirroot = '".dirname(__FILE__)."';</p>";
    }
    die;
}

Alla fine del file config.dist.php esce questa scritta in rosso.
Cosa c'è di errato? O è normale? Non mi sembra.

Registrato
Re: config moodle
« Risposta #1 inserita:: Agosto 09, 2008, 05:07:48 pm »

A proposito, voglio fare una precisazione:
al posto della scritta localhost ho inserito il numero 80.67.112.232, che appare sotto i messaggi.
Non so se ho fatto bene.
 Auguri di un buon Ferragosto a chi legge questo messaggio e anhe un grazie a chi vorrà rispondere.
otilopad.
Registrato
  • Expo
  • Administrator
  • Power user
  • *****
  • Messaggi: 344
  • Mostra profilo
Re: config moodle
« Risposta #2 inserita:: Agosto 09, 2008, 05:15:54 pm »

al posto della scritta localhost ho inserito il numero 80.67.112.232, che appare sotto i messaggi.

Appunto hai sbagliato... Quello è il TUO IP inserisci localhost!
Registrato


Re: config moodle
« Risposta #3 inserita:: Agosto 10, 2008, 12:30:41 am »

Anche con localhost non cambia niente.
Devo vedere dove sbaglio.
otilopad
Registrato
Pagine: [1]
Vai a: