Fatal error: Cannot redeclare *insert helper here* |
[eluser]codercotton[/eluser]
Hey all, First off, I've read all the threads from searching "cannot redeclare". None of my class names conflict with other classes, and there are no other loaders for these helpers. I have a library that I'm trying to load a controller and a model into, no matter which one I try to load, I first get: Code: Fatal error: Cannot redeclare site_url() (previously declared in /var/www/httpdocs/site/helpers/url_helper.php:40) in /var/www/httpdocs/site/helpers/url_helper.php on line 40 We're porting old authentication code to the FreakAuth CI addon, and it works great. I'm wondering if this addon has anything to do with it though. FWIW, all the auth stuff works fine, it's just when I try to include some of my old classes that it starts throwing errors. I've commented everything out of the controller I'm loading, so it's the act of just including the controller that is bombing it out, nothing in the controller itself (just an echo in there). I'm loading the controller like this: Code: $this->loadController('VendorList'); TIA, Cotton |
Messages In This Thread |
Fatal error: Cannot redeclare *insert helper here* - by El Forum - 07-17-2007, 08:12 PM
Fatal error: Cannot redeclare *insert helper here* - by El Forum - 07-18-2007, 02:09 AM
Fatal error: Cannot redeclare *insert helper here* - by El Forum - 07-18-2007, 02:32 AM
Fatal error: Cannot redeclare *insert helper here* - by El Forum - 10-05-2007, 01:50 AM
Fatal error: Cannot redeclare *insert helper here* - by El Forum - 10-05-2007, 04:17 AM
|