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

Declaration of MigrateCommand::confirm() should be compatible with that of CConsoleCommand::confirm() #786

Closed
vyachin opened this issue Jun 5, 2012 · 2 comments
Assignees

Comments

@vyachin
Copy link

vyachin commented Jun 5, 2012

PHP Error[2048]: Declaration of MigrateCommand::confirm() should be compatible with that of CConsoleCommand::confirm()
in file C:\Projects\yii\cli\commands\MigrateCommand.php at line 586
#0 C:\Projects\yii\console\CConsoleCommandRunner.php(131): createCommand()
#1 C:\Projects\yii\console\CHelpCommand.php(65): CConsoleCommandRunner->createCommand()
#2 C:\Projects\yii\console\CConsoleCommandRunner.php(68): CHelpCommand->run()
#3 C:\Projects\yii\console\CConsoleApplication.php(92): CConsoleCommandRunner->run()
#4 C:\Projects\yii\base\CApplication.php(162): CConsoleApplication->processRequest()
#5 C:\Projects\yii\yiic.php(33): CConsoleApplication->run()
#6 C:\Projects\e-order\protected\yiic.php(7): require_once()

Fatal error: Class 'CListIterator' not found in C:\Projects\yii\cli\commands\MigrateCommand.php on line 586

error occurs when the following settings in php.ini

====== php.ini ========

error_reporting = -1

display_errors = On

display_startup_errors = On

track_errors = On

My version of programs

PHP 5.3.6 (cli) (built: Mar 17 2011 10:37:07)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

Server version: Apache/2.2.19 (Win32)
Server built: May 20 2011 17:39:35

@samdark
Copy link
Member

samdark commented Jun 5, 2012

Which Yii version are you using? Can't reproduce on master.

@ghost ghost assigned samdark Jun 5, 2012
@vyachin
Copy link
Author

vyachin commented Jun 5, 2012

I am sorry. I use old yii version 1.1.10

@vyachin vyachin closed this as completed Jun 5, 2012
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

2 participants