我正确地设置og:image在我的网站上,facebook linter看到它(facebook调试器)然而,它说图像应该至少为200x200,而事实并非如此,我的图像是250x250 图像.
可能导致问题的原因是什么?这与Cloudfront有什么关系吗?
Edit: I got around it by switching from this image to another image which is a
jpg image, but still I couldn't find the cause for the problem since the image
looks fine.
Run Code Online (Sandbox Code Playgroud) 我在AWS RDS下使用带有多-zo架构的Postgres数据库的Rails应用程序.RDS使用的HA架构是主/从,它们为服务提供指向当前主站的单个端点.
每当有数据库故障转移时,Active Record将继续尝试连接到同一服务器,而不是重试连接以获取主服务器的新IP.
有没有办法为ActiveRecord::StatementInvalid: PG::ConnectionBad: PQsocket() can't get socket descriptor错误创建一个"全局"救援,只是运行ActiveRecord::Base.connection_pool.disconnect!,使下一个查询工作?
postgresql activerecord ruby-on-rails amazon-web-services amazon-rds
我有一个自定义的info.phtml文件,如果放在app\design\frontend\default\default\template\sales\order\info.phtml中,该文件已经可以使用了.
但是,我不想使用这种方法,因为这是模块的一部分,因此如果稍后其他人覆盖此文件,它将制动功能.我读过有关使用自定义块的内容,但我尝试了许多不同的方法而没有成功.