I have website based on CodeIgniter 3.x closely integrated with XenForo 1.5.
Website uses XenForo user management so XenForo library is invoked on almost every page specially when user is logged in.
It works fine with PHP native 5.3. But when I change PHP version to any between 5.3 and 5.6, it behaves abnormally on frontend (views).
For example, I have these three files:
<?php $this->load->view('header'); ?> This is index file. <?php $this->load->view('footer'); ?>
This is header file.
This is footer file.
This is header file. This is index file. This is footer file.
This is header file. This is footer file. This is index file.
It works fine if its CodeIgniter only. But when I include XenForo autoloader in the constructor it doesn't (no matter which version except native 5.3).
It works fine if PHP version is native 5.3 with CI and XenForo both together. Not with 5.3, 5.4, 5.5 or 5.6.
Any help will be appreciated.