Re: [Edit] Mise a jour de 2.0.6 a 2.4.0 | Titre du sujet : Re: [Edit] Mise a jour de 2.0.6 a 2.4.0 par Lucja sur 17/01/2010 15:29:36
Citation : bendenice a écrit: par filezilla (ftp) puis clique droit sur mainfile.php puis permission puis en bas tu met 777 une fois fini tu remet 444
excusez moi du retard free ma coupé internet ...
J'ai fait ca mais j'ai toujours Checking read and write access to ../mainfile.php : Failed. Please ensure ../mainfile.php is writable. Analyzing mainfile.php: Failed.
You should apply this update manually. Please follow the instructions provided on the next page.
Et quand je vais a la page suivante Citation :Manual installation instructions To manually modify your configuration site, please insert the following code after the definitions of XOOPS_ROOT_PATH and XOOPS_URL (and whatever happens, before the definition of any sensitive configuration constant like the XOOPS_DB_XXX ones:
// XOOPS Virtual Path (URL) // Virtual path to your main XOOPS directory WITHOUT trailing slash define('XOOPS_URL', 'http://mydomain.com'); define('XOOPS_CHECK_PATH', 1); // Protect against external scripts execution if safe mode is not enabled if ( XOOPS_CHECK_PATH && !@ini_get('safe_mode') ) { if ( function_exists('debug_backtrace') ) { $xoopsScriptPath = debug_backtrace(); if ( !count($xoopsScriptPath) ) { die("XOOPS path check: this file cannot be requested directly"); } $xoopsScriptPath = $xoopsScriptPath[0]['file']; } else { $xoopsScriptPath = isset($_SERVER['PATH_TRANSLATED']) ? $_SERVER['PATH_TRANSLATED'] : $_SERVER['SCRIPT_FILENAME']; } if ( DIRECTORY_SEPARATOR != '/' ) { // IIS6 may double the \ chars $xoopsScriptPath = str_replace( strpos( $xoopsScriptPath, '\\\\', 2 ) ? '\\\\' : DIRECTORY_SEPARATOR, '/', $xoopsScriptPath); } if ( strcasecmp( substr($xoopsScriptPath, 0, strlen(XOOPS_ROOT_PATH)), str_replace( DIRECTORY_SEPARATOR, '/', XOOPS_ROOT_PATH)) ) { exit("XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run."); } }
|
|