简体   繁体   English

TYPO3复制/现有安装

[英]TYPO3 copied/existing installation

I'm installing a TYPO3 installation from a website that already uses TYPO3. 我正在从已经使用TYPO3的网站安装TYPO3安装。 These are the steps I already have done: 这些是我已经完成的步骤:

  • I installed a blank TYPO3 installation. 我安装了一个空白的TYPO3安装。
  • I copied the contentapi and contentelements from the existing server to the typo3conf/ext folder on my server 我将contentapi和contentelements从现有服务器复制到我服务器上的typo3conf / ext文件夹
  • I imported the data from the mysql TYPO3 server of the existing database 我从现有数据库的mysql TYPO3服务器导入数据

When I log in to the TYPO3 webpage, I have no templates configured and have a few issues. 当我登录TYPO3网页时,我没有配置模板并且有一些问题。 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 错误是将我发送到此页面: https//wiki.typo3.org/Exception/CMS/1294587217我已经这样做了,但没有帮助,或者我做错了

  • 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,..) Web服务器根文件夹:( laravel应用程序是绿色选择的文件夹,带有视图,语言文件,...)

在此输入图像描述

did you have all Extensions installed? 你安装了所有扩展程序吗?

typeNum=0 not configured means you do not have created a PAGE Object within your TypoScript. typeNum=0 not configured意味着您没有在TypoScript中创建PAGE对象。

If you copy Data to a new TYPO3 installation, you need to install all Extension that are used in the source-installation. 如果将Data复制到新的TYPO3安装,则需要安装source-installation中使用的所有Extension。 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. INVALID VALUE gridelements_pi1是相同的 - 似乎你没有为新的TYPO3安装安装Gridelements。

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 . 当仍然No Templates, you need to create one...消息,然后为new page创建一个新模板。 After you created it, you can open the tab Includes and select your templates there. 创建后,您可以打开选项卡Includes然后在那里选择您的模板。

An TYPO3 installation consists of multiple parts: TYPO3安装包含多个部分:

  1. the TYPO3 source (this can be updated individually) TYPO3源(可以单独更新)
    /typo3_src (normaly a symlink to the TYPO3 sources) /typo3_src (通常是TYPO3源的符号链接)
  2. the database (some tables could be truncated (caches)) 数据库(某些表可能被截断(缓存))
  3. extensions (all active extensions are needed) 扩展(需要所有活动扩展)
    /typo3conf/ext/*
  4. language files 语言文件
    `/typo3conf/l10n' `/ typo3conf / L10N”
  5. original data files (in case you want to have images or other data, eg pdf) 原始数据文件(如果您想要图像或其他数据,例如pdf)
    /fileadmin/ or any other folders you may use with a file-storage record /fileadmin/或您可以与文件存储记录一起使用的任何其他文件夹
  6. processed files (images mostly are used resized, which are precaculated and stored for faster access) 已处理的文件(图像大多使用已调整大小,已预先存储并存储以便更快地访问)
    /typo3temp/assets , /typo3temp/DATA , /uploads , /fileadmin/__processed__ , ... /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 缓存数据(某些代码连接在一起,因此只需要包含一个文件而不是大量小文件) /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. 在您的情况下,我假设您错过了复制扩展,尤其是网站扩展,以便您也错过了页面对象的定义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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