this->load->view Not Working on some page No error, Blank page - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: this->load->view Not Working on some page No error, Blank page (/showthread.php?tid=78577) |
this->load->view Not Working on some page No error, Blank page - nicolas33770 - 02-09-2021 Good morning all, I just wanted to share with you an experience after over six hours of bug research. I am currently developing a project with CI3, my website shows user house renting, 95% of page work normally except a few. Impossible to quickly and easily find the bug why because no error message, no blocking just a blank page !? Having found the solution to my problem I share it maybe it will help other people. For the title of the page I use a php function substr, the encoding of my texts being carried in UTF8 and if one Perform a cut in the middle of an accentuated / specal character this causes a crash without error. So you have to use instead mb_substr ! Enjoy your life ! see you |