Theme+ auf Contao 3.0.0 RC2

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

    #1

    Theme+ auf Contao 3.0.0 RC2

    Huhu,

    habe heute entdeckt, das im REPO nun auch Theme+ für Contao3.0.0RC2 - Contao3.0.0 zu haben ist.
    Habe ich direkt mal installiert, was soweit auch funktionierte.

    Wenn ich nun aber versuche Daten anzulegen (CSS, JS etc.) erhalte ich eine Fehlermeldung (Anhang).
    Mein Root-Server ist laut dem Contao-Check sowohl für Contao2 als auch Contao3 ohne Abstriche machen zu müssen einsetzbar.

    Gibt es hierzu evtl. eine Lösung?


    Edit: Soeben habe ich zudem festgestellt, dass mir [[TL_THEME_PLUS]] im Frontend (Seitenende) ausgegeben wird.
    Angehängte Dateien
    Zuletzt geändert von Gast; 19.10.2012, 15:42. Grund: Weiterer "Fehler"
  • xchs
    Administrator
    • 19.06.2009
    • 14682

    #2
    Wenn das Dein eigener Root-Server ist, dann kannst Du ja mal im Error-Log des Webservers nachschauen, was diesen Error 500 ausgelöst hat.
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]
    sigpic

    Kommentar

    • Celaniry

      #3
      Das dachte ich mir auch, jedoch steht in der error.log vom Apache rein gar nichts was in dieser Richtung helfen sollte und die phperror.log ist sogar vollkommen leer!

      Edit: Mein PHP läuft mit FastCGI. Hatte es vorhin testweiße als Apache-Modul laufen lassen, dann jedoch wäre der Safe-Mode-Hack notwendig den ich umgehen möchte (zumal FCGI doch sicherer ist). Selbst nach dem Umstellen war der Fehler weiterhin existent. Der Fehler existiert auch in Assetic. Sobald ich irgendwas via Theme+ oder Assetic hinzufüge erscheint der oben genannte Fehler immer und immer wieder. Die Apache2 Error-Logs zeigen keinerlei Informationen auf die nützlich wären. Der selbst definierte phperror.log (error_log = /var/www/vhosts/xxxxx/logs/phperror.log) ist vollkommen leer.

      Der Server ist ein Root-Server von Strato mit dem Betriebssystem Ubuntu und Plesk11 als Administrationsoberfläche.
      Zuletzt geändert von Gast; 20.10.2012, 13:01.

      Kommentar

      • tril
        Contao-Urgestein
        • 07.01.2010
        • 2939

        #4
        Der Fehler sollte in system/logs/error.log zu finden sein. Vorausgesetzt "Fehlermeldungen protokolieren" ist in den Systemeinstellungen aktiviert.

        Aber das sieht fast so aus, als ob deine Contao Version < 3.0.RC2 wäre.
        Wenn [[TL_THEME_PLUS]] noch zu sehen ist, dann sieht das so aus, als würde dir der replacyDynamicScriptTags Hook fehlen, der wurde erst in der RC2 hinzugefügt.

        Kommentar

        • Celaniry

          #5
          Code:
          [20-Oct-2012 10:32:52 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87[20-Oct-2012 10:32:53 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 10:36:34 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 10:52:28 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 10:52:32 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 10:56:10 UTC] 
          PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/library/Contao/System.php on line 110
          #0 [internal function]: __error(2, 'in_array() expe...', '/var/www/vhosts...', 110, Array)
          #1 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/library/Contao/System.php(110): in_array('getInstance', NULL)
          #2 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/drivers/DC_Table.php(2698): Contao\System->import('tl_theme_plus_v...')
          #3 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/classes/DataContainer.php(303): Contao\DC_Table->save('test')
          #4 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/drivers/DC_Table.php(1779): Contao\DataContainer->row('{variable_legen...')
          #5 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/classes/Backend.php(382): Contao\DC_Table->edit()
          #6 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/contao/main.php(121): Contao\Backend->getBackendModule('themes')
          #7 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/contao/main.php(319): Main->run()
          #8 {main}
          
          
          [20-Oct-2012 10:56:10 UTC] PHP Fatal error:  Class 'tl_theme_plus_variable' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/library/Contao/System.php on line 110
          [20-Oct-2012 17:26:32 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 17:27:02 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 17:27:04 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 17:27:10 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 17:27:12 UTC] PHP Fatal error:  Class 'Assetic\Model\FilterChainModel' not found in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/ThemePlus/DataContainer/File.php on line 87
          [20-Oct-2012 19:00:34 UTC] 
          PHP Warning: getimagesize(18;files/out-of-mana/out-of-mana-logo.png): failed to open stream: No such file or directory in /var/www/vhosts/xxxxxxxxxx.com/httpdocs/templates/unreal/pageimages_small-teaser.html5 on line 21
          #0 [internal function]: __error(2, 'getimagesize(18...', '/var/www/vhosts...', 21, Array)
          #1 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/templates/unreal/pageimages_small-teaser.html5(21): getimagesize('18;files/out-of...')
          #2 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/library/Contao/Template.php(255): include('/var/www/vhosts...')
          #3 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/classes/FrontendTemplate.php(37): Contao\Template->parse()
          #4 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/pageimages/modules/ModulePageImages.php(69): Contao\FrontendTemplate->parse()
          #5 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/modules/Module.php(144): Contao\ModulePageImages->compile()
          #6 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/pageimages/classes/PageImages.php(38): Contao\Module->generate()
          #7 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/library/Contao/Controller.php(264): Contao\PageImages->generate()
          #8 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/system/modules/core/pages/PageRegular.php(99): Contao\Controller->getFrontendModule(Object(Contao\Model\Collection), 'header')
          #9 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/index.php(249): Contao\PageRegular->generate(Object(Contao\PageModel))
          #10 /var/www/vhosts/xxxxxxxxxx.com/httpdocs/index.php(410): Index->run()
          #11 {main}
          Hatte zuerst die RC1, habe dann aber am Tag des Release der RC2 auf diese geupdated. Zwischenzeitlich habe mir mir von GitHub jedoch eine "aktuellere" Variante geholt welche einige Fehler entfernt hat.
          In meinem Contao selbst steht jedoch nichts von RC1 oder RC2 mehr seitdem ich die Version aus GitHub habe sondern nur noch Contao 3.0.0.

          Ich denke ich warte einfach mal die kommenden 1-2 Wochen ab bis die stable raus ist. Dann sollte das Problem ja behoben sein?

          Kommentar

          • tril
            Contao-Urgestein
            • 07.01.2010
            • 2939

            #6
            Oops, das sieht so aus als ob die autoload.php nicht aktuell wäre, ich schaue morgen früh mal nach.

            Kommentar

            • tril
              Contao-Urgestein
              • 07.01.2010
              • 2939

              #7
              Ich habe soeben ein neues Paket, mit einer funktionierenden autoload.php hoch geladen, nach einem Update von Assetic sollte es jetzt funktionieren

              Kommentar

              • Celaniry

                #8
                Hi Tril und danke!

                Habe das Modul geupdated und die Funktionalität von Theme+ im Backend scheint zu funktionieren. Jedoch ist es mir nach wie vor nicht möglich Filter in Assetic einzufügen.

                Code:
                [22-Oct-2012 09:35:28 UTC] PHP Parse error:  syntax error, unexpected '[' in /var/www/vhosts/xxxxxxxxxxx.com/httpdocs/system/modules/Assetic/DataContainer/AsseticFilter.php on line 57[22-Oct-2012 09:35:31 UTC] PHP Parse error:  syntax error, unexpected '[' in /var/www/vhosts/xxxxxxxxxxx.com/httpdocs/system/modules/Assetic/DataContainer/AsseticFilter.php on line 57
                [22-Oct-2012 09:35:41 UTC] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/vhosts/xxxxxxxxxxx.com/httpdocs/system/modules/Assetic/DataContainer/AsseticFilterChain.php on line 67
                [22-Oct-2012 09:35:43 UTC] PHP Parse error:  syntax error, unexpected '[', expecting ')' in /var/www/vhosts/xxxxxxxxxxx.com/httpdocs/system/modules/Assetic/DataContainer/AsseticFilterChain.php on line 67

                Kommentar

                • tril
                  Contao-Urgestein
                  • 07.01.2010
                  • 2939

                  #9
                  Oops, mist, das kommt davon wenn man schon PHP 5.4 auf dem Rechner hat
                  Die verkürzte Syntax kennt PHP 5.3 noch nicht ................
                  GitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.

                  Kommentar

                  • tril
                    Contao-Urgestein
                    • 07.01.2010
                    • 2939

                    #10
                    Ich hab grad nen Update ins ER gestellt, der Fehler sollte zumindest nicht mehr kommen

                    Kommentar

                    • Celaniry

                      #11
                      Erneut danke!

                      Assetic funktioniert nun, jedoch kann ich nun meine Seitenlayouts nicht mehr bearbeiten und auch keine neuen anlegen.


                      Code:
                      [23-Oct-2012 07:33:50 UTC] PHP Warning: getimagesize(18;files/out-of-mana/out-of-mana-logo.png): failed to open stream: No such file or directory in /var/www/vhosts/xxxxxxx.com/httpdocs/templates/unreal/pageimages_small-teaser.html5 on line 21
                      #0 [internal function]: __error(2, 'getimagesize(18...', '/var/www/vhosts...', 21, Array)
                      #1 /var/www/vhosts/xxxxxxx.com/httpdocs/templates/unreal/pageimages_small-teaser.html5(21): getimagesize('18;files/out-of...')
                      #2 /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/library/Contao/Template.php(255): include('/var/www/vhosts...')
                      #3 /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/classes/FrontendTemplate.php(37): Contao\Template->parse()
                      #4 /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/pageimages/modules/ModulePageImages.php(69): Contao\FrontendTemplate->parse()
                      #5 /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/modules/Module.php(144): Contao\ModulePageImages->compile()
                      #6 /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/pageimages/classes/PageImages.php(38): Contao\Module->generate()
                      #7 /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/library/Contao/Controller.php(264): Contao\PageImages->generate()
                      #8 /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/pages/PageRegular.php(99): Contao\Controller->getFrontendModule(Object(Contao\Model\Collection), 'header')
                      #9 /var/www/vhosts/xxxxxxx.com/httpdocs/index.php(249): Contao\PageRegular->generate(Object(Contao\PageModel))
                      #10 /var/www/vhosts/xxxxxxx.com/httpdocs/index.php(410): Index->run()
                      #11 {main}
                      
                      
                      [23-Oct-2012 15:15:09 UTC] PHP Fatal error:  Class 'ThemePlusStylesheetModel' not found in /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/library/Contao/Model/Collection.php on line 379
                      [23-Oct-2012 15:15:13 UTC] PHP Fatal error:  Class 'ThemePlusStylesheetModel' not found in /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/library/Contao/Model/Collection.php on line 379

                      Kommentar

                      • ciaobello
                        Contao-Urgestein
                        • 10.07.2010
                        • 4403

                        #12
                        Zitat von Celaniry
                        No such file or directory in /var/www/vhosts/xxxxxxx.com/httpdocs/templates/unreal/pageimages_small-teaser.html5 on line 21
                        Prüfe mal ob die Pfadangaben bei den Templates und Themes noch richtig gesetzt sind (Backend >Themes>gelber Stift).
                        Die Meldung besagt das eine Datei oder ein Verzeichnis fehlt!

                        Ansonsten noch nach gucken was in pageimages_small-teaser.html5 Zeile 21 gesucht wird.

                        Kommentar

                        • tril
                          Contao-Urgestein
                          • 07.01.2010
                          • 2939

                          #13
                          Ich glaub das größere Problem ist die Folgemeldung.
                          Zitat von Celaniry Beitrag anzeigen
                          Code:
                          [23-Oct-2012 07:33:50 UTC][23-Oct-2012 15:15:09 UTC] PHP Fatal error:  Class 'ThemePlusStylesheetModel' not found in /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/library/Contao/Model/Collection.php on line 379
                          [23-Oct-2012 15:15:13 UTC] PHP Fatal error:  Class 'ThemePlusStylesheetModel' not found in /var/www/vhosts/xxxxxxx.com/httpdocs/system/modules/core/library/Contao/Model/Collection.php on line 379
                          Vermutlich habe ich auch bei theme_plus keine aktuelle autoload.php bei gepackt ... da muss man sich erst dran gewöhnen

                          Kommentar

                          • ciaobello
                            Contao-Urgestein
                            • 10.07.2010
                            • 4403

                            #14
                            keine aktuelle autoload.php bei gepackt
                            Aus lauter Neugierde. Kann man sich diese nicht mit dem Autoload-Creator schnell selber machen?

                            Kommentar

                            • tril
                              Contao-Urgestein
                              • 07.01.2010
                              • 2939

                              #15
                              Jap, müsstest du so "überbrücken" können.

                              Kommentar

                              Lädt...