Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter-Einstellungen im Contao-BE verursachen Fehler #10

Closed
TS16V opened this issue Oct 8, 2019 · 16 comments
Closed

Twitter-Einstellungen im Contao-BE verursachen Fehler #10

TS16V opened this issue Oct 8, 2019 · 16 comments

Comments

@TS16V
Copy link

TS16V commented Oct 8, 2019

Bei der twitter:card kommt eine falsche Angabe

<meta property="twitter:card" content="@mustermann" />

Dadurch schmeißt der Twitter-Validator ERROR aus "ERROR: Invalid card name (Card error)"

Weitere Info unter
https://community.contao.org/de/showthread.php?76106-Erweiterung-numero2-contao-opengraph3-in-Contao-4-8&p=512283#post512283

https://community.contao.org/de/showthread.php?76106-Erweiterung-numero2-contao-opengraph3-in-Contao-4-8&p=512283#post512283

@bennyborn
Copy link
Member

Kannst Du mal einen Screenshot aus dem Backend schicken wie Du die entsprechenden Felder befüllt hast? Ich kann aktuell nicht erkennen wie sowas zustande kommt.

@TS16V
Copy link
Author

TS16V commented Oct 8, 2019 via email

@bennyborn
Copy link
Member

Einen Anhang kann ich hier leider nicht sehen.
Versuch es bitte mal hier direkt in den Issues, nicht via E-Mail.

Ja, bei twitter:card müsste eigentlich summaryoder summary_large_image stehen. Da es sich um ein einfaches Dropdown handelt kann ich mir nicht erklären wie Du da etwas anderes reinbekommen haben solltest.

@TS16V
Copy link
Author

TS16V commented Oct 9, 2019 via email

@bennyborn
Copy link
Member

Ich glaube Du verstehst nicht ganz. Es funktionieren keine Anhänge in den Mails. Du müsstest das schon direkt hier bei Github in das Issue packen ;)

@TS16V TS16V closed this as completed Oct 9, 2019
@TS16V
Copy link
Author

TS16V commented Oct 9, 2019

Gute Frage, wo kann ich die Screens hier den hochladen?

@TS16V TS16V reopened this Oct 9, 2019
@bennyborn
Copy link
Member

Einfach per Drag n Drop in das Textfeld reinziehen.

@TS16V
Copy link
Author

TS16V commented Oct 9, 2019

Unbenannt-3

Unbenannt-4

@TS16V
Copy link
Author

TS16V commented Oct 9, 2019

Danke für den Tipp.. Ich suchte nach einem Upload-Button...

@bennyborn
Copy link
Member

Du hast die tl_page nicht zufällig mal direkt über die Datenbank bearbeitet und versehentlich ins falsche Feld Dein @T... eingesetzt? Wie gesagt twitter:card kann eigentlich nur zwei mögliche Werte haben und wir konnten den Fehler bisher nicht reproduzieren.

@TS16V
Copy link
Author

TS16V commented Oct 9, 2019

Nicht das ich wüsste. Ich habe im Contao BE unter Templates die fe_page bearbeitet, etwas hinzugefügt.

@TS16V
Copy link
Author

TS16V commented Oct 9, 2019

Kann es sein, daß die Erweiterung sich mit einer anderen Erweiterung nicht verträgt?

@bennyborn
Copy link
Member

Nicht das uns da was bekannt wäre. Wollen wir vielleicht den kurzen Weg nehmen und Du klingelst mal kurz bei uns durch? Die Nummer findest Du auf numero2.de

@TS16V
Copy link
Author

TS16V commented Oct 9, 2019

Ich melde mich dann mal. Ich lösche erstmal über den Contao-Manager die Erweiterung und installiere sie nochmal neu. Vielleicht funktioniert es dann..

@TS16V
Copy link
Author

TS16V commented Oct 9, 2019

Habe die Erweiterung nochmal neu aufgespielt, es kommt das gleiche Problem :-(
Beim Installieren kam folgende Fehlermeldung:

`$ /usr/local/bin/php_cli '-q' '/html/ips/web/contao-manager.phar.php' 'composer' 'require' 'numero2/contao-opengraph3' '--no-suggest' '--no-update' '--no-scripts' '--prefer-stable' '--sort-packages' '--no-ansi' '--no-interaction' 2>&1

Using version ^4.1 for numero2/contao-opengraph3
/html/ips/composer.json has been updated

Process terminated with exit code 0

Result: OK


Der Hintergrundprozess wurde unerwartet beendet ###`

Das Fenster mit dieser Meldung lies sich nicht mehr schließen. Ich hab dann das Browserfenster geschlossen und mich im Contao-Manager neu angemeldet. Dann ging der Vorgang weiter und es kam diese Meldung in einem grünen Fesnter:

`$ /usr/local/bin/php_cli '-q' '/html/ips/web/contao-manager.phar.php' 'composer' 'require' 'numero2/contao-opengraph3' '--no-suggest' '--no-update' '--no-scripts' '--prefer-stable' '--sort-packages' '--no-ansi' '--no-interaction' 2>&1

Using version ^4.1 for numero2/contao-opengraph3
/html/ips/composer.json has been updated

Process terminated with exit code 0

Result: OK

Resolving dependencies using Composer Cloud v2.0.11

Job ID 2MUrLF3smSIBPJjnaOzWdRtx90ho5Ond3iGBVgrGIIE6BnVwBdFDLv6kUjlIMvlkntDBgQ9IQmlvXkKkdLQ4w6eucfY3nng39IzIYOOfsTe completed in 232 seconds

Memory usage: 719.14MB (peak: 2580.43MB), time: 79.25s.

$ /usr/local/bin/php_cli '-q' '/html/ips/web/contao-manager.phar.php' 'composer' 'install' '--prefer-dist' '--no-dev' '--no-progress' '--no-suggest' '--no-ansi' '--no-interaction' '--optimize-autoloader' 2>&1

Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 1 install, 0 updates, 0 removals
As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.

  • Installing numero2/contao-opengraph3 (v4.1.4): Loading from cache
    Generating optimized autoload files
    ocramius/package-versions: Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class

Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added the web/preview.php file.
Added the web/app.php file.
Added the web/index.php file.

// Clearing the cache for the prod environment with debug
// false

[OK] Cache for the "prod" environment (debug=false) was successfully cleared.

// Warming up the cache for the prod environment with debug
// false

[OK] Cache for the "prod" environment (debug=false) was successfully warmed.

Trying to install assets as relative symbolic links.


  Bundle                        Method / Error    

✔ ContaoCoreBundle relative symlink
✔ ContaoFaqBundle relative symlink
✔ ContaoNewsBundle relative symlink
✔ ContaoNewsletterBundle relative symlink
✔ SoftleisterBackupDbBundle relative symlink
✔ HofffContaoShariffBundle relative symlink
✔ CodefogNewsCategoriesBundle relative symlink
✔ ContaoCalendarBundle relative symlink
✔ ContaoCommentsBundle relative symlink
✔ MarketingSuiteBundle relative symlink


[OK] All assets were successfully installed.


  Symlink                                         Target / Error                                                  

✔ web/files/layout files/layout
✔ web/files/be_contao_intern files/be_contao_intern
✔ web/files/content files/content
✔ web/system/modules/notification_center/assets system/modules/notification_center/assets
✔ web/system/modules/easy_themes/html system/modules/easy_themes/html
✔ web/system/modules/seo_serp_preview/assets system/modules/seo_serp_preview/assets
✔ web/system/modules/cookiebar/assets system/modules/cookiebar/assets
✔ web/system/modules/dk_mmenu/assets system/modules/dk_mmenu/assets
✔ web/system/modules/dcawizard/assets system/modules/dcawizard/assets
✔ web/system/modules/opengraph3/assets system/modules/opengraph3/assets
✔ web/system/modules/m17StickyBEFooter/assets system/modules/m17StickyBEFooter/assets
✔ web/system/modules/haste/assets system/modules/haste/assets
✔ system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible
✔ web/assets assets
✔ web/system/themes system/themes
✔ system/logs var/logs


Done! Please open the Contao install tool and make sure the database is up-to-date.

Process terminated with exit code 0

Result: OK`

Danach habe ich das Install-Tool aufgerufen, dann den Prod-Cach erneuert und dann im Contao BE die Systemwartung durchgeführt.

Das obige Problem besteht weiter hin.
Ich würde mich dann mal melden, falls ihr mit den Fehlermeldungen hier nix anfangen könnt.

@bennyborn
Copy link
Member

Interessant was der Manager hier macht weil das Log vom Composer besagt ja eindeutig das die Installation erfolgreich war :D

michb pushed a commit that referenced this issue Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants