locomotivecms/engine — Issue #242: Websites sometimes turn to blank pages - i18n version
Author: designhunger
Created: 2011-11-02 18:05:29+00:00
State: open

Hi,

I'm using the i18n version of locomotivecms. Everything worked really good till the end of the last week. At the beginning of the last week I had a little update because of th pluploader.... But nothing else has changed.
From there on I sometimes get blank / white websites or the websites are displayed in the wrong language in parts. F.ex. I'm visiting the german page, but the menue is linked to the english version. After reloading for a few times the normal content is displayed again. So this is really annoying....
I'm sure that it has to do something with the i18n stuff, but can't say why the issue comes up right now!?

The backend is running perfectly. So no problems here.

One thing made me listen up. Today I scaled my server up from 1GB to 2GB RAM. Now the issues don't come up that often. Maybe it has to do something with an inner cache?

This is one of the error messages, if the website turns blank completly. But it doesn't really matter, because there is a NIL, so no data are pulled. The passwordprotected method is to protect pages by password. This is not the root cause.

Started GET "/" for xx.xx.xx.xx at 2011-11-02 18:49:51 +0100
Processing by Admin::RenderingController#show as HTML
[LocomotiveCMS] [fetch site] host = http://xxxxx.com/ / xxxxx.com
Completed 500 Internal Server Error in 6ms

NoMethodError (undefined method `passwordprotected?' for nil:NilClass):
app/controllers/admin/rendering_controller.rb:22:in `authenticate'
lib/locomotive/middlewares/seo_trailing_slash.rb:18:in `call'
lib/locomotive/middlewares/fonts.rb:27:in `call'
lib/locomotive/middlewares/cache.rb:21:in `call'

Any help is appreciated!!!