CodeIgniter Forums
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/forum-6.html)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forum-17.html)
+--- Thread: this->load->view Not Working on some page No error, Blank page (/thread-78577.html)



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.  Huh Dodgy

So you have to use instead mb_substr !


Enjoy your life ! see you


RE: this->load->view Not Working on some page No error, Blank page - phatong - 02-12-2021

Thank you for sharing.