首先,我是TYPO3的新手。我们使用TYPO3来管理我们的网站管理员。现在,我想做一些改变,并尝试在当地的环境,所以我不能搞糟的东西!
我从FTP服务器中提取了所有数据,并试图将其放入xampp的htdocs文件夹中,用于运行apache服务器。当我试图运行这个站点时,我会得到一个与TYPO3 "realurl.php“文件相关的错误。
在这一点上,我不知道如何成功地解决这个问题。
警告:第35行C:\xampp\htdocs\typo3conf\realurl.php中未定义的变量$rssFeedPageType
因为我从FTP服务器中提取了所有数据,所以我不知道为什么会发生这种情况。
错误日志:
[Thu Mar 17 15:17:47.861341 2022] [php:warn] [pid 14632:tid 1968] [client ::1:56627] PHP Warning: Undefined array key "t3lib/class.t3lib_div.php" in C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Utility\\GeneralUtility.php on line 5125
[Thu Mar 17 15:17:47.862340 2022] [php:warn] [pid 14632:tid 1968] [client ::1:56627] PHP Warning: Trying to access array offset on value of type null in C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Utility\\GeneralUtility.php on line 5125
[Thu Mar 17 15:17:47.863338 2022] [php:warn] [pid 14632:tid 1968] [client ::1:56627] PHP Warning: Undefined array key "ORIG_SCRIPT_NAME" in C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Utility\\GeneralUtility.php on line 3438
[Thu Mar 17 15:17:47.864344 2022] [php:warn] [pid 14632:tid 1968] [client ::1:56627] PHP Warning: Undefined array key "systemLog" in C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Utility\\GeneralUtility.php on line 5083
[Thu Mar 17 15:17:47.865359 2022] [php:warn] [pid 14632:tid 1968] [client ::1:56627] PHP Warning: Undefined array key 1 in C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Utility\\GeneralUtility.php on line 5092
[Thu Mar 17 15:17:47.868338 2022] [php:error] [pid 14632:tid 1968] [client ::1:56627] PHP Fatal error: Uncaught Error: Undefined constant "TYPO3\\CMS\\Core\\Error\\TYPO3_ERROR_DLOG" in C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Error\\ErrorHandler.php:134\n
Stack trace:\n
#0 C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Utility\\GeneralUtility.php(3453): TYPO3\\CMS\\Core\\Error\\ErrorHandler->handleError(2, 'Undefined array...', 'C:\\\\xampp\\\\htdocs...', 3453)\n
#1 C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Utility\\GeneralUtility.php(3596): TYPO3\\CMS\\Core\\Utility\\GeneralUtility::getIndpEnv('REQUEST_URI')\n
#2 C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Error\\AbstractExceptionHandler.php(73): TYPO3\\CMS\\Core\\Utility\\GeneralUtility::getIndpEnv('TYPO3_REQUEST_U...')\n
#3 C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Error\\ProductionExceptionHandler.php(56): TYPO3\\CMS\\Core\\Error\\AbstractExceptionHandler->writeLogEntries(Object(Error), 'WEB')\n
#4 C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Error\\AbstractExceptionHandler.php(45): TYPO3\\CMS\\Core\\Error\\ProductionExceptionHandler->echoExceptionWeb(Object(Error))\n
#5 [internal function]: TYPO3\\CMS\\Core\\Error\\AbstractExceptionHandler->handleException(Object(Error))\n
#6 {main}\n thrown in C:\\xampp\\htdocs\\typo3\\sysext\\core\\Classes\\Error\\ErrorHandler.php on line 134
发布于 2022-03-17 15:18:30
猜测:正确的PHP版本?
如果您的8.7.
https://stackoverflow.com/questions/71513735
复制相似问题