简体   繁体   English

TYPO3 上 XAMPP:后端更改不/不可靠地持续

[英]TYPO3 on XAMPP: Changes in backend not/unreliably persisted

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我做了什么

  1. Copied all content from webserver storage to local xampp/htdocs/typo3 folder将所有内容从网络服务器存储复制到本地xampp/htdocs/typo3文件夹
  2. Exported and imported database content from server database to local database从服务器数据库导出和导入数据库内容到本地数据库
  3. Adapted database info in typo3/typo3conf/LocalConfiguration.php修改了typo3/typo3conf/LocalConfiguration.php中的数据库信息
  4. 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:基于评论的更新:

Finally I switched from XAMPP to Laragon , where all the errors disappeared.最后我从 XAMPP 切换到Laragon ,所有错误都消失了。 Don't ask me why and what's the difference there, versions are nearly the same:不要问我为什么以及那里有什么区别,版本几乎相同:

  • TYPO3 Version: 9.5.13 TYPO3 版本:9.5.13
  • Webserver: Apache/2.4.35 (Win64) OpenSSL/1.1.1h PHP/7.3.25网络服务器:Apache/2.4.35 (Win64) OpenSSL/1.1.1h PHP/7.3.25
  • Database: MySQL 5.7.24数据库:MySQL 5.7.24

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

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