Welcome Guest, Not a member yet? Register   Sign In
CI acts differently between servers
#1

[eluser]newbrand[/eluser]
Hi there,

I've been developing a site on my local machine - all works fine. It's using PHP5, my production server is also on PHP5 (on a MediaTemple Grid Server). I just ported it online and a majority of the functionality works with some minor issues with libraries.

Basically I created my own class and dropped it in libraries/NameConverter.php. Here is a sample of the code:

Code:
<?php

class NameConverter {

    function convert($str) {
        // Does stuff...
        return $str;
    }
    
}

?>

I do a normal $this->load->library("nameconverter") and it works locally but online it reads out:

An Error Was Encountered

Unable to load the requested class: nameconverter

The weird thing is that I'm using the CI_Template class in my code and that seems to be working and importing correctly - doesn't read out any errors and does its job.

I'm itching to track down what I'm doing wrong :-(

Thanks in advance.

Dave


Messages In This Thread
CI acts differently between servers - by El Forum - 01-08-2009, 10:30 AM
CI acts differently between servers - by El Forum - 01-08-2009, 11:09 AM
CI acts differently between servers - by El Forum - 01-08-2009, 11:30 AM
CI acts differently between servers - by El Forum - 01-08-2009, 11:39 AM
CI acts differently between servers - by El Forum - 01-08-2009, 12:16 PM
CI acts differently between servers - by El Forum - 01-08-2009, 12:30 PM
CI acts differently between servers - by El Forum - 01-08-2009, 05:27 PM
CI acts differently between servers - by El Forum - 01-08-2009, 05:48 PM
CI acts differently between servers - by El Forum - 01-08-2009, 07:24 PM
CI acts differently between servers - by El Forum - 01-08-2009, 09:21 PM
CI acts differently between servers - by El Forum - 01-08-2009, 09:38 PM
CI acts differently between servers - by El Forum - 01-09-2009, 05:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB