Jump to content



Member Since 21 May 2010
Offline Last Active Jun 26 2016 12:42 AM

Stuck in an infinite loop

05 June 2016 - 06:55 AM

Why does this loop infinity?


I'm trying to build a nested comments system:

{% for comment in kushi_post_comments %}

{% include "kushi/post/comment" %}

{% endfor %}

Inside refinery/post/comment

   {% if comment.children %}
                        {% for comment in comment.children %}
                        {% include "kushi/post/comment" %}
                        {% endfor %}
                {% endif %}

Therefore as long as a comment has data in the comments array, it will include itself. Eventually of course a child won't have any children itself. But this keeps looping :( Any ideas?

Urgent: Hydrogen SQLBean PHP5.5 compatibility

20 April 2016 - 03:25 AM

Hey guys 


I recently upgraded the PHP version of my site and another software which I integrated with a custom Hydrogen app. And I broke it. And yes, it is live..... (I know...). 


Does anyone know if there's a compatibility issue with Hydrogen's SQL Bean system and PHP5.5? I can't get it working and I'm starting to think its the upgrade of PHP. 


Thanks in advance