Welcome Guest, Not a member yet? Register   Sign In
"Message: Cannot modify header information - headers already sent " error
#1

[eluser]bill19[/eluser]
Hi,

I am trying to install a php script ( my first time doing it ). I have run into the following error:

Quote:

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home2/******/public_html/******/application/controllers/options_controller.php:13)

Filename: core/Common.php

Line Number: 438

An Error Was Encountered

Unable to locate the model you have specified: zipcodedata


[/quote]

when I run it from my local host in my development environment it works!

Assuming ':13' means line 13, here is the beginning of my options_controller file:

Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class options_controller extends CI_Controller {

public function index()
{
  
            set_time_limit(0);        // avoid php time out error?  - seen in curl

                $state="ma";
                $monthsago="2";
  echo "string";     // line 13

                

                     $this->load->library('rb');

I would appreciate any help.

Thanks,

KC
#2

[eluser]Clooner[/eluser]
Seems to me like a problem with character case. Windows is case insensitive but Linux is. Are you installing it on a Linux system and developing it on a Windows system. It just says it cannot find the model.
#3

[eluser]bill19[/eluser]
Yes, You are right. I'm developing on wamp and uploading to a shared host. - KC




Theme © iAndrew 2016 - Forum software by © MyBB