Informations utilisateurs: Nous rapportons ici les erreurs Forum - Page 236 Avec les messages apparaissent plus d'erreur: Code: Catchable fatal error: Argument 3 passed to vbet_containsSeparated() must be an instance of int, integer given, called in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 158 and defined in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 173 Le fichier vbenterprisetranslator_functions_detection.php marquer comme commentaire les lignes suivantes: Code: //if(vbet_containsSeparated($message, $ignoredLen, $index)) {^M //$message = substr_replace($message, ''.$ignored.'« Index $, ignoredLen $) $ ^ M indice // + = VBET_NOTRANSLATE_LENGTH;} // ^ M ^ M Cette solution a permis, mais je ne sais pas si les commentaires ne marquent pas quelque chose d'important? Informacje od użytkowników: Tu zgłaszamy błędy na forum - Strona 236 Przy dłuższych postach pojawiał się błąd: Code: Catchable fatal error: Argument 3 passed to vbet_containsSeparated() must be an instance of int, integer given, called in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 158 and defined in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 173 W pliku vbenterprisetranslator_functions_detection.php oznaczyłem jako komentarz następujące linie: Code: //if(vbet_containsSeparated($message, $ignoredLen, $index)) {^M //$message = substr_replace($message, ''.$ignored.'', $index, $ignoredLen);^M //$index += VBET_NOTRANSLATE_LENGTH;^M //}^M To rozwiazanie pomoglo, ale nie wiem czy nie oznaczylem komentarzami czegos waznego?
Catchable fatal error: Argument 3 passed to vbet_containsSeparated() must be an instance of int, integer given, called in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 158 and defined in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 173
//if(vbet_containsSeparated($message, $ignoredLen, $index)) {^M //$message = substr_replace($message, ''.$ignored.'« Index $, ignoredLen $) $ ^ M indice // + = VBET_NOTRANSLATE_LENGTH;} // ^ M ^ M
//if(vbet_containsSeparated($message, $ignoredLen, $index)) {^M //$message = substr_replace($message, ''.$ignored.'', $index, $ignoredLen);^M //$index += VBET_NOTRANSLATE_LENGTH;^M //}^M
Vous commentant enroulant mots / phrases de messages provenant de bbcodes notranslate. Est-ce votre vbenterprisetranslator_functions_detection.php de fichier est certainement valide? Cette fonction devrait ressembler à ceci: PHP Code: if(vbet_containsSeparated($message,$ignoredLen, $index)) { $message = substr_replace($message, '[notranslate]'.$ignored.'[/notranslate]', $index, $ignoredLen); $index += VBET_NOTRANSLATE_LENGTH; } Vous pouvez télécharger le dernier fichier de mise à jour et vBET'a (je peux voir que vous utilisez la dernière version). Si vous ne l'ignorez pas les mots / phrases AdminCP->vBET->Translation Options->Ignored words/sentences alors cette fonction n'est pas que vous devez théoriquement. Ty zakomentowałeś opakowywanie słów/zdań z nadchodzących wiadomości w notranslate bbcode. Czy twój plik vbenterprisetranslator_functions_detection.php jest napewno aktualny? Ta funkcja powinna wyglądać następująco: PHP Code: if(vbet_containsSeparated($message,$ignoredLen, $index)) { $message = substr_replace($message, '[notranslate]'.$ignored.'[/notranslate]', $index, $ignoredLen); $index += VBET_NOTRANSLATE_LENGTH; } Ty możesz spróbować pobrać najnowszego vBET'a i zaktualizować plik (widzę, że używasz najnowszej wersji). Jeśli nie używasz ignorowanych słów/sentencji w AdminCP->vBET->Translation Options->Ignored words/sentences to wtedy ta funkcja nie jest ci teoretycznie potrzebna.
if(vbet_containsSeparated($message,$ignoredLen, $index)) { $message = substr_replace($message, '[notranslate]'.$ignored.'[/notranslate]', $index, $ignoredLen); $index += VBET_NOTRANSLATE_LENGTH; }
Dernière édition par le Marcin Kalak; 18-05-17 au 15:49.
Malheureusement, j'utilise Ignorer les mots. Parce qu'au lieu de l'Alfa Romeo Alpha Romeo me explique. Comment faire était ok? Avant d'acheter et d'installer la dernière version (il y a quelques jours) je la version gratuite. Peut-être est pourquoi ces fleurs? Niestety używam ignorowanych słów. Bo zamiast Alfa Romeo tłumaczy mi Alpha Romeo. Jak to zrobić żeby było ok? Przed zakupem i instalacją najnowszej wersji (kilka dni temu) używałem wersji bezpłatnej. Może dlatego takie kwiatki?
télécharger la dernière version Top à nouveau et vous VBET télécharger des fichiers à partir d'un dossier télécharger réécrites sur le serveur. Najlepiej jak pobierzesz ponownie najnowszą wersję vBET i wgrasz pliki z folderu upload nadpisując je na serwerze .
Pour résoudre ce problème : 1) ouvrir le fichier : includes/vbenterprisetranslator_functions_detection.php 2) Trouver la ligne: PHP Code: function vbet_containsSeparated($text, $ignoredLen, int $index) { 3) Remplacer pour: PHP Code: function vbet_containsSeparated($text, $ignoredLen, $index) { Ce changement s’appliquera dans la prochaine version de vBET. Veuillez noter que pour envelopper les vieux mots dans l’utilisation de la balise [notranslate] AdminCP->vBET Tools->Opaque Ignored Words. Aby rozwiązać tą kwestię należy: 1) Otwórz plik: includes/vbenterprisetranslator_functions_detection.php 2) Znajdź linię: PHP Code: function vbet_containsSeparated($text, $ignoredLen, int $index) { 3) Zastąp na: PHP Code: function vbet_containsSeparated($text, $ignoredLen, $index) { Zmiana ta zostanie wprowadzona w następnej wersji vBET. Proszę pamiętać, że aby opakować stare słowa w znacznik [notranslate] należy użyć opcji AdminCP->vBET Tools->Opaque Ignored Words.
function vbet_containsSeparated($text, $ignoredLen, int $index) {
function vbet_containsSeparated($text, $ignoredLen, $index) {
Dernière édition par le Marcin Kalak; 27-05-17 au 09:05.
View Tag Cloud
Règles du forum