You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using h2o templates to build up a website. However, I have been building the page normally as I would do and just putting in a terms and conditions page which has a lot of text and basic html characters etc...
However, when I reach a certain number of characters it breaks with the error logs stating
Unclose tag, expecting endblock --- Triggered from /var/www/public_html/config/lib/h2o/parser.php:98
If I reduce the text of the file back down it works, does anyone have any ideas of what is going on and how we can fix this issue.
The text was updated successfully, but these errors were encountered:
I've found a work around to my issue, but I'm not overly sure what is causing the issue when I had the following code in the template it broke but when I've seperated this out into a seperate include file, it works fine.
*Note this is a unordered list within another unordered list.
Also facing this issue (any long HTML, like 1500 lines).... but amazingly enough, it happens on PHP 5.2 but not on PHP 5.4... so my advice is: upgrade PHP... if that is not an option, push the contents of the terms and conditions as a variable to be replaced by the template system, that works just fine for me.
I've been using h2o templates to build up a website. However, I have been building the page normally as I would do and just putting in a terms and conditions page which has a lot of text and basic html characters etc...
However, when I reach a certain number of characters it breaks with the error logs stating
Unclose tag, expecting endblock --- Triggered from /var/www/public_html/config/lib/h2o/parser.php:98
If I reduce the text of the file back down it works, does anyone have any ideas of what is going on and how we can fix this issue.
The text was updated successfully, but these errors were encountered: