问题标签 [pressflow]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - 安装和配置 apache Solr - 以下节点上的索引失败,缺少必填字段实体类型
我正在研究 Pressflow Drupal 6、Debian、Apache2、PHP 5.3.3 环境。尝试在其上设置 Solr。按照步骤 9。安装和配置 apache Solr http://groups.drupal.org/pantheon/mercurywiki
- 安装Tomcat6
- 安装 Apache Solr
- drush dl apachesolr
- 将 Drupal 特定的配置和模式文件移动到 solr/conf/
现在当我运行 cron
之后,它会触发 Apache Solr 错误(在“报告日志条目”中)
你能帮忙吗,为什么我会遇到这个问题以及解决方法是什么?
drupal - “未定义的属性:stdClass”
当将 Pressflow 添加到我们的 Drupal 安装时,突然出现此错误。它来自一个自定义模块,在 Pressflow 之前似乎可以正常工作。添加 Pressflow 后,运行 Drush 会导致此错误显示在屏幕上。
被识别为错误源的函数如下所示:
错误消息如下:
WD php:注意:未定义的属性:stdClass::$user_location_pref in user_search_location_get()
drupal-6 - Varnish 3 也缓存登录页面
我挠头2天没有运气。我已经用 Pressflow 6 (Drupal) 配置了 Varnish 3,一切都很好,即 Varnish 正在缓存页面。现在的痛苦是即使在登录后 Varnish 也在缓存。因此,当我注销时,我仍然会看到您已登录的消息等。
我尝试在登录时在 modules/user/user.module 文件中设置一个唯一的 cookie,并修改 /etc/varnish/default.vcl 文件添加以下块。
现在一切都按预期工作,但在注销脚本中,我无法通过 PHP 完全删除 cookie,即将时间设置为负数。我相信在浏览器关闭/重新启动后,实际的 cookie 就会消失。
所以现在开始,如果我不关闭浏览器,cookie 就在那里,Varnish 总是将每个页面发送到 Apache 后端。
任何帮助将不胜感激。
问候,
拉赫尔
drupal - Drupal 7 中通过 Varnish、memcached、APC 等进行缓存的最佳模块是什么?Pressflow 在 D7 世界中是否仍然重要?
首先,我对 Pressflow 真正包含的内容有点困惑。Pressflow 只是模块的集合,还是有一些 D7 中没有的更深层次的核心技巧?继续我们的 D7 安装并添加适当的缓存模块是否是一个合理的解决方案?
我知道 Drupal 7 可以开箱即用地与 Varnish 一起工作,但它也以某种方式受益于 Varnish 模块。我很好奇是否存在人们普遍关注的杀手组合。
caching - 如何清除节点队列的清漆缓存?
我们在 pressflow 6 + varnish 上安装了节点队列模块。为了清除节点队列的清漆缓存,我们使用规则、缓存操作模块开发了规则。但是问题来了,每当我们更新内容时,它反映的是登录用户,但它不是反映匿名用户。您能否建议我们如何使用规则或任何自定义代码清除清漆缓存?
谢谢,拉古
drupal-6 - how to clear varnish cache for a drupal view?
We have a pressflow6 site in acqua hosting service.we have varnish cache enabled.for clearing the cache on drupal views we used cache actions module. with rules.but after adding a content in to a category the view is updating for the logged in users.but not updating for anonymous users,i think the varnish cache is not getting cleared with my rule on cache actions. how to clear varnish cache for a perticular view in drupal/pressflow,and custom code is there to clear the cache, please help me.
Thanks, Raghu
caching - Drupal 7 & Varnish 4 - 我总是得到 X-Drupal-Cache: MISS 但 X-Cache: HIT
我遇到了和这个人一样的问题:Drupal 7 网站的 X-Drupal-Cache 总是点击 MISS,找不到出路。
我正在运行 Drupal 7 - Pressflow
和
清漆 4.0
当我卷曲时,我得到了这个结果:
isvarnishworking.com告诉我: “你应该得到一颗金星,给你:金星徽章” ......
虽然链接的 Drupal org 线程中建议的“Varnish Indicator Chrome Extension”告诉我 Varnish 错过了,在我网站的每个页面上,无论我是否登录。
如果我在 admin/config/development/performance off为匿名用户关闭 Drupal 缓存,Varnish 将根本无法工作。如果我在那里设置不同的最小缓存寿命,那没有什么区别。
在我的 settings.php 我有这个:
和这个
虽然这已从 settings.php 中的 Varnish 配置中注释掉,因为如果我不这样做,Varnish 会失败:
我已经关闭了所有可能干扰的模块,例如验证码模块,并且我会注意到统计信息现在不会正确计算节点命中,所以正在缓存一些东西......
我使用的 VCL 直接从这个 github master 中获取,改动最少
如何解决此X-Drupal-Cache: MISS问题?