CodeIgniter Forums

Full Version: this->load->view Not Working on some page No error, Blank page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Thank you for sharing.