简体   繁体   English

Typo3网站迁移,现在后端登录不起作用

[英]Typo3 website migration, now backend login doesn't work

I recently had to migrate a TYPO3 3.8.0 website from an old server onto a new one. 我最近不得不将TYPO3 3.8.0网站从旧服务器迁移到新服务器。 Old server runs PHP 4.x new server 5.x. 旧服务器运行PHP 4.x,新服务器运行5.x。 Migration went well, with only one image displaying differently. 迁移进行得很好,只有一张图像显示不同。 The problem is that backend login doesn't work. 问题是后端登录不起作用。

I use correct username and password, javascript and cookies are enabled. 我使用正确的用户名和密码,启用了javascript和cookie。 When I click log in, it takes a long time with the page loading icon, and then it goes to ERROR 500 - Internal Server error . 单击登录时,带有页面加载图标的时间很长,然后转到ERROR 500 - Internal Server error

I've flushed caches, truncated old BE and FE user sessions (not that there are any FE users)... The user definitely exists. 我已经刷新了缓存,截断了旧的BE和FE用户会话(不存在任何FE用户)...该用户肯定存在。 /typo3temp folder also definitely exists, with the right permissions. /typo3temp文件夹也肯定存在,具有正确的权限。

I get these php errors in apache log: 我在Apache日志中得到以下php错误:

PHP Deprecated: Function ereg_replace() is deprecated in /var/www/vhosts/2/104046/webspace/httpdocs/mydomain.com/typo3/t3lib/class.t3lib_‌​page.php on line 436 PHP Deprecated: Function call_user_method() is deprecated in /var/www/vhosts/2/104046/webspace/httpdocs/mydomain.com/typo3/t3lib/class.t3lib_‌​div.php on line 3413 不建议使用PHP:在第436行的/var/www/vhosts/2/104046/webspace/httpdocs/mydomain.com/typo3/t3lib/class.t3lib_‌page.php中不建议使用ereg_replace()函数在第3413行的/var/www/vhosts/2/104046/webspace/httpdocs/mydomain.com/typo3/t3lib/class.t3lib_‌div.php中已弃用

Could it be that the outdated TYPO3 version doesn't work with the new PHP version on new server? 可能是过时的TYPO3版本不适用于新服务器上的新PHP版本吗?
Are these errors above related to my attempt to login? 以上这些错误与我尝试登录有关吗? Are there any possible quick fixes? 有没有可能的快速修复方法?

Indeed, the newer PHP version is very likely causing the problem. 确实,较新的PHP版本很可能会引起问题。 There is an upgrade tutorial , which may be useful to you. 有一个升级教程 ,可能对您有用。 After you have a running v4.x of TYPO3 on your server, you may want to use the 4.5LTS or the latest 6.1, but upgrading to those versions is less complicated if you already have a 4.x running. 在服务器上运行TYPO3的v4.x v4.x之后,您可能希望使用4.5LTS或最新的6.1,但是如果已经运行4.x,则升级到这些版本的过程就不那么复杂了。 The jump from 3.8 to 4.2 is quite a big one, so good luck! 从3.8到4.2的跃升相当大,祝您好运!

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

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