Welcome Guest, Not a member yet? Register   Sign In
GO DADDY
#1

I'm working this time on Godaddy's hosting cPanel plan. Uploaded a clean package of Codeigniter V 2.2.6 and the welcome message shows as it should. I configured config.php with url and database.php with the correct connection data. Until now, everything work as it should. So after that load database to see if everything goes bien and the "blank screen of dead" appears if I refresh the page.
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Welcome extends CI_Controller {

   /**
    * Index Page for this controller.
    *
    * Maps to the following URL
    *      http://example.com/index.php/welcome
    *  - or -  
    *      http://example.com/index.php/welcome/index
    *  - or -
    * Since this controller is set as the default controller in
    * config/routes.php, it's displayed at http://example.com/
    *
    * So any other public methods not prefixed with an underscore will
    * map to /index.php/welcome/<method_name>
    * @see http://codeigniter.com/user_guide/general/urls.html
    */
   public function index()
   {
       $this->load->database();
       $this->load->view('welcome_message');
   }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */

So after searching where it breaks, I found inside /system/core/Codeigniter.php in lines 300. Break before $CI = new $class();
/*
* ------------------------------------------------------
*  Instantiate the requested controller
* ------------------------------------------------------
*/
   // Mark a start point so we can benchmark the controller
   $BM->mark('controller_execution_time_( '.$class.' / '.$method.' )_start');
   $CI = new $class();
[color=#222222][size=small][font=Arial, 'Helvetica Neue', Helvetica, sans-serif]And Inside the log files, returned this lines[/font][/size][/color]
DEBUG - 2015-11-19 20:57:31 --> Config Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Hooks Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Utf8 Class Initialized
DEBUG - 2015-11-19 20:57:31 --> UTF-8 Support Enabled
DEBUG - 2015-11-19 20:57:31 --> URI Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Router Class Initialized
DEBUG - 2015-11-19 20:57:31 --> No URI present. Default controller set.
DEBUG - 2015-11-19 20:57:31 --> Output Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Security Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Input Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Global POST and COOKIE data sanitized
DEBUG - 2015-11-19 20:57:31 --> Language Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Loader Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Helper loaded: url_helper
DEBUG - 2015-11-19 20:57:31 --> Helper loaded: html_helper
DEBUG - 2015-11-19 20:57:31 --> Helper loaded: cms_helper
DEBUG - 2015-11-19 20:57:31 --> Helper loaded: drops_helper
DEBUG - 2015-11-19 20:57:31 --> Controller Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Model Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Model Class Initialized
DEBUG - 2015-11-19 20:57:31 --> Helper loaded: form_helper
DEBUG - 2015-11-19 20:57:31 --> Database Driver Class Initialized
[color=#222222][size=small][font=Arial, 'Helvetica Neue', Helvetica, sans-serif]I need to deploy a web made in other server and when I uploaded inside Godaddy the blank page appears, that's the reason why I upload a clean package of Codeigniter. Anyone can help me? Thanks in advance.[/font][/size][/color]
Reply
#2

Godaddy is a terrible place to host a website. You will not stop coming back here and complaining, so you might was well just go with a different host.
Reply
#3

Why would you upload a new installation of CI 2.x? Apart from that, could it be that you try to use a DB driver that is not supported by the host? For example if you try to use 'mysql' when the server only works with 'mysqli'
Reply




Theme © iAndrew 2016 - Forum software by © MyBB