![]() |
CI blank page without saying anything - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: CI blank page without saying anything (/showthread.php?tid=61229) |
CI blank page without saying anything - El Forum - 10-26-2014 [eluser]Unknown[/eluser] Hello, i was following a tutorial from nettuts (CodeIgniter Essentials) and i was making a blog. Everything worked fine untill i had to make a method to edit posts. This is where the problems appears. I've followed every single step from the tutorial and i did exactly the same thing but mine is crashing. I've tried to enable the profiler tool but with no luck :/ Im only getting a white screen whenever im submiting the changes. This is the code from my controller: Code: function editpost($postID) its exactly the same with the tutorial! The model: Code: function update_post($postID, $data) And the view is a very simple page: Code: <?php if($success == 1): ?> What am i doing wrong? Is there any problem with the version? The guy in the videos is using 2.1 and im using the latest. |