Andy_Kemp Posted January 28, 2016 Share Posted January 28, 2016 Dont know what do do with this issue. Inside php <?php $smarty->display('test.tpl'); ?> Output When i put test.tpl content to test.html and open it to firefox. Then everything is ok. Quote Link to comment https://forums.phpfreaks.com/topic/300684-strange-behavior/ Share on other sites More sharing options...
QuickOldCar Posted January 28, 2016 Share Posted January 28, 2016 Possibly an encoding issue or formatting that browsers repair and smarty does not. Quote Link to comment https://forums.phpfreaks.com/topic/300684-strange-behavior/#findComment-1530520 Share on other sites More sharing options...
Andy_Kemp Posted January 28, 2016 Author Share Posted January 28, 2016 And blank line at the top of the page. Quote Link to comment https://forums.phpfreaks.com/topic/300684-strange-behavior/#findComment-1530524 Share on other sites More sharing options...
Solution Andy_Kemp Posted January 28, 2016 Author Solution Share Posted January 28, 2016 Its fixed now. I dont know why but i need to recreate those files. require ROOT_DIR . 'includes/language_changer/a_panel/index.php'; This index.php require ROOT_DIR . 'includes/template_changer/a_panel/index.php'; This index.php require_once ROOT_DIR . 'languages/a_panel/' . $language . '/main/index.php'; This index.php Quote Link to comment https://forums.phpfreaks.com/topic/300684-strange-behavior/#findComment-1530532 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.