Ankündigung

Einklappen
Keine Ankündigung bisher.

LBS19000303 - Telegram Contact I LBS19000304 - Telegram Receiver I LBS19000645 - Telegram Command Validator

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • swb
    antwortet
    Zitat von ThomasCologne Beitrag anzeigen


    anbei die 0.7, funktioniert bei mir mit der 6.5
    die Datei ist leer, oder mach ich was falsch?

    Einen Kommentar schreiben:


  • McEgg
    antwortet
    Han den LBS jetzt komplett gelöscht. Dann nochmal neu installiert und die Logiken wieder erstellt. Jetzt geht es wieder. Ok, dachte es müsste auch funktionieren einfach die neue Version über die alte drüber zu bügeln...

    Einen Kommentar schreiben:


  • McEgg
    antwortet
    Hab die Version v1.1. Zumindest wird das angezeigt.

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Zitat von McEgg Beitrag anzeigen
    Niemand ne Idee, was ich machen könnte?
    Vielleicht auf die aktuelle Version des LBS updaten?

    Einen Kommentar schreiben:


  • McEgg
    antwortet
    Niemand ne Idee, was ich machen könnte?

    Einen Kommentar schreiben:


  • McEgg
    antwortet
    Ich häng mich mal mit dran, da ich den Fehler auch habe.
    Ich habe das Verzeichnis /usr/local/edomi/main/include/php/php-telegram-bot gelöscht und den Bot nach Anleitung neu installiert:
    yum install -y php-mbstring php-xml git wget php-process
    cd /tmp
    wget --no-check-certificate https://getcomposer.org/installer
    php installer
    mv composer.phar /usr/local/bin/composer
    cd /usr/local/edomi/main/include/php
    git clone https://github.com/php-telegram-bot/core
    mv core php-telegram-bot
    cd php-telegram-bot
    composer install
    Danach den Server neu gestartet. Aber ich bekomme den Fehler immer noch....


    Edit:
    Ach ne, hab doch ne anderen Fehler:
    Code:
    preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
    Trotzdem keine Lösung dafür.
    Zuletzt geändert von McEgg; 13.01.2020, 21:22.

    Einen Kommentar schreiben:


  • Pendragon
    antwortet
    Zitat von jonofe Beitrag anzeigen
    Verzeichnis löschen
    Habe das jetzt nochmal mit Löschen des Verzeichnisses gemacht, und... Kaum macht man's richtig, funktioniertes auch!

    Dank Dir!

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Das ist wirklich seltsam.
    Hast du denn php-telegram-bot auch komplett neu installiert? (d.h. Verzeichnis löschen und dann erst die Installationsbefehle ausführen)

    Einen Kommentar schreiben:


  • Pendragon
    antwortet
    Zitat von jonofe Beitrag anzeigen
    CentOS7 mit PHP7.x? Nutzt du die neueste Version der LBS?
    Richtig. Habe den Rechner komplett neu mit dem Installationskript neu aufgesetzt. Verwende die 1.1 Version.

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Zitat von Pendragon Beitrag anzeigen
    Hilft bei mir leider nicht.
    CentOS7 mit PHP7.x? Nutzt du die neueste Version der LBS?

    Einen Kommentar schreiben:


  • Pendragon
    antwortet
    Zitat von Winni Beitrag anzeigen
    Ich wollte gerade testen.... es ging nicht mal mehr der Text, habe EDOMI durchgestartet (wie schon so oft bei meinen Tests) und schon funktionierts
    Hilft bei mir leider nicht.
    Habe jetzt mit Edomi 2 schon ein neues ARchiv angelegt und auch versucht die Bilder manuell zu schicken. Text geht, aber die Video kommen mit dem Fehler
    Code:
     [TABLE="border: 0, cellpadding: 0, cellspacing: 0"]
     	 		[TR]
     			[TD]Datei: /usr/local/edomi/www/data/liveproject/lbs/EXE19000303.php | Fehlercode: 0 | Zeile: 216 | Call to protected method Longman\TelegramBot\Request::encodeFile() from context ''[/TD]
     			[TD]EXCEPTION[/TD]
     		[/TR]
     	 [/TABLE]

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Ja, der geht nur mit PHP7.x, d.h. CentOS7.

    Einen Kommentar schreiben:


  • trcharlie
    antwortet
    Hallo, ich versuche gerade den 19000303 ans laufen zu bekommen, scheitere aber leider an der Installation.
    Ich verwende die Version 0.8.5. auf CentOS 6.5 mit PHP 5.3.3.
    Beim letzten auszuführenden Befehl in CentOS geschieht folgendes:
    Code:
    composer install
    ergibt
    Code:
    Your version of PHP, 5.3.3, is affected by CVE-2013-6420 and cannot safely perform certificate validation, we strongly suggest you upgrade.
    Do not run Composer as root/super user! See https://getcomposer.org/root for details
    Loading composer repositories with package information
    Installing dependencies (including require-dev) from lock file
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
    Your requirements could not be resolved to an installable set of packages.
    
      Problem 1
        - This package requires php ^5.5|^7.0 but your PHP version (5.3.3) does not satisfy that requirement.
      Problem 2
        - Installation request for guzzlehttp/guzzle 6.3.3 -> satisfiable by guzzlehttp/guzzle[6.3.3].
        - guzzlehttp/guzzle 6.3.3 requires php >=5.5 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 3
        - Installation request for guzzlehttp/promises v1.3.1 -> satisfiable by guzz                                                                                                                     lehttp/promises[v1.3.1].
        - guzzlehttp/promises v1.3.1 requires php >=5.5.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 4
        - Installation request for guzzlehttp/psr7 1.6.1 -> satisfiable by guzzlehttp/psr7[1.6.1].
        - guzzlehttp/psr7 1.6.1 requires php >=5.4.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 5
        - Installation request for ralouphie/getallheaders 3.0.3 -> satisfiable by r                                                                                                                     alouphie/getallheaders[3.0.3].
        - ralouphie/getallheaders 3.0.3 requires php >=5.6 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 6
        - Installation request for dms/phpunit-arraysubset-asserts v0.1.0 -> satisfiable by dms/phpunit-arraysubset-asserts[v0.1.0].
        - dms/phpunit-arraysubset-asserts v0.1.0 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 7
        - Installation request for doctrine/instantiator 1.2.0 -> satisfiable by doc                                                                                                                     trine/instantiator[1.2.0].
        - doctrine/instantiator 1.2.0 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 8
        - Installation request for monolog/monolog 2.0.0 -> satisfiable by monolog/monolog[2.0.0].
        - monolog/monolog 2.0.0 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 9
        - Installation request for myclabs/deep-copy 1.9.3 -> satisfiable by myclabs/deep-copy[1.9.3].
        - myclabs/deep-copy 1.9.3 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 10
        - Installation request for phar-io/manifest 1.0.3 -> satisfiable by phar-io/manifest[1.0.3].
        - phar-io/manifest 1.0.3 requires php ^5.6 || ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 11
        - Installation request for phar-io/version 2.0.1 -> satisfiable by phar-io/version[2.0.1].
        - phar-io/version 2.0.1 requires php ^5.6 || ^7.0 -> your PHP version (5.3.3 ) does not satisfy that requirement.
      Problem 12
        - Installation request for phpdocumentor/reflection-common 2.0.0 -> satisfiable by phpdocumentor/reflection-common[2.0.0].
        - phpdocumentor/reflection-common 2.0.0 requires php >=7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 13
        - Installation request for phpdocumentor/reflection-docblock 4.3.2 -> satisfiable by phpdocumentor/reflection-docblock[4.3.2].
        - phpdocumentor/reflection-docblock 4.3.2 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 14
        - Installation request for phpdocumentor/type-resolver 1.0.1 -> satisfiable by phpdocumentor/type-resolver[1.0.1].
        - phpdocumentor/type-resolver 1.0.1 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 15
        - Installation request for phpunit/php-code-coverage 7.0.8 -> satisfiable by phpunit/php-code-coverage[7.0.8].
        - phpunit/php-code-coverage 7.0.8 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 16
        - Installation request for phpunit/php-file-iterator 2.0.2 -> satisfiable by phpunit/php-file-iterator[2.0.2].
        - phpunit/php-file-iterator 2.0.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 17
        - Installation request for phpunit/php-timer 2.1.2 -> satisfiable by phpunit/php-timer[2.1.2].
        - phpunit/php-timer 2.1.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 18
        - Installation request for phpunit/php-token-stream 3.1.1 -> satisfiable by phpunit/php-token-stream[3.1.1].
        - phpunit/php-token-stream 3.1.1 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 19
        - Installation request for phpunit/phpunit 8.4.1 -> satisfiable by phpunit/phpunit[8.4.1].
        - phpunit/phpunit 8.4.1 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 20
        - Installation request for sebastian/code-unit-reverse-lookup 1.0.1 -> satisfiable by sebastian/code-unit-reverse-lookup[1.0.1].
        - sebastian/code-unit-reverse-lookup 1.0.1 requires php ^5.6 || ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 21
        - Installation request for sebastian/comparator 3.0.2 -> satisfiable by seba                                                                                                                     stian/comparator[3.0.2].
        - sebastian/comparator 3.0.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 22
        - Installation request for sebastian/diff 3.0.2 -> satisfiable by sebastian/diff[3.0.2].
        - sebastian/diff 3.0.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 23
        - Installation request for sebastian/environment 4.2.2 -> satisfiable by seb                                                                                                                     astian/environment[4.2.2].
        - sebastian/environment 4.2.2 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 24
        - Installation request for sebastian/exporter 3.1.2 -> satisfiable by sebastian/exporter[3.1.2].
        - sebastian/exporter 3.1.2 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 25
        - Installation request for sebastian/global-state 3.0.0 -> satisfiable by sebastian/global-state[3.0.0].
        - sebastian/global-state 3.0.0 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 26
        - Installation request for sebastian/object-enumerator 3.0.3 -> satisfiable by sebastian/object-enumerator[3.0.3].
        - sebastian/object-enumerator 3.0.3 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 27
        - Installation request for sebastian/object-reflector 1.1.1 -> satisfiable by sebastian/object-reflector[1.1.1].
        - sebastian/object-reflector 1.1.1 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 28
        - Installation request for sebastian/recursion-context 3.0.0 -> satisfiable by sebastian/recursion-context[3.0.0].
        - sebastian/recursion-context 3.0.0 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 29
        - Installation request for sebastian/resource-operations 2.0.1 -> satisfiable by sebastian/resource-operations[2.0.1].
        - sebastian/resource-operations 2.0.1 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 30
        - Installation request for sebastian/type 1.1.3 -> satisfiable by sebastian/type[1.1.3].
        - sebastian/type 1.1.3 requires php ^7.2 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 31
        - Installation request for sebastian/version 2.0.1 -> satisfiable by sebastian/version[2.0.1].
        - sebastian/version 2.0.1 requires php >=5.6 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 32
        - Installation request for squizlabs/php_codesniffer 3.5.1 -> satisfiable by                                                                                                                      squizlabs/php_codesniffer[3.5.1].
        - squizlabs/php_codesniffer 3.5.1 requires php >=5.4.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 33
        - Installation request for theseer/tokenizer 1.1.3 -> satisfiable by theseer/tokenizer[1.1.3].
        - theseer/tokenizer 1.1.3 requires php ^7.0 -> your PHP version (5.3.3) does not satisfy that requirement.
      Problem 34
        - doctrine/instantiator 1.2.0 requires php ^7.1 -> your PHP version (5.3.3) does not satisfy that requirement.
        - phpspec/prophecy 1.9.0 requires doctrine/instantiator ^1.0.2 -> satisfiable by doctrine/instantiator[1.2.0].
        - Installation request for phpspec/prophecy 1.9.0 -> satisfiable by phpspec/prophecy[1.9.0].
    Sagt mir jetzt, dass die php-version nicht passt. Ich möchte momentan, nachdem das System läuft, ungern auf CentOS 7 updaten. Gibt es zu dem obigen Problem vielleicht einen schnellen Fix? Oder ist eine Verwendung von CentOS 7 mittlerweile unbedingt notwendig aufgrund der Abhängigkeiten?

    Einen Kommentar schreiben:


  • givemeone
    antwortet
    Spannend. Die komplette Neuinstallation (miz frischem OS) hat folgende Fehlermeldung gebracht:
    Code:
    Zeile: 114 | Class 'Longman\TelegramBot\Entities\Keyboard' not found
    Tatsächlich hat die Datei gefehlt. Nach dem Installieren eines Updates von GIT wurde auch diese Datei
    ausgechecked, womit es funktioniert. Sehr seltsam...
    Danke für deine Hilfestellung!!

    Einen Kommentar schreiben:


  • jonofe
    antwortet
    Das sieht so aus als würde das EXEC Skript nicht laufen. Warum das so ist, kann ich allerdings nicht nachvolziehen.
    In der v0.9 sollte eigentlich unter CentOS7 nur das Versenden von Texten funktionieren, falls ich mich noch richtig erinnere und das Changelog stimmt.
    Hattest du das alte php-telegram-bot Verzeichnis gelöscht bevor du die Installation gemacht hast? Falls nein, wäre das noch eine Möglichkeit das zu testen.

    Einen Kommentar schreiben:

Lädt...
X