简体   繁体   English

从哪里获得新的TYPO3安装的密码?

[英]Where do I get password for new TYPO3 installation?

I have installed typo3wininstaller on Windows 7. During installation no password was asked to be set. 我已经在Windows 7上安装了typo3wininstaller。在安装过程中,没有要求输入密码。 When I try to login to the backend, I am asked for a password. 当我尝试登录到后端时,要求输入密码。 I am stuck. 我被困住了。 I tried to brouwse the TYPO3 user forums but was not able to get any help. 我试图浏览TYPO3用户论坛,但无法获得任何帮助。 Any help to resolve this will be appreciated 解决此问题的任何帮助将不胜感激

You can create new user by logging into install tool on the URL: www.yoursitename.tld/typo3/install 您可以通过以下网址登录安装工具来创建新用户:www.yoursitename.tld / typo3 / install

All you have to do is create a file named: ENABLE_INSTALL_TOOL in your typo3conf folder. 您所要做的就是在typo3conf文件夹中创建一个名为ENABLE_INSTALL_TOOL的文件。 The default password should be "joh316", if it doesn't work, you can just copy the hash you get from error message into typo3conf/LocalConfiguration.php. 默认密码应该是“ joh316”,如果它不起作用,您可以将从错误消息中获得的哈希值复制到typo3conf / LocalConfiguration.php中。 I am gonna assume you are using the 7.6 version or later, then you will find it under Important actions on the bottom: Create backend administrator user. 我假设您使用的是7.6版或更高版本,那么您将在底部的“重要操作”下找到它:创建后端管理员用户。

Source: https://wiki.typo3.org/FAQ/Reset_admin_password 资料来源: https : //wiki.typo3.org/FAQ/Reset_admin_password

I think you will get a lot of problems. 我想您会遇到很多问题。 As far as I found is typo3wininstaller at best a Version 4.7 of TYPO3 which is much outdated . 据我发现,typo3wininstaller最多就是TYPO3的4.7版本,这已经过时了
you should start with a currently supported version. 您应该从当前支持的版本开始。 at the moment there is still available 6.2 LTS, but only supported until spring next year. 目前,仍然有6.2 LTS可用,但仅支持到明年春季。
Better would be 7.6 LTS or the newest versions from 8 . 最好是7.6 LTS8中的最新版本。
The available version can be found here: https://get.typo3.org/ 可用的版本可以在这里找到: https : //get.typo3.org/

If you want a ready to use server you can look for ready to use virtual machines which can be installed with eg docker. 如果您想使用现成的服务器,则可以寻找可以使用例如docker安装的现成的虚拟机。 But have an eye on the installed version. 但是请注意已安装的版本。

As from version 7 you copy/unpack the sources and every try to access the website will tell you, that you need to install and configure TYPO3. 从版本7开始,您将复制/解压缩源代码,并且每次访问该网站的尝试都会告诉您,您需要安装和配置TYPO3。 You will be told to create files on the webserver to be sure that you are the owner of the server and in the install-process a first BackEnd user is created. 系统将提示您在Web服务器上创建文件,以确保您是服务器的所有者,并在安装过程中创建了第一个BackEnd用户。 The password of this user also is used to access the install-tool. 该用户的密码也用于访问安装工具。

You should not use this installer. 您不应该使用此安装程序。 As you can read under the 'About'-Section of the download-page you install TYPO3 4.7 - Which is outdated. 正如您可以在下载页面的“关于”部分中看到的那样,您安装了TYPO3 4.7-已过时。

You should really take a newer version of TYPO3 like 7.6.x if you really want to develop a new project. 如果您确实想开发一个新项目,则应该真正使用TYPO3的较新版本,如7.6.x。

You can take a closer look here: 您可以在这里仔细查看:

http://typo3worx.eu/2016/01/14-local-development-setups-for-typo3/ http://typo3worx.eu/2016/01/14-local-development-setups-for-typo3/

You will find informations about how to setup a dev-environment on your local computer. 您将找到有关如何在本地计算机上设置开发环境的信息。

If you still decide to use this version you can get access with the installtool to create a new Backenduser. 如果仍然决定使用此版本,则可以使用installtool来创建新的Backenduser。

You should follow these steps: 您应该按照以下步骤操作:

  1. go to the following url your-local.install/typo3/install 转到以下URL your-local.install / typo3 / install
  2. try joh316 as password 尝试用joh316作为密码

If this password fails, you will be told so and a hash of the password you just tried will be shown. 如果该密码失败,则会提示您,并且将显示您刚刚尝试输入的密码的哈希值。

  1. go to the folder typo3conf and look for the file localconf.php (Not as mentioned above LocalConfiguration.php which was (at least i think so) introduced in TYPO3 6.x Versions) and open it. 转到文件夹typo3conf并查找文件localconf.php(不是上面提到的LocalConfiguration.php,它是(至少我认为是在TYPO3 6.x版本中引入的))并打开它。 In there should be a 里面应该有一个

    $TYPO3_CONF_VARS['BE']['installToolPassword'] $ TYPO3_CONF_VARS ['BE'] ['installToolPassword']

Simply replace the hash with the one shown with the wrong password. 只需用错误的密码将哈希替换为显示的哈希即可。 Then you should be able to use the password and it should work (joh316 in this case) 然后,您应该能够使用该密码并且它应该可以工作(在这种情况下为joh316)

Now you should be able to access the Installtool. 现在,您应该可以访问Installtool了。 Under Database Analyser scroll down to the bottom of the page and klick "Create 'admin' user" and choose a name and a password. 在“数据库分析器”下,向下滚动到页面底部,然后单击“创建'admin'用户”,然后选择一个名称和密码。

Now you can use this to login. 现在您可以使用它登录。

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

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