简体   繁体   English

转移到新主机后,Typo3页面媒体(图像)丢失

[英]Typo3 page media (images) missing after transfer to new host

I've transferred a Typo3 installation to the new host, steps performed are: 我已将Typo3安装转移到新主机,执行的步骤是:

  • Copy files and exported database from old host 从旧主机复制文件和导出的数据库
  • uploading files and creating database at new host 在新主机上传文件和创建数据库
  • changing config to match new hosts database settings 更改配置以匹配新主机数据库设置
  • upgrading typo3 installation to latest version (at that time, current version is 6.1.3) 将typo3安装升级到最新版本(当时版本为6.1.3)
  • configured ImageMagick because this was missing at the new server 配置ImageMagick因为在新服务器上丢失了它

At this point, i noticed pages in the frontend where missing images. 此时,我注意到前端缺少图像的页面。 The website uses the imagecycle plugin. 该网站使用imagecycle插件。

Checks I have performed: 检查我已经执行:

  • folder permissions 文件夹权限
  • uploads/fileadmin folders checked if they contained the missing images (yes, they did) 如果上传/ fileadmin文件夹包含丢失的图像(是的,他们确实)
  • cleared db temp files as well folder temp directories 清除了db临时文件以及文件夹临时目录

Still missing the images on the frontend as well in the backend under the media tab of the page settings. 仍然缺少前端的图像以及页面设置的媒体选项卡下的后端。

What else can I try? 我还能尝试什么?

Update After some help we discovered there was a huge change in the file storage of Typo3. 更新在一些帮助后,我们发现Typo3的文件存储发生了巨大变化。 I've upgraded the installation from 4.5 to 6.1.3 which probably caused the loss of the image-links. 我已将安装从4.5升级到6.1.3,这可能导致图像链接丢失。 Images are moved from the /uploads dir to the /fileadmin/_migrated dir. 图像从/ uploads目录移动到/ fileadmin / _migrated目录。 Is there any way to relink these images, or will i have to add all images to the pages manually again? 有没有办法重新链接这些图像,还是我必须再次手动将所有图像添加到页面?

Update 2 Unfortunately I didn't find any solution and ended up re-linking the images to the pages 1 by 1. 更新2不幸的是我没有找到任何解决方案,最终将图像重新链接到1页1的页面。

You can clear the Typo3 cache in the install tool. 您可以在安装工具中清除Typo3缓存。 It's also safe to truncate the cache tables with phpmyadmin. 使用phpmyadmin截断缓存表也是安全的。

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

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