[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