Je vois des des visages connus ici
Je vais essayer de ne pas trop vous embêter avec mes soucis, il est vrai que j'ai des fois un peu de mal avec les codes...
J'ai lu le tuto concernant les patchs et j'ai un peu de mal à tout comprendre...
J'ai récupéré celui qui permet de faire la mise à jour manuelle de mon forum 3.07pl a 3.08 http://www.phpbb.com/downloads/olympus.php?update=1
J'ai ce fichier: phpBB-3.0.7-PL1_to_3.0.8.patch
Un dossier : docs
Un dossier : install
Si vous m'aidez à déchiffrez la première modif je me débrouille pour le reste:
diff -x images -crNEB release-3.0.7-PL1/adm/index.php release-3.0.8/adm/index.php
*** release-3.0.7-PL1/adm/index.php 2010-03-05 22:22:39.000000000 +0100
--- release-3.0.8/adm/index.php 2010-11-19 13:22:36.000000000 +0100
***************
*** 432,437 ****
--- 432,451 ----
{
$error[] = sprintf($user->lang['SETTING_TOO_BIG'], $user->lang[$config_definition['lang']], $validator[$max]);
}
+
+ if (strpos($config_name, '_max') !== false)
+ {
+ // Min/max pairs of settings should ensure that min <= max
+ // Replace _max with _min to find the name of the minimum
+ // corresponding configuration variable
+ $min_name = str_replace('_max', '_min', $config_name);
+
+ if (isset($cfg_array[$min_name]) && is_numeric($cfg_array[$min_name]) && $cfg_array[$config_name] < $cfg_array[$min_name])
+ {
+ // A minimum value exists and the maximum value is less than it
+ $error[] = sprintf($user->lang['SETTING_TOO_LOW'], $user->lang[$config_definition['lang']], (int) $cfg_array[$min_name]);
+ }
+ }
break;
// Absolute path
***************
*** 533,539 ****
// Check if the path is writable
if ($config_definition['validate'] == 'wpath' || $config_definition['validate'] == 'rwpath')
{
! if (file_exists($phpbb_root_path . $cfg_array[$config_name]) && !@is_writable($phpbb_root_path . $cfg_array[$config_name]))
{
$error[] = sprintf($user->lang['DIRECTORY_NOT_WRITABLE'], $cfg_array[$config_name]);
}
--- 547,553 ----
// Check if the path is writable
if ($config_definition['validate'] == 'wpath' || $config_definition['validate'] == 'rwpath')
{
! if (file_exists($phpbb_root_path . $cfg_array[$config_name]) && !phpbb_is_writable($phpbb_root_path . $cfg_array[$config_name]))
{
$error[] = sprintf($user->lang['DIRECTORY_NOT_WRITABLE'], $cfg_array[$config_name]);
Le fichier à modifier est: adm/index.php
1: Que dois-je copier et coller ?
2: Qu'est ce que : // Absolute path ?
3: Dois-je remplacer le contenu du dossier docs ?
Merci dans l'attente
Cdt Dan