Informācija no lietotājiem: Šeit mēs ziņo kļūdas Forums - Lapa 236 Ar garākiem posts parādās kļūda: 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 Fails vbenterprisetranslator_functions_detection.php atzīmēt to kā komentāru šādas rindas: Code: //if(vbet_containsSeparated($message, $ignoredLen, $index)) {^M //$message = substr_replace($message, ''.$ignored.''$ Index, ignoredLen $) $ ^ M // indekss + = VBET_NOTRANSLATE_LENGTH;} // ^ M ^ M Šis incidents risinājums palīdzēja, bet es nezinu, ja komentāri neiezīmē kaut ko svarīgu? 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 // indekss + = 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
Jūs komentējot iesaiņošana vārdus / teikumus ziņas nāk notranslate bbcodes. Vai jūsu fails vbenterprisetranslator_functions_detection.php noteikti ir derīgs? Šī funkcija būtu jāizskatās šādi: PHP Code: if(vbet_containsSeparated($message,$ignoredLen, $index)) { $message = substr_replace($message, '[notranslate]'.$ignored.'[/notranslate]', $index, $ignoredLen); $index += VBET_NOTRANSLATE_LENGTH; } Jūs varat mēģināt, lai lejupielādētu jaunāko atjauninājumu un vBET'a fails (es redzu, ka jūs izmantojat jaunāko versiju). Ja jums nav ignorēt vārdus / teikumus AdminCP->vBET->Translation Options->Ignored words/sentences tad šī funkcija nav teorētiski jums nepieciešams. 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; }
Pēdējo reizi Marcin Kalak; 18-05-17 pie 15:49.
Diemžēl, es izmantoju Ignorēt vārdus. Tā vietā, Alfa Romeo Alfa Romeo paskaidro man. Kā to darīt, bija ok? Pirms iegādes un uzstādīšanas jaunāko versiju (pirms pāris dienām), es izmantoju bezmaksas versiju. Varbūt tas ir iemesls, kāpēc šos ziedus? 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?
Top jauna lejupielādēt jaunāko versiju, un vBET jums augšupielādēt failus no mapes augšupielādēt pārrakstot tos uz servera. Najlepiej jak pobierzesz ponownie najnowszą wersję vBET i wgrasz pliki z folderu upload nadpisując je na serwerze .
Lai atrisinātu šo problēmu, ir šādas: 1) Atveriet failu: includes/vbenterprisetranslator_functions_detection.php 2) Atrast līnijas: PHP Code: function vbet_containsSeparated($text, $ignoredLen, int $index) { 3) aizstāšana: PHP Code: function vbet_containsSeparated($text, $ignoredLen, $index) { Šīs izmaiņas tiks ieviestas nākamajā versijā vBET. Lūdzu, ņemiet vērā, ka, lai wrap vecos vārdus tag [notranslate], lietošana 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) {
Pēdējo reizi Marcin Kalak; 27-05-17 pie 09:05.
Skatīt Tag Cloud
Foruma Noteikumi