These are chat archives for jbroadway/elefant

28th
Oct 2014
xmory
@xmory
Oct 28 2014 12:55
I install elefant in my new host, then get an error. Whenever I try to login, an 500 error comes. 505 also comes in some other time. I think some settings may be wrong. site url is : http://xmory.com , and php_info can be found here: http://xmory.com/showall.php?act=phpinfo. Could you please help to find what should I do? Thanks.
A test account: id: test@test.com password:123456
Johnny Broadway
@jbroadway
Oct 28 2014 16:58
@xmory Does it show anything in Apache’s error log? You can also try changing debug and display_errors to On in conf/config.php to see if it outputs any helpful info too.
Johnny Broadway
@jbroadway
Oct 28 2014 17:06
@evan70 Sorry, I thought I replied back to your earlier message. Custom fields are based on ExtendedModel, so when I create a thumbnail custom field for blog posts, I can use it in the blog post view template like this: <img src="{{thumbnail}}" />. For pages, referencing the custom fields in layout templates is done like this: <img src=“{{extra->thumbnail}}” />. Hope that helps solve what you were trying to do.
xmory
@xmory
Oct 28 2014 21:37
@jbroadway Thanks, the answer is helpful. The chmod functions is disabled, so those happen. When I commented the lines start with chmod, the errors went away. The default permissions on cache files created is 644, and codes want to change these to 666. Is this Important? I think I should contact to enable this function.
Johnny Broadway
@jbroadway
Oct 28 2014 23:44
There are a few places where chmod is assumed to be enabled in the system, such as the Files app too for example. For the cache, you could see if one of the other cache storage options is supported on your server and try configuring that instead. That would be in the [Cache] section of conf/config.php. The other options are Memcache, Redis, APC, and XCache. Hope that gives you some options to try!