![]() |
Blank page? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Blank page? (/showthread.php?tid=60618) |
Blank page? - El Forum - 05-11-2014 [eluser]whygod[/eluser] Why these codes below is not displaying anything? Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); I think there is an error causing this. So what's causing this problem? Thanks in advance. Blank page? - El Forum - 05-11-2014 [eluser]whygod[/eluser] By the way I'm using XAMPP for this. Blank page? - El Forum - 05-11-2014 [eluser]Tpojka[/eluser] Has set echo of variable Code: <?=$password_header;?> Blank page? - El Forum - 05-11-2014 [eluser]CroNiX[/eluser] Check your php error logs, or enable display_errors so you see the error. Blank page? - El Forum - 05-11-2014 [eluser]Tim Brownlaw[/eluser] I see you are using HMVC! So a few questions... 1. Where are your views located? 2. Where is your Model located? Plus you should have been seeing a few errors being reported. Read up on XAMPP and display_errors if are not seeing any... Also make sure that in your index.php that you have define('ENVIRONMENT', 'development'); set Blank page? - El Forum - 05-13-2014 [eluser]whygod[/eluser] I'm using XAMPP Where to find error_log in XAMPP? Blank page? - El Forum - 05-13-2014 [eluser]whygod[/eluser] Problem solved. I already found it. Blank page? - El Forum - 05-13-2014 [eluser]Tim Brownlaw[/eluser] So what was the fix for your issue? It'd be nice to share it! Cheers Tim Blank page? - El Forum - 05-13-2014 [eluser]whygod[/eluser] error_log is located at /xampp/php/logs/ |