简体   繁体   English

LocomotiveCMS:页面不可推送

[英]LocomotiveCMS: Page not pushable

I have already asked this on the LCMS Google Group , but the post got 3 views in a week and I can't continue my project with an entire page missing... 我已经在LCMS Google Group上问过这个问题,但是帖子一周内有3次浏览,我无法继续进行我的项目,整个页面都不见了...

I have been getting an error when trying to push a specific page on wagon 1.5.4 on locomotivehosting and on my own hosting server. 尝试在locomotivehosting和我自己的托管服务器上的wagon 1.5.4上推送特定页面时遇到错误。 Everything works fine on the local wagon serve. 在当地的旅行车上一切正常。

Warning: NOT all the pages were pushed. 警告:并非所有页面都被推送。 Check that the pages inheritance was done right OR that you translated all your pages. 检查页面继承是否正确完成,或者您翻译了所有页面。

The strange thing is that it works on some pages that are almost identical (see below). 奇怪的是,它可以在几乎相同的某些页面上工作(请参见下文)。 My original problem was with the "elektronik-entwicklung" page. 我最初的问题是使用“ elektronik-entwicklung”页面。

Image: some pages were uploaded, but not all. 图片:上传了一些页面,但不是全部。

What I have tried: 我尝试过的

  • deleted and re-pushed entire website 删除并重新推送整个网站
  • pushed pages with different slugs and same content, which only worked partially 推送具有不同标签和相同内容的页面,这些页面只能部分起作用

I tried updating a lot of almost identical pages just with varying names and slugs, only to find out that there was no system behind the choice of which pages got uploaded (eg "l-entwicklung.liquid" got pushed, but "a-entwicklung.liquid" didn't get pushed; cf. image on Google Group post). 我试图用不同的名称和标签来更新很多几乎相同的页面,却发现在选择上传哪些页面的背后没有任何系统(例如,“ l-entwicklung.liquid”被推送,而“ a-entwicklung” .liquid”没有被推送;请参阅Google Group帖子上的图片。

The files I created to test have the same content, just the corresponding slugs are different. 我创建的要测试的文件具有相同的内容,只是相应的段不同。 Eg: 例如:

---
title: Elektronik
slug: elektronik-entwicklung
listed: true
published: true
---

{% extends engineering/engineering-subpage %}

Any ideas? 有任何想法吗?

After a lot of pain, I finally decided to upgrade the whole thing to locomotivecms 3.0 and wagon 2.0. 经过一番痛苦之后,我终于决定将整个产品升级到locomotivecms 3.0和wagon 2.0。 This solved the problem. 这样就解决了问题。

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

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