TYPO3 LTS 8: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(upgrade von typo3 7.6)
(upgrade von typo3 7.6)
Zeile 44: Zeile 44:
  
  
(ext:rtehtmlarea, compatibility7, -compatibility6)
+
(ext:rtehtmlarea)
 +
* -compatibility7
 +
Probleme mit fluid_styled_content
 
* -compatibility6
 
* -compatibility6
 
  Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function push() on null
 
  Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function push() on null
Zeile 50: Zeile 52:
 
  Oops, an error occurred!
 
  Oops, an error occurred!
 
  Argument 1 passed to TYPO3\CMS\Extensionmanager\Utility\InstallUtility::injectInstallToolSqlParser() must be an instance of TYPO3\CMS\Install\Service\SqlSchemaMigrationService, instance of TYPO3\CMS\Dbal\Service\SqlSchemaMigrationService given, called in /var/www/calmeyer.netz.coop/TYPO3.CMS/typo3/sysext/extbase/Classes/Object/Container/Container.php on line 233
 
  Argument 1 passed to TYPO3\CMS\Extensionmanager\Utility\InstallUtility::injectInstallToolSqlParser() must be an instance of TYPO3\CMS\Install\Service\SqlSchemaMigrationService, instance of TYPO3\CMS\Dbal\Service\SqlSchemaMigrationService given, called in /var/www/calmeyer.netz.coop/TYPO3.CMS/typo3/sysext/extbase/Classes/Object/Container/Container.php on line 233
 +
 +
 +
* css_styled_content =>  fluid_styled_content
 +
** mit css_styled_content sieht mensch was, mit fluid_styled_content nahezu keine Inhalte
 +
*** http://www.itfoo.de/web/wechsel-von-css-styled-content-zu-fluid-styled-content/
 +
** evt. entscheidend scheint zu sein: css_styled_content zu installieren und fluid_styled_content deinstallieren und dann wieder retour, zumindest danach ohne weitere Änderung funzt es
 +
 +
* ERROR: Content Element with uid "2" and type "textmedia" has no rendering definition!
  
 
= Unterschiede zu vorigen Versionen =
 
= Unterschiede zu vorigen Versionen =

Version vom 11. August 2017, 09:38 Uhr

Typo3 - TYPO3.CMS 7.6 Schnipsel

upgrade von typo3 7.6

  • Datenbank backup
# export
mysqldump --single-transaction --default-character-set=utf8 -u _username_ -p _databasename_ > mysql.yyyymmdd.sql
  • Datenbankbackup und Installationsdateien auf einen neuen Server schieben, auf dem php7 läuft
  • Datenbank import
# import
mysql -u _username_ -p _databasename_ < mysql.yyyymmdd.sql
  • Source Code aktualisieren und fürs Webbackend Upgrade vorbereiten
cd TYPO3.CMS

git pull

git checkout -b  8.7.4 8.7.4
 error: Your local changes to the following files would be overwritten by checkout:
        composer.lock
 Please commit your changes or stash them before you switch branches.
 Aborting

mv composer.lock composer.lock_20170810

git checkout -b  8.7.4 8.7.4
 Switched to a new branch '8.7.4'

composer update

touch typo3conf/ENABLE_INSTALL_TOOL


(ext:rtehtmlarea)

  • -compatibility7

Probleme mit fluid_styled_content

  • -compatibility6
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Call to a member function push() on null
  • -adodb&dbal
Oops, an error occurred!
Argument 1 passed to TYPO3\CMS\Extensionmanager\Utility\InstallUtility::injectInstallToolSqlParser() must be an instance of TYPO3\CMS\Install\Service\SqlSchemaMigrationService, instance of TYPO3\CMS\Dbal\Service\SqlSchemaMigrationService given, called in /var/www/calmeyer.netz.coop/TYPO3.CMS/typo3/sysext/extbase/Classes/Object/Container/Container.php on line 233


  • ERROR: Content Element with uid "2" and type "textmedia" has no rendering definition!

Unterschiede zu vorigen Versionen

extbase

Extensions change TCA in ext_tables.php Check for ExtensionManagementUtility and $GLOBALS["TCA"].

Grundsätzlich müssen Befehle wie

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'ancbootstrap');

aus der

ext_tables.php 

raus und in die

Configuration/TCA/Overrides/sys_template.php

fluid

f:if

<f:if condition="{var} == 'something'">
    <f:then>do something</f:then>
    <f:else if="{other-var} == 'something else'">do something else</f:else>
    <f:else>do the other thing</f:else>
</f:if>

<f:if condition="{something} || {someOtherThing}">
    Something or someOtherThing
</f:if>

vorher TYPO3.CMS_7.6_Schnipsel#elseif