-
Notifications
You must be signed in to change notification settings - Fork 42
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
[Contao3] Class 'MetaModels\Helper\UpgradeHandler' not found #303
Comments
Hast du eine Datenbank Aktualisierung im BE vorgenommen ? |
I get the same error, and it wont install and dont show up in backend |
did you refreshed your database in the backend ? |
Yes, i tried that. But it doesn´t work, it results in a completely blank page. Guess due to the original problem, that makes the install.php stop |
Yes, i did. |
Had the same issue, happened when I put my install tool PW in. |
I deleted the runonce.php, then I was able to install and update the database, but metamodels wont´t show up in back-end at all... |
Experience the errors as well. C 3.1.3. Not Install-Tool open the install-tool and to update the database in the backend. Anyone knows a quick-fix? |
Hi, i try to get the same error, but i was not able to reproduce it. So can you take a look in the contao log or php error log for more informations ? i have no idea why you have such problems. |
The error log says the same thing: [25-Sep-2013 09:18:54 GMT] PHP Fatal error: Class 'MetaModels\Helper\UpgradeHandler' not found in /Applications/MAMP/htdocs/basictemplate/system/modules/metamodels/config/runonce.php on line 18 And also this: [25-Sep-2013 09:19:32 GMT] PHP Fatal error: Class 'MetaModels\Dca\MetaModel' not found in /Applications/MAMP/htdocs/basictemplate/system/modules/metamodelsattribute_translatedtags/dca/AttributeTranslatedTags.php on line 29 |
Hi Stefan, my error log is this:
Greetings, Henrik |
which php version do you use? |
I'm at Uberspace. Let me lie... It's PHP 5.4.7 Thanx and have a nice evening, Henrik 2013/10/8 Andreas Isaak notifications@github.com
|
I have the same hosting. |
Im using php 5.4.10 |
Did a clean installation of Contao 3.1.3 and with with the latest medamodels alpha, and now this happens instead Warning: in_array() expects parameter 2 to be array, null given in system/modules/core/library/Contao/System.php on line 110
#0 [internal function]: __error(2, 'in_array() expe...', '/Applications/M...', 110, Array)
#1 system/modules/core/library/Contao/System.php(110): in_array('getInstance', NULL)
#2 system/modules/core/library/Contao/Controller.php(2288): Contao\System->import('MetaPalettes')
#3 system/modules/core/dca/tl_article.php(17): Contao\Controller->loadDataContainer('tl_page')
#4 system/modules/core/library/Contao/Controller.php(2278): include('/Applications/M...')
#5 system/modules/core/library/Contao/DcaExtractor.php(291): Contao\Controller->loadDataContainer('tl_article')
#6 system/modules/core/library/Contao/DcaExtractor.php(114): Contao\DcaExtractor->createExtract()
#7 system/modules/core/library/Contao/Database/Installer.php(292): Contao\DcaExtractor->__construct('tl_article')
#8 system/modules/core/library/Contao/Database/Installer.php(115): Contao\Database\Installer->getFromDca()
#9 system/modules/core/library/Contao/Database/Installer.php(47): Contao\Database\Installer->compileCommands()
#10 contao/install.php(214): Contao\Database\Installer->generateSqlForm()
#11 contao/install.php(1001): InstallTool->run()
#12 {main} Edited by Andreas Isaak / Formatting php code Fatal error: Class 'MetaPalettes' not found in /Applications/MAMP/htdocs/metamodels-3/system/modules/core/library/Contao/System.php on line 110 |
@memikeandi PLEASE wrap your PHP-Code!!! You create stupid ticket references! |
Update via composer in C2.11.12 Trying to install At that moment, when this Excpetion is thrown, the files were not saved in the filesystem. I don`t know the internal structure from composer, but maybe he triggers internal Contao methods. |
Auch mit Contao 3.2 RC1 geht der Installer gar nicht mehr, es wird auch nur die o.g. Fehlermeldung ausgeworfen. Gibt es eine kurzfristige Lösung für das Problem? |
Leider gleiches Problem hier - PHP Version ist 5.4.x Gibt schon was neues? :) Danke für Eure Mühen! |
@AgentCT Wenn möglich, versuchs mal mit Composer. Damit habe ich keine Probleme mehr. |
Edit1: Gerade von Bekanntem Link erhalten: https://community.contao.org/de/showthread.php?45537-MetaModels-Composer Edit2: Nachdem es aber kein Zurück mehr auf alte Repo gibt, werde ich noch drauf verzichten. Danke trotzdem! |
Wieso sollte man das Repo 3x am Tag wechseln? Entweder nutze ich das ER2 oder Composer? |
I get the same error after entering the install tool password. Any ideas/solutions? |
Sorry, we are not able to reproduce this error on our web server. The best way to fix this is when somebody creates a test system for us with this error. So we are able to debug it. |
I think the main problem is the cache from contao. If someone got this bug can you please try something. Remove the files under "system\cache\config" and don't forget to make a backup. It is possible that the cache has a link to an older file. |
@stefanheimes I've just tried what you suggested. However, that makes no difference – the issue is still there. The problem occurs even with a new, fresh vanilla installation, i.e. without any internal cache files. How to reproduce:
Then you will immediately get the error message
|
@xchs thanks for the howto i will try it in the next days. |
funny, i got the same problem... but after a page-reloads the install-tool loaded properly again and i was able to update the DB and everything works fine! |
Same here on a contao 3.1.4 project. The internal cache is the problem. Simply reset or disable the internal cache and the error message is gone! Sorry but more we can not do. |
tested using PHP 5.3.21-p12-gentoo on apache 2.2.24 with mysql 5.1.67 confirming @xchs in
|
und ich dachte die Sache ist gefixt :-(
Contao 3.3.7 |
Cache geleert? @tristanlins hatte gestern genau dasselbe Problem. |
der interne Cache war nicht aufgebaut - steht alles auf "0" ich habe die "Installation" nochmal über /contao/install.php probiert, mit gleicher Fehlermeldung - bei Zurück auf die BE-Seite repository erschien eine Fehlermeldung zu einer fehlenden Spalte (kein Screenshot) ... irgendwas mit jumpTo ?? nochmal auf /contao/main.php gegangen und plötzlich war der Eintrag MM vorhanden...hmmm?? beim ersten Test erstmal keine weiteren Auffälligkeiten |
Beim ersten Durchlauf der Installation von MM wird versucht der Wert von der einen Spalte in die andere zu kopieren. Dies wird zum Beispiel durch folgenden Code ausgelöst: |
Habe das Problem auch. Folgender Workflow
Datei unter So wie es aussieht geht die runonce unter C3.5 nicht. |
Fatal error: Class 'MetaModels\Helper\UpgradeHandler' not found in /system/modules/metamodels/config/runonce.php on line 18
=> Contao3 Nightly
The text was updated successfully, but these errors were encountered: