Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot redeclare __autoload() #44

Open
manishkumar-dsi opened this issue Jun 16, 2016 · 0 comments
Open

Cannot redeclare __autoload() #44

manishkumar-dsi opened this issue Jun 16, 2016 · 0 comments

Comments

@manishkumar-dsi
Copy link

Hi,
I am using codeigniter version 2.2.1. I have followed the exact step for my project but it is giving PHP Fatal error: Cannot redeclare __autoload() . Please let me know what to do here.
Thanks

Here is the stack trace :

PHP Fatal error:  Cannot redeclare __autoload() (previously declared in C:\inetpub\wwwroot\secure\server\application\config\config.php:423) in 
C:\inetpub\wwwroot\secure\server\application\config\config.php on line 432
PHP Stack trace:
PHP   1. {main}() D:\php5\phpunit.phar:0
PHP   2. PHPUnit_TextUI_Command::main() D:\php5\phpunit.phar:520
PHP   3. PHPUnit_TextUI_Command->run() phar://D:/php5/phpunit.phar/phpunit/TextUI/Command.php:109
PHP   4. PHPUnit_TextUI_Command->handleArguments() phar://D:/php5/phpunit.phar/phpunit/TextUI/Command.php:120
PHP   5. PHPUnit_TextUI_Command->handleBootstrap() phar://D:/php5/phpunit.phar/phpunit/TextUI/Command.php:681
PHP   6. PHPUnit_Util_Fileloader::checkAndLoad() phar://D:/php5/phpunit.phar/phpunit/TextUI/Command.php:804
PHP   7. PHPUnit_Util_Fileloader::load() phar://D:/php5/phpunit.phar/phpunit/Util/Fileloader.php:38
PHP   8. include_once() phar://D:/php5/phpunit.phar/phpunit/Util/Fileloader.php:56
PHP   9. require_once() C:\inetpub\wwwroot\secure\server\application\tests\bootstrap.php:27
PHP  10. require_once() C:\inetpub\wwwroot\secure\index.php:206
PHP  11. load_class() C:\inetpub\wwwroot\secure\server\system\core\CodeIgniter.php:116
PHP  12. config_item() C:\inetpub\wwwroot\secure\server\system\core\Common.php:151
PHP  13. get_config() C:\inetpub\wwwroot\secure\server\system\core\Common.php:276
PHP  14. require() C:\inetpub\wwwroot\secure\server\system\core\Common.php:235
PHP  15. _exception_handler() C:\inetpub\wwwroot\secure\server\system\core\Common.php:41
PHP  16. load_class() C:\inetpub\wwwroot\secure\server\system\core\Common.php:477
PHP  17. config_item() C:\inetpub\wwwroot\secure\server\system\core\Common.php:151
PHP  18. get_config() C:\inetpub\wwwroot\secure\server\system\core\Common.php:276
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant