Bonsoir, j'ai un souci avec un installation de moodle, j'ai une erreur en cour de route, voici ce qui est indiquer:
je vais donc avec netbeans à la ligne 4624 voici ce que j'ai
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 Parse error: syntax error, unexpected T_STRING in C:\wamp\www\moodle\lib\moodlelib.php(4624) : eval()'d code on line 1
sur netbeans il y a un message d'attention avec ces 2 lignes:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 /// First check all the normal locations for the string in the current language $resultstring = ''; foreach ($locations as $location) { $locallangfile = $location.$lang.'_local'.'/'.$module.'.php'; //first, see if there's a local file if (file_exists($locallangfile)) { if ($result = get_string_from_file($identifier, $locallangfile, "\$resultstring")) { eval($result); return $resultstring; } } //if local directory not found, or particular string does not exist in local direcotry $langfile = $location.$lang.'/'.$module.'.php'; if (file_exists($langfile)) { if ($result = get_string_from_file($identifier, $langfile, "\$resultstring")) { eval($result); return $resultstring; } } }
je n'arrive pas à voir un problème de quote, pouvez vous me dire si vous en avez trouver un ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 if ($result = get_string_from_file($identifier, $langfile, "\$resultstring")) { //ligne 4615 if ($result = get_string_from_file($identifier, $locallangfile, "\$resultstring")) {//ligne 4623
je vous remercie d'avance pour la réponse.







Répondre avec citation
Partager