简体   繁体   中英

TYPO3 copied/existing installation

I'm installing a TYPO3 installation from a website that already uses TYPO3. These are the steps I already have done:

  • I installed a blank TYPO3 installation.
  • I copied the contentapi and contentelements from the existing server to the typo3conf/ext folder on my server
  • I imported the data from the mysql TYPO3 server of the existing database

When I log in to the TYPO3 webpage, I have no templates configured and have a few issues. I tried to fix them by searching on internet but didn't find something clear.

  • On the pages tab I only can see this: 在此输入图像描述 in the log files:

在此输入图像描述 The error is sending me to this page: https://wiki.typo3.org/Exception/CMS/1294587217 I already did that, but didn't help, or I did it wrong

  • On my templates tab there are "no templates": 在此输入图像描述

If someone can guide me to a next step, that would be very helpful.. thanks!

root template:

plugin.tx_ahcontentapi.settings.auth.user = bm
plugin.tx_ahcontentapi.settings.auth.password = sdfsdfdsf
plugin.tx_ahcontentapi.settings.url = https://sdfsdfdfs.com
plugin.tx_ahcontentapi.settings.https = 1

tree-view:

在此输入图像描述

Web server root folder: (laravel application is the green selected folder, with views,language files,..)

在此输入图像描述

did you have all Extensions installed?

typeNum=0 not configured means you do not have created a PAGE Object within your TypoScript.

If you copy Data to a new TYPO3 installation, you need to install all Extension that are used in the source-installation. When the extensions are installed, they have to appear in the Template Module.

The INVALID VALUE gridelements_pi1 is the same - it seems you didn't have installed Gridelements to the new TYPO3 Installation.

Install all dependencies and everything should work like expected.

EDIT: Going a bit deeper - when installed all Extensions, then click on your rootpage (the globe) and then open the templates module. When there is still the No Templates, you need to create one... message, then create a new template for a new page . After you created it, you can open the tab Includes and select your templates there.

An TYPO3 installation consists of multiple parts:

  1. the TYPO3 source (this can be updated individually)
    /typo3_src (normaly a symlink to the TYPO3 sources)
  2. the database (some tables could be truncated (caches))
  3. extensions (all active extensions are needed)
    /typo3conf/ext/*
  4. language files
    `/typo3conf/l10n'
  5. original data files (in case you want to have images or other data, eg pdf)
    /fileadmin/ or any other folders you may use with a file-storage record
  6. processed files (images mostly are used resized, which are precaculated and stored for faster access)
    /typo3temp/assets , /typo3temp/DATA , /uploads , /fileadmin/__processed__ , ...
  7. cached data (some codes are concatenated, so only one file needs to be included instead of a lot of small files) /typo3temp/var , /typo3temp/CACHE

Not all parts are necessary for a copy of the installation, but it will help if you can copy all parts.
All caches can be rebuild and so there might be some differences like another domain it is highly recommended to delete caches.
Most processed data can be rebuild (as long as the original files are still present). But sometimes it is not recognized that a file needs to be processed again.


In your case I assume you missed to copy the extensions, especially the site extension so that you also miss the definition of your page object.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM