Lupe statt Bilder

  • Affected Version
    WoltLab Suite 5.2

    Hallo,


    ich habe soeben das Upgrade von 4.1 auf 5.2 nach Anweisung durchgeführt. Grundsätzlich lief alles problemlos. Doch jetzt sehe ich, dass anstelle der Bilder in den Beiträgen bloß eine Lupe erscheint und bei Klick auf die Lupe nicht wirklich was passiert. Es dreht sich in der Bildansicht bloß der Ladekreis oder wie man es nennt.

    Aktualisierungen der Anzeigen habe ich der Reihe nach vorgenommen.

    Was kann das sein und wie kriege ich das wieder hin?

  • Aber irgendwas wird wohl mit den Pfaden nicht stimmen, oder?

    Failed to load resource: the server responded with a status of 404 () https://www.dieweltenbummler.de/Forum/wcf/attachment/9816-035-jpg/

  • Entweder stimmt der Pfad nicht die Rechte der Anhänge stimmen nicht oder die Anhänge sind nicht da.


    Am besten schaust du mal per FTP ob die Anhänge auch da sind wo sie sein sollen und prüfst die Rechte (CHMOD) ob man die Dateien auch aufrufen darf.

  • Na ja, im Verzeichnis /wcf/ sind die Dateianhänge in weiteren Verzeichnissen wie z. B. 00, 0a, 0b, 01, 1a, 1b usw.

    Und in diesen Verzeichnissen sind die Dateianhänge als "bin-Datei" gespeichert. So war das immer und hat sich jetzt auch nicht geändert.

  • Die Rechte sind bei den Dateien ganz unterschiedlich. Jedes Bild ist ja drei Mal als Datei vorhanden. Eine Datei hat die Rechte 755 und zwei weitere die Rechte 604.


    Die beiden mit der 604 sind die Dateien thumbnail und tiny.

  • Nein, hat nichts gebracht. Ist nicht so einfach, ein geeignetes Bild zu finden. Diese bin-Dateien sind ja verschlüsselt. Damit hängt das aber nicht zusammen, oder?

    Der Link zum Bild heißt ja wcf/attachment/img-1234-tralala.jpg

    Aber das Verzeichnis heißt weiterhin wcf/ef/1243-00fh8jn3nxc8en.bin


    Wie kann das passen?

  • Das ist schon alles richtig so bis auf das .bin das habe ich so noch nie gesehen. Steht das bei jeder Datei dabei? Ich würde mal versuchen das Testweise zu entfernen.


    Die Dateien sind nicht verschlüsselt, wenn du da den richtigen Suffix dran hängst .jpg, .gif usw. kann man die ganz normal öffnen.

  • Schau mal im Fehlerlog nach:


    ACP -> Verwaltung -> Fehler


    ob da was drin steht. Sonst weiß ich auch nix mehr.

  • Da habe ich gleich mehrere. Und ich kann mit keiner einzigen etwas anfangen. Das hier wäre die erste:


    Requested URL
    /Forum/tagged/214-berge/?objectType=com.woltlab.wbb.thread&pageNo=2
    Referrer
    Error Message
    Use of undefined constant OG_IMAGE - assumed 'OG_IMAGE' (this will throw an Error in a future version of PHP)
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (346)
    Stacktrace
    1. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/MetaTagHandler.class.php (46): wcf\system\WCF::handleError(…)
    2. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/SingletonFactory.class.php (25): wcf\system\MetaTagHandler->init(…)
    3. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/SingletonFactory.class.php (55): wcf\system\SingletonFactory->__construct(…)
    4. [internal function] (?): wcf\system\SingletonFactory::getInstance(…)
    5. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (840): call_user_func(…)
    6. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (809): wcf\system\WCF::__callStatic(…)
    7. /homepages/3/d24628755/htdocs/Forum/wcf/templates/compiled/0_wcf_1_userException.php (59): wcf\system\WCF->__call(…)
    8. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/template/TemplateEngine.class.php (321): include(…)
    9. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/exception/NamedUserException.class.php (35): wcf\system\template\TemplateEngine->display(…)
    10. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/exception/IllegalLinkException.class.php (31): wcf\system\exception\NamedUserException->show(…)
    11. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/request/RequestHandler.class.php (99): wcf\system\exception\IllegalLinkException->show(…)
    12. /homepages/3/d24628755/htdocs/Forum/index.php (9): wcf\system\request\RequestHandler->handle(…)
  • Nummer 2:


    Requested URL
    /Forum/gallery/image-list/?amp%3Bamp%3Bamp%3Bamp%3BpageNo=26&amp%3Bamp%3Bamp%3Bamp%3BsortField=comments&amp%3Bamp%3Bamp%3Bamp%3BsortOrder=ASC
    Referrer
    Error Message
    Use of undefined constant OG_IMAGE - assumed 'OG_IMAGE' (this will throw an Error in a future version of PHP)
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (346)
    Stacktrace
    1. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/MetaTagHandler.class.php (46): wcf\system\WCF::handleError(…)
    2. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/SingletonFactory.class.php (25): wcf\system\MetaTagHandler->init(…)
    3. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/SingletonFactory.class.php (55): wcf\system\SingletonFactory->__construct(…)
    4. [internal function] (?): wcf\system\SingletonFactory::getInstance(…)
    5. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (840): call_user_func(…)
    6. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (809): wcf\system\WCF::__callStatic(…)
    7. /homepages/3/d24628755/htdocs/Forum/wcf/templates/compiled/0_wcf_1_userException.php (59): wcf\system\WCF->__call(…)
    8. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/template/TemplateEngine.class.php (321): include(…)
    9. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/exception/NamedUserException.class.php (35): wcf\system\template\TemplateEngine->display(…)
    10. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/exception/IllegalLinkException.class.php (31): wcf\system\exception\NamedUserException->show(…)
    11. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/request/RequestHandler.class.php (99): wcf\system\exception\IllegalLinkException->show(…)
    12. /homepages/3/d24628755/htdocs/Forum/index.php (9): wcf\system\request\RequestHandler->handle(…)



    Nummer 3:


    Requested URL
    /Forum/gallery/image-list/?amp%3Bamp%3Bamp%3Bamp%3BpageNo=26&amp%3Bamp%3Bamp%3Bamp%3BsortField=cumulativeLikes&amp%3Bamp%3Bamp%3Bamp%3BsortOrder=DESC
    Referrer
    Error Message
    Use of undefined constant OG_IMAGE - assumed 'OG_IMAGE' (this will throw an Error in a future version of PHP)
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (346)
    Stacktrace
    1. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/MetaTagHandler.class.php (46): wcf\system\WCF::handleError(…)
    2. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/SingletonFactory.class.php (25): wcf\system\MetaTagHandler->init(…)
    3. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/SingletonFactory.class.php (55): wcf\system\SingletonFactory->__construct(…)
    4. [internal function] (?): wcf\system\SingletonFactory::getInstance(…)
    5. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (840): call_user_func(…)
    6. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (809): wcf\system\WCF::__callStatic(…)
    7. /homepages/3/d24628755/htdocs/Forum/wcf/templates/compiled/0_wcf_1_userException.php (59): wcf\system\WCF->__call(…)
    8. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/template/TemplateEngine.class.php (321): include(…)
    9. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/exception/NamedUserException.class.php (35): wcf\system\template\TemplateEngine->display(…)
    10. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/exception/IllegalLinkException.class.php (31): wcf\system\exception\NamedUserException->show(…)
    11. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/request/RequestHandler.class.php (99): wcf\system\exception\IllegalLinkException->show(…)
    12. /homepages/3/d24628755/htdocs/Forum/index.php (9): wcf\system\request\RequestHandler->handle(…)



    Nummer 4:


    Requested URL
    /Forum/thread/1720-bild-des-tages-2017/?postID=9417
    Referrer
    Error Message
    Use of undefined constant SHOW_STYLE_CHANGER - assumed 'SHOW_STYLE_CHANGER' (this will throw an Error in a future version of PHP)
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (335)
    Stacktrace
    1. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/style/StyleHandler.class.php (210): wcf\system\WCF::handleError(…)
    2. /homepages/3/d24628755/htdocs/Forum/wcf/templates/compiled/0_wcf_1_offline.php (457): wcf\system\style\StyleHandler->showStyleChanger(…)
    3. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/template/TemplateEngine.class.php (320): include(…)
    4. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/request/RequestHandler.class.php (86): wcf\system\template\TemplateEngine->display(…)
    5. /homepages/3/d24628755/htdocs/Forum/index.php (9): wcf\system\request\RequestHandler->handle(…)



    Nummer 5:

    Requested URL
    /Forum/thread/1519-vom-ruhrgebiet-zur-nordsee/?pageNo=2
    Referrer
    Error Message
    no default style defined
    Type
    wcf\system\exception\SystemException
    File (Line)
    /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/style/StyleHandler.class.php (102)
    Stacktrace
    1. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (430): wcf\system\style\StyleHandler->changeStyle(…)
    2. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (418): wcf\system\WCF->initStyle(…)
    3. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (158): wcf\system\WCF->initTPL(…)
    4. /homepages/3/d24628755/htdocs/Forum/wcf/global.php (13): wcf\system\WCF->__construct(…)
    5. /homepages/3/d24628755/htdocs/Forum/global.php (13): require_once(…)
    6. /homepages/3/d24628755/htdocs/Forum/index.php (9): require_once(…)



    Nummer 6:

    Requested URL
    /Forum/extended-latest-posts-search/?pastTime=604800&s=79813af305b0d40ce82764265ae4e0b9e5dd50dd
    Referrer
    Error Message
    no default style defined
    Type
    wcf\system\exception\SystemException
    File (Line)
    /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/style/StyleHandler.class.php (102)
    Stacktrace
    1. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (430): wcf\system\style\StyleHandler->changeStyle(…)
    2. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (418): wcf\system\WCF->initStyle(…)
    3. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (158): wcf\system\WCF->initTPL(…)
    4. /homepages/3/d24628755/htdocs/Forum/wcf/global.php (13): wcf\system\WCF->__construct(…)
    5. /homepages/3/d24628755/htdocs/Forum/global.php (13): require_once(…)
    6. /homepages/3/d24628755/htdocs/Forum/index.php (9): require_once(…)



    Nummer 7:

    Requested URL
    /Forum/thread/1258-zulassung-als-sonder-kfz-oder-als-pkw/
    Referrer
    Error Message
    no default style defined
    Type
    wcf\system\exception\SystemException
    File (Line)
    /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/style/StyleHandler.class.php (102)
    Stacktrace
    1. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (430): wcf\system\style\StyleHandler->changeStyle(…)
    2. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (418): wcf\system\WCF->initStyle(…)
    3. /homepages/3/d24628755/htdocs/Forum/wcf/lib/system/WCF.class.php (158): wcf\system\WCF->initTPL(…)
    4. /homepages/3/d24628755/htdocs/Forum/wcf/global.php (13): wcf\system\WCF->__construct(…)
    5. /homepages/3/d24628755/htdocs/Forum/global.php (13): require_once(…)
    6. /homepages/3/d24628755/htdocs/Forum/index.php (9): require_once(…)
  • Ist das alles was im Log von heute steht? Dann ist da nichts relevantes zu finden was das Problem mit den Anhängen betrifft.

  • Das ist alles vom Update kann man ignorieren. Hast du nichts mit "attachments" irgendwo?


    Mir fallen noch die Benutzerrecht ein:


    Benutzergruppe -> Allgemein -> Forum:


    Kann Dateianhänge hochladen


    Kann Dateianhangs-Vorschau sehen


    Steht das auf "Ja"?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!