Welcome Guest, Not a member yet? Register   Sign In
Blank Page, Nothing in Logs?
#11

[eluser]techgnome[/eluser]
Just out of curiosity what's the name of the controller you're trying to run? I ran into a problem when I had a controller called View ... it conflicted with the base View class of CI, and I was getting the same "Error" ... blank page and nothing in the logs. If you check the user guide, there's a list of verboten (forbidden) a.k.a. reserved words that should be avoided. When I renamed my class to Site, things started working again.

-tg
#12

[eluser]divayank[/eluser]
controller name is "adnewlogin"
I have set
Code:
if (!ini_get('display_errors')) {
    ini_set('display_errors', 1);
}
in system\codeigniter\CodeIgniter.php to see what is the error.

and get this error
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /home/user1/public_html/classified_test/system/application/helpers/session_helper.php on line 32

Code:
if(!function_exists('a')) {
        function a($session_name) {
            if(ci_instance()->session->userdata($session_name)) {//line no 32
                return true;
            } else {
                redirect('/');
            }
        }
    }

what should be done here?
#13

[eluser]Unknown[/eluser]
I had the same problem when running CI site on IIS (!) server.

This was caused by
Code:
$db['default']['dbdriver'] = 'mysqli';
in /config/database.php After changing it to 'mysql' site started running.




Theme © iAndrew 2016 - Forum software by © MyBB