que tal comunidad, estoy usando moodle 3.0 la ultima version.. necesito un poco de asesoramiento- Les comento rapidamente mi incoveniente
me baje por FTP los archivos
* moodledata
*moodle
*bd SQL (la exporte)
en mi local utilizo linux (ubuntu) tengo instalado LAMPP corre perfecto Si tengo acceso a PHPmyadmin..
instale el directorio moodledata en la siguiente direccion /opt/lampp
instale el directorio moodle en /opt/lampp/htdocs
mi archivo config.php es el siguiente
$CFG->dbtype = 'mysqli';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'nombreBD';
$CFG->dbuser = '******';
$CFG->dbpass = '******';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbport' => '',
'dbsocket' => '',
);
$CFG->wwwroot = 'http://localhost:8080/moodle';
$CFG->dirroot = '/opt/lampp/htdocs/moodle';
$CFG->dataroot = '/opt/lampp/moodledata';
$CFG->directorypermissions = 0777;
@error_reporting(E_ALL | E_STRICT); // NOT FOR PRODUCTION SERVERS!
@ini_set('display_errors', '1'); // NOT FOR PRODUCTION SERVERS!
$CFG->debug = (E_ALL | E_STRICT); // === DEBUG_DEVELOPER - NOT FOR PRODUCTION SERVERS!
$CFG->debugdisplay = 1; // NOT FOR PRODUCTION SERVERS!
//require_once('$CFG->dirroot/lib/setup.php');
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;
}
?>
MI ERROR ES EL SIGUIENTE::
Coding error detected, it must be fixed by a programmer: File store path does not exist and can not be created.
Error code: codingerror
- line 642 of /cache/stores/file/lib.php: coding_exception thrown
- line 433 of /cache/stores/file/lib.php: call to cachestore_file->ensure_path_exists()
- line 533 of /cache/classes/loaders.php: call to cachestore_file->set()
- line 1398 of /cache/classes/loaders.php: call to cache->set()
- line 689 of /lib/dml/mysqli_native_moodle_database.php: call to cache_application->set()
- line 587 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_columns()
- line 1512 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
- line 1447 of /lib/moodlelib.php: call to moodle_database->get_field()
- line 808 of /lib/setuplib.php: call to get_config()
- line 639 of /lib/setup.php: call to initialise_cfg()
- line 35 of /config.php: call to include_once()
- line 30 of /index.php: call to require_once()
(Editado por Helen Foster to remove db username and password - envío original sábado, 9 de abril de 2016, 14:55)