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

devtools migration bug? #76

Closed
milchinskiy opened this issue May 14, 2013 · 1 comment
Closed

devtools migration bug? #76

milchinskiy opened this issue May 14, 2013 · 1 comment

Comments

@milchinskiy
Copy link

When I trying to generate the migration I getting an error:

phalcon migration run
Phalcon DevTools (1.1.0)

PHP Notice: Undefined property: Phalcon\Config::$adapter in /home/orion/.phalcon-devtools/scripts/Phalcon/Mvc/Model/Migration.php on line 70
PHP Stack trace:
PHP 1. {main}() /home/orion/.phalcon-devtools/phalcon.php:0
PHP 2. Phalcon\Script->run() /home/orion/.phalcon-devtools/phalcon.php:82
PHP 3. Phalcon\Script->dispatch() /home/orion/.phalcon-devtools/scripts/Phalcon/Script.php:138
PHP 4. Phalcon\Commands\Builtin\Migration->run() /home/orion/.phalcon-devtools/scripts/Phalcon/Script.php:115
PHP 5. Phalcon\Migrations::run() /home/orion/.phalcon-devtools/scripts/Phalcon/Commands/Builtin/Migration.php:96
PHP 6. Phalcon\Mvc\Model\Migration::setup() /home/orion/.phalcon-devtools/scripts/Phalcon/Migrations.php:181
PHP Fatal error: Class '\Phalcon\Db\Adapter\Pdo' not found in /home/orion/.phalcon-devtools/scripts/Phalcon/Mvc/Model/Migration.php on line 71
PHP Stack trace:
PHP 1. {main}() /home/orion/.phalcon-devtools/phalcon.php:0
PHP 2. Phalcon\Script->run() /home/orion/.phalcon-devtools/phalcon.php:82
PHP 3. Phalcon\Script->dispatch() /home/orion/.phalcon-devtools/scripts/Phalcon/Script.php:138
PHP 4. Phalcon\Commands\Builtin\Migration->run() /home/orion/.phalcon-devtools/scripts/Phalcon/Script.php:115
PHP 5. Phalcon\Migrations::run() /home/orion/.phalcon-devtools/scripts/Phalcon/Commands/Builtin/Migration.php:96
PHP 6. Phalcon\Mvc\Model\Migration::setup() /home/orion/.phalcon-devtools/scripts/Phalcon/Migrations.php:181


Runtime Env:
Debian 7.0, PHP 5.4.4-15 (cli) (built: Mar 22 2013 15:41:03), Postgresql 9.1 (db is not exists). Any questions, please, feel free to ask me.

@phalcon
Copy link
Collaborator

phalcon commented Jul 9, 2013

Fixed by @g3dut1s

@phalcon phalcon closed this as completed Jul 9, 2013
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