简体   繁体   English

Linux上的Nesta CMS未显示最新文章

[英]Nesta CMS on linux not show latest articles

Anyone experience an inability for Nesta CMS to show the latest articles on linux? 有人遇到过Nesta CMS无法显示有关Linux的最新文章吗? Running Ubuntu 12.04. 运行Ubuntu 12.04。

I can navigate to the article localhost:9393/filename and it shows up fine. 我可以导航到文章localhost:9393 / filename,它显示得很好。 I have tried running under both shotgun and rackup with no difference. 我试过在shot弹枪和架子枪下都没有差异。

But despite having a defined Date: 03 Sept 2013 it still won't show. 但尽管定义了Date: 03 Sept 2013它仍然不会显示。 On the actual page, the published is correctly showing the date, as well as the category. 在实际页面上, 发布的内容正确显示了日期以及类别。 But neither on the home page/category page, will the article's title/summary show up. 但是主页/类别页面上都不会显示文章的标题/摘要。

The odd thing is, pulling the same project down on a windows machine, adding a new article will allow it to show up properly on the home page for latest articles as well as the associated category page. 奇怪的是,将同一项目拖到Windows计算机上,添加新文章将使它可以正确显示在最新文章的首页以及相关的类别页面上。

I have tinkered with different dates with no effect. 我修改了不同的日期,没有任何效果。 Any suggestions? 有什么建议么?

如果要使用latest_articles helper方法来获取文章, latest_articles尝试使用大于8的数字来调用它,例如30 latest_articles(30) ,因为默认情况下它仅返回8个文档。

Unfortunately, this turned out to be an issue with a Linux update. 不幸的是,事实证明这是Linux更新的问题。 After reboot everything worked as expected oddly enough. 重新启动后,一切都按预期工作了。

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

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