Welcome Guest, Not a member yet? Register   Sign In
Another blank page problem (googled the H out of this with no solutions)
#1

[eluser]blazarian[/eluser]
Hi there,

I have extended the default CI_Controller and when I use the custom controller, there's only blank page and nothing else. When I use the CI_Controller on my controller (such as homepage controller) it works fine. So only the custom one does not work and I have tried everything to solve this.. but no solutions found.

1. The controller prefix is set to App_ instead of MY_
2. The controller class is located in application/libraries and it's named "App_Controller.php"
3. I have CHMOD'd the file 755
4. Even if I put only the __construct function inside the custom controller and then parent::__construct(); inside it, even that does not work when it acts se same as the CI_Controller
5. I checked the logs and the log says this:

WITH THE APP_CONTROLLER:
Code:
DEBUG - 2011-07-13 14:56:57 --> Config Class Initialized
DEBUG - 2011-07-13 14:56:57 --> Hooks Class Initialized
DEBUG - 2011-07-13 14:56:57 --> Utf8 Class Initialized
DEBUG - 2011-07-13 14:56:57 --> UTF-8 Support Enabled
DEBUG - 2011-07-13 14:56:57 --> URI Class Initialized
DEBUG - 2011-07-13 14:56:57 --> Router Class Initialized
DEBUG - 2011-07-13 14:56:57 --> Output Class Initialized
DEBUG - 2011-07-13 14:56:57 --> Security Class Initialized
DEBUG - 2011-07-13 14:56:57 --> Input Class Initialized
DEBUG - 2011-07-13 14:56:57 --> Global POST and COOKIE data sanitized
DEBUG - 2011-07-13 14:56:57 --> Language Class Initialized

WITH THE CI_CONTROLLER:
Code:
DEBUG - 2011-07-13 15:05:03 --> Config Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Hooks Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Utf8 Class Initialized
DEBUG - 2011-07-13 15:05:03 --> UTF-8 Support Enabled
DEBUG - 2011-07-13 15:05:03 --> URI Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Router Class Initialized
DEBUG - 2011-07-13 15:05:03 --> No URI present. Default controller set.
DEBUG - 2011-07-13 15:05:03 --> Output Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Security Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Input Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Global POST and COOKIE data sanitized
DEBUG - 2011-07-13 15:05:03 --> Language Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Loader Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Helper loaded: url_helper
DEBUG - 2011-07-13 15:05:03 --> Helper loaded: path_helper
DEBUG - 2011-07-13 15:05:03 --> Helper loaded: language_helper
DEBUG - 2011-07-13 15:05:03 --> Session Class Initialized
DEBUG - 2011-07-13 15:05:03 --> Helper loaded: string_helper
DEBUG - 2011-07-13 15:05:03 --> A session cookie was not found.
DEBUG - 2011-07-13 15:05:03 --> Session routines successfully run
DEBUG - 2011-07-13 15:05:04 --> Controller Class Initialized
DEBUG - 2011-07-13 15:05:04 --> File loaded: application/views/menu/sidebar.php
DEBUG - 2011-07-13 15:05:04 --> Final output sent to browser
DEBUG - 2011-07-13 15:05:04 --> Total execution time: 1.1721


I have ran totally out of ideas here and can't figure out what's causing this. Could you tell me everything that could cause this problem?


Messages In This Thread
Another blank page problem (googled the H out of this with no solutions) - by El Forum - 07-13-2011, 06:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB