Welcome Guest, Not a member yet? Register   Sign In
[RESOLVED] Fatal error: Cannot redeclare class
#1

[eluser]IamPrototype[/eluser]
Hey, I get this error
Code:
Fatal error: Cannot redeclare class Community in D:\Programmer\xampp\htdocs\community\application\libraries\Community.php on line 13

Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

    /**
     * Community Library
     *
     * @author        Martin Nielsen
     * @version        1.0.0
     * @license        Copyright (c) 2009 Martin Nielsen
     */

    class Community {
        
        function Community()
        {
            $this->ci =& get_instance();
    
            log_message('debug', 'Community Initialized');
                
            // and so on with my code...
    }

    }

?>

Do you know why?


Messages In This Thread
[RESOLVED] Fatal error: Cannot redeclare class - by El Forum - 03-23-2009, 10:14 AM
[RESOLVED] Fatal error: Cannot redeclare class - by El Forum - 03-23-2009, 10:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB