Context
语境
I've a running TYPO3 project on a Linux webserver and now I'm trying to get it working properly on a local Windows 10 machine with XAMPP for development purposes.
I've a running TYPO3 project on a Linux webserver and now I'm trying to get it working properly on a local Windows 10 machine with XAMPP for development purposes.
What I've done
我做了什么
- Copied all content from webserver storage to local
xampp/htdocs/typo3
folder
将所有内容从网络服务器存储复制到本地xampp/htdocs/typo3
文件夹
- Exported and imported database content from server database to local database
从服务器数据库导出和导入数据库内容到本地数据库
- Adapted database info in
typo3/typo3conf/LocalConfiguration.php
修改了typo3/typo3conf/LocalConfiguration.php
中的数据库信息
- Configured the local XAMPP / PHP / MySQL so that they are the same versions as on the server
配置本地 XAMPP / PHP / MySQL 使其与服务器上的版本相同
The versions are:
版本是:
- TYPO3-Version: 9.5.13
TYPO3-版本:9.5.13
- Webserver: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.25
网络服务器:Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.25
- PHP-Version 7.3.25
PHP-版本 7.3.25
- Database: MySQL 5.7.31
数据库:MySQL 5.7.31
Problem
问题
In general everything works, and also Environment -> Check Environment
in TYPO3 Backend doesn't show errors or warnings.
一般来说,一切正常,TYPO3 后端的Environment -> Check Environment
也不会显示错误或警告。 However, if I change some page or content in the backend this is horribly unreliable :
但是,如果我在后端更改某些页面或内容,这是非常不可靠的:
- Hiding a page (context menu -> hide) is not reflected in the UI (no red symbol at the page icon), also after F5 in backend, only after Ctrl+F5 in Chrome (clear cache and reload), the red symbol indicating the page is hidden shows up
隐藏页面(上下文菜单 -> 隐藏)在 UI 中没有体现(页面图标处没有红色符号),后端 F5 后也是如此,Chrome 中只有 Ctrl+F5 后(清除缓存并重新加载),红色符号表示页面被隐藏显示
- Hiding a content element of a page doesn't work at all, event after Ctrl + F5 the element still shows up as "not hidden"
隐藏页面的内容元素根本不起作用,在 Ctrl + F5 之后的事件该元素仍然显示为“未隐藏”
- However, if I hide an element in the "Page" view and afterwards switch to the "List" view (Menu "Web" on the left), in the List view, it is shown as "hidden".
但是,如果我在“页面”视图中隐藏一个元素,然后切换到“列表”视图(左侧的菜单“Web”),在列表视图中,它会显示为“隐藏”。 The element is also hidden on the frontend page.
该元素也隐藏在前端页面上。
- "De-hiding" the element in the "List" view correctly updates the backend UI (also after F5), but on frontend the element is still hidden, even after "Flush all caches" and Ctrl + F5
“取消隐藏”“列表”视图中的元素正确更新了后端 UI(也在 F5 之后),但在前端,该元素仍然隐藏,即使在“刷新所有缓存”和 Ctrl + F5 之后也是如此
- Adding a new element on "Page" view, does not update Page view, but new element is visible in "List" view and in frontend
在“页面”视图上添加新元素,不会更新页面视图,但新元素在“列表”视图和前端可见
- Already deleted elements randomly re-appear in List view
已删除的元素随机重新出现在列表视图中
- The same problems occur for newly created pages, not only on altering existing ones
新创建的页面也会出现同样的问题,而不仅仅是更改现有页面
- No error or warning messages in Typo3 log, Apache log or MySQL log
Typo3 日志、Apache 日志或 MySQL 日志中没有错误或警告消息
- All these things work without problems on the remote server
所有这些东西在远程服务器上都没有问题
Maybe I should just file a bug for TYPO3, but maybe somebody has a hint for me what I could try on my part to fix this problem.
也许我应该为 TYPO3 提交一个错误,但也许有人暗示我可以尝试解决这个问题。 However since it's working on the remote server, it seems like a configuration issue and not a TYPO3 bug.
然而,由于它在远程服务器上工作,这似乎是一个配置问题,而不是 TYPO3 错误。 I've run out of ideas.
我已经没有想法了。
Updates based on comments:
基于评论的更新: