[eluser]kyletreubig[/eluser]
I just started using CodeIgniter about a month ago--and am thoroughly impressed! I am currently working on an end-user control panel for a website my associate and I have developed. I decided to write myself some libraries of my own for systems that I know I will reuse in the future, and may be used multiple times (and in different configurations) on a single website. Specifically, I have written a photo/video gallery library and a blog/guestbook comment library, each with front-end and back-end (management) functions, associated models, and config files.
I thought I was doing everything correctly since it worked on my personal computer and on my own web server (both running PHP5), but failed to work on my client's server (running PHP4). After fixing some errors in my code that were intrinsic to PHP4 (chaining functions, like $object->row()->data_element), I now have a problem that's been baffling me for the last two days. In my custom library, I'm trying to use the pagination library. I'm able to load the library (at least I'm not given any error), but I cannot use any of its methods. I've also tried to load the pagination library in my controller, but I still can't use other library's methods in my custom library.
It hasn't helped that the hosting company has turned off error displaying in their PHP setup, so I just get a blank white page when something goes wrong.
I hope I've explained this well enough, and any advice would be well appreciated.
Thanks!
- Kyle