Closed rizsc closed 12 years ago
Hi, you need to install devtools from the 0.5.0 branch
Thanks for Fast response, I still get following error.
@echo off
set PTOOLSPATH=D:\phalcon-devtools php %PTOOLSPATH%\phalcon.php %* ------------------------------------|
D:\wamp\www>php -v PHP 5.3.8 (cli) (built: Sep 16 2011 21:28:32) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans
D:\wamp\www>phalcon project phalcon-try
Phalcon DevTools (0.5.0 BETA 2)
PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj ect.phptemplates/project/simple/config.php): failed to open stream: No such file or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php on line 128 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:73 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-devtools\scripts\Pha lcon\Script.php:115 PHP 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\scripts\Phalcon\Co mmands\Builtin\Project.php:81 PHP 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-devtools\scripts\Pha lcon\Builder\Project.php:95 PHP 7. Phalcon\Builder\Project\Simple->createConfig() D:\phalcon-devtools\scri pts\Phalcon\Builder\Project\Simple.php:185 PHP 8. file_get_contents() D:\phalcon-devtools\scripts\Phalcon\Builder\Project \Simple.php:128
Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p hptemplates/project/simple/config.php): failed to open stream: No such file or d irectory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php on li ne 128
Call Stack: 0.0004 650816 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0063 1199664 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :73 0.0064 1200192 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0068 1202048 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-de vtools\scripts\Phalcon\Script.php:115 0.0074 1271600 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\ scripts\Phalcon\Commands\Builtin\Project.php:81 0.0085 1344776 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-de vtools\scripts\Phalcon\Builder\Project.php:95 0.0103 1344904 7. Phalcon\Builder\Project\Simple->createConfig() D:\pha lcon-devtools\scripts\Phalcon\Builder\Project\Simple.php:185 0.0104 1345112 8. file_get_contents() D:\phalcon-devtools\scripts\Phalc on\Builder\Project\Simple.php:128
PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj ect.phptemplates/project/simple/index.php): failed to open stream: No such file or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php o n line 163 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:73 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-devtools\scripts\Pha lcon\Script.php:115 PHP 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\scripts\Phalcon\Co mmands\Builtin\Project.php:81 PHP 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-devtools\scripts\Pha lcon\Builder\Project.php:95 PHP 7. Phalcon\Builder\Project\Simple->createBootstrapFile() D:\phalcon-devtoo ls\scripts\Phalcon\Builder\Project\Simple.php:188 PHP 8. file_get_contents() D:\phalcon-devtools\scripts\Phalcon\Builder\Project \Simple.php:163
Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p hptemplates/project/simple/index.php): failed to open stream: No such file or di rectory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php on lin e 163
Call Stack: 0.0004 650816 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0063 1199664 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :73 0.0064 1200192 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0068 1202048 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-de vtools\scripts\Phalcon\Script.php:115 0.0074 1271600 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\ scripts\Phalcon\Commands\Builtin\Project.php:81 0.0085 1344776 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-de vtools\scripts\Phalcon\Builder\Project.php:95 0.0281 1344984 7. Phalcon\Builder\Project\Simple->createBootstrapFile() D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php:188 0.0282 1345312 8. file_get_contents() D:\phalcon-devtools\scripts\Phalc on\Builder\Project\Simple.php:163
PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj ect.phptemplates/project/simple/htaccess): failed to open stream: No such file o r directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php on line 86 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:73 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-devtools\scripts\Pha lcon\Script.php:115 PHP 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\scripts\Phalcon\Co mmands\Builtin\Project.php:81 PHP 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-devtools\scripts\Pha lcon\Builder\Project.php:95 PHP 7. Phalcon\Builder\Project\Simple->createHtaccessFiles() D:\phalcon-devtoo ls\scripts\Phalcon\Builder\Project\Simple.php:189 PHP 8. file_get_contents() D:\phalcon-devtools\scripts\Phalcon\Builder\Project \Simple.php:86
Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p hptemplates/project/simple/htaccess): failed to open stream: No such file or dir ectory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php on line 86
Call Stack: 0.0004 650816 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0063 1199664 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :73 0.0064 1200192 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0068 1202048 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-de vtools\scripts\Phalcon\Script.php:115 0.0074 1271600 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\ scripts\Phalcon\Commands\Builtin\Project.php:81 0.0085 1344776 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-de vtools\scripts\Phalcon\Builder\Project.php:95 0.0499 1344984 7. Phalcon\Builder\Project\Simple->createHtaccessFiles() D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php:189 0.0507 1345480 8. file_get_contents() D:\phalcon-devtools\scripts\Phalc on\Builder\Project\Simple.php:86
PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj ect.phptemplates/project/simple/ControllerBase.php): failed to open stream: No s uch file or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Sim ple.php on line 145 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:73 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-devtools\scripts\Pha lcon\Script.php:115 PHP 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\scripts\Phalcon\Co mmands\Builtin\Project.php:81 PHP 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-devtools\scripts\Pha lcon\Builder\Project.php:95 PHP 7. Phalcon\Builder\Project\Simple->createControllerBase() D:\phalcon-devto ols\scripts\Phalcon\Builder\Project\Simple.php:190 PHP 8. file_get_contents() D:\phalcon-devtools\scripts\Phalcon\Builder\Project \Simple.php:145
Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p hptemplates/project/simple/ControllerBase.php): failed to open stream: No such f ile or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.p hp on line 145
Call Stack: 0.0004 650816 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0063 1199664 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :73 0.0064 1200192 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0068 1202048 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-de vtools\scripts\Phalcon\Script.php:115 0.0074 1271600 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\ scripts\Phalcon\Commands\Builtin\Project.php:81 0.0085 1344776 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-de vtools\scripts\Phalcon\Builder\Project.php:95 0.0693 1344984 7. Phalcon\Builder\Project\Simple->createControllerBase( ) D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php:190 0.0694 1345200 8. file_get_contents() D:\phalcon-devtools\scripts\Phalc on\Builder\Project\Simple.php:145
PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj ect.phptemplates/project/simple/views/index.phtml): failed to open stream: No su ch file or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simp le.php on line 105 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:73 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-devtools\scripts\Pha lcon\Script.php:115 PHP 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\scripts\Phalcon\Co mmands\Builtin\Project.php:81 PHP 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-devtools\scripts\Pha lcon\Builder\Project.php:95 PHP 7. Phalcon\Builder\Project\Simple->createIndexViewFiles() D:\phalcon-devto ols\scripts\Phalcon\Builder\Project\Simple.php:191 PHP 8. file_get_contents() D:\phalcon-devtools\scripts\Phalcon\Builder\Project \Simple.php:105
Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p hptemplates/project/simple/views/index.phtml): failed to open stream: No such fi le or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.ph p on line 105
Call Stack: 0.0004 650816 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0063 1199664 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :73 0.0064 1200192 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0068 1202048 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-de vtools\scripts\Phalcon\Script.php:115 0.0074 1271600 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\ scripts\Phalcon\Commands\Builtin\Project.php:81 0.0085 1344776 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-de vtools\scripts\Phalcon\Builder\Project.php:95 0.0878 1344984 7. Phalcon\Builder\Project\Simple->createIndexViewFiles( ) D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php:191 0.0879 1345304 8. file_get_contents() D:\phalcon-devtools\scripts\Phalc on\Builder\Project\Simple.php:105
PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj ect.phptemplates/project/simple/views/index/index.phtml): failed to open stream: No such file or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Projec t\Simple.php on line 111 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:73 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-devtools\scripts\Pha lcon\Script.php:115 PHP 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\scripts\Phalcon\Co mmands\Builtin\Project.php:81 PHP 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-devtools\scripts\Pha lcon\Builder\Project.php:95 PHP 7. Phalcon\Builder\Project\Simple->createIndexViewFiles() D:\phalcon-devto ols\scripts\Phalcon\Builder\Project\Simple.php:191 PHP 8. file_get_contents() D:\phalcon-devtools\scripts\Phalcon\Builder\Project \Simple.php:111
Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p hptemplates/project/simple/views/index/index.phtml): failed to open stream: No s uch file or directory in D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Sim ple.php on line 111
Call Stack: 0.0004 650816 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0063 1199664 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :73 0.0064 1200192 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0068 1202048 4. Phalcon\Commands\Builtin\Project->run() D:\phalcon-de vtools\scripts\Phalcon\Script.php:115 0.0074 1271600 5. Phalcon\Builder\Project->build() D:\phalcon-devtools\ scripts\Phalcon\Commands\Builtin\Project.php:81 0.0085 1344776 6. Phalcon\Builder\Project\Simple->build() D:\phalcon-de vtools\scripts\Phalcon\Builder\Project.php:95 0.0878 1344984 7. Phalcon\Builder\Project\Simple->createIndexViewFiles( ) D:\phalcon-devtools\scripts\Phalcon\Builder\Project\Simple.php:191 0.1081 1346040 8. file_get_contents() D:\phalcon-devtools\scripts\Phalc on\Builder\Project\Simple.php:111
Error: Builder doesn't knows where is the controllers directory
D:\wamp\www>
hey @theDisco, can you check this please?
I had the same problem in PEAR context on linux. That's why I introduced the constant TEMPLATE_PATH. A fix for that will come tonight. I will also rebuild the PEAR package.
I have added TEMPLATE_PATH as a default to the project command. @rizub4u can you please run:
pear uninstall phalcon/Devtools
pear install phalcon/Devtools
and check if it solves your problem? Unfortunately I don't have a windows machine to test it :/
Hey Guys, creating a project is working fine but I getting error when I use webtool command, I did try to use --enable-webtools command when I create project, but I cant access webtools via web interface.
Would be good if this one will be fix, love to use webtools via web interface, thanks!
D:\wamp\www\phalcon-try2>phalcon webtools
Phalcon DevTools (0.5.0 BETA 2)
PHP Notice: Undefined property: Phalcon\Commands\Builtin\Webtools::$_possiblePa rameters in D:\phalcon-devtools\scripts\Phalcon\Commands\Command.php on line 132
PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:77 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\scripts\Phalcon\Scri pt.php:110 PHP 5. Phalcon\Commands\CommandsListener->beforeCommand() D:\phalcon-devtools\ scripts\Phalcon\Script.php:110 PHP 6. Phalcon\Commands\Command->parseParameters() D:\phalcon-devtools\scripts \Phalcon\Commands\CommandsListener.php:45
Notice: Undefined property: Phalcon\Commands\Builtin\Webtools::$_possibleParamet ers in D:\phalcon-devtools\scripts\Phalcon\Commands\Command.php on line 132
Call Stack: 0.0005 653440 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0049 1200720 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :77 0.0049 1201088 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0049 1201224 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\sc ripts\Phalcon\Script.php:110 0.0049 1203600 5. Phalcon\Commands\CommandsListener->beforeCommand() D: \phalcon-devtools\scripts\Phalcon\Script.php:110 0.0051 1203648 6. Phalcon\Commands\Command->parseParameters() D:\phalco n-devtools\scripts\Phalcon\Commands\CommandsListener.php:45
PHP Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scr ipts\Phalcon\Commands\Command.php on line 136 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:77 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\scripts\Phalcon\Scri pt.php:110 PHP 5. Phalcon\Commands\CommandsListener->beforeCommand() D:\phalcon-devtools\ scripts\Phalcon\Script.php:110 PHP 6. Phalcon\Commands\Command->parseParameters() D:\phalcon-devtools\scripts \Phalcon\Commands\CommandsListener.php:45
Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scripts\ Phalcon\Commands\Command.php on line 136
Call Stack: 0.0005 653440 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0049 1200720 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :77 0.0049 1201088 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0049 1201224 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\sc ripts\Phalcon\Script.php:110 0.0049 1203600 5. Phalcon\Commands\CommandsListener->beforeCommand() D: \phalcon-devtools\scripts\Phalcon\Script.php:110 0.0051 1203648 6. Phalcon\Commands\Command->parseParameters() D:\phalco n-devtools\scripts\Phalcon\Commands\CommandsListener.php:45
Help: Enables/disables webtools in a project
Usage: webtools [action]
Arguments: ? Shows this help text
PHP Notice: Undefined property: Phalcon\Commands\Builtin\Webtools::$_possiblePa rameters in D:\phalcon-devtools\scripts\Phalcon\Commands\Builtin\Webtools.php on line 80 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:77 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\scripts\Phalcon\Scri pt.php:110 PHP 5. Phalcon\Commands\CommandsListener->beforeCommand() D:\phalcon-devtools\ scripts\Phalcon\Script.php:110 PHP 6. Phalcon\Commands\Builtin\Webtools->getHelp() D:\phalcon-devtools\script s\Phalcon\Commands\CommandsListener.php:47
Notice: Undefined property: Phalcon\Commands\Builtin\Webtools::$_possibleParamet ers in D:\phalcon-devtools\scripts\Phalcon\Commands\Builtin\Webtools.php on line 80
Call Stack: 0.0005 653440 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0049 1200720 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :77 0.0049 1201088 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0049 1201224 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\sc ripts\Phalcon\Script.php:110 0.0049 1203600 5. Phalcon\Commands\CommandsListener->beforeCommand() D: \phalcon-devtools\scripts\Phalcon\Script.php:110 0.0258 1203936 6. Phalcon\Commands\Builtin\Webtools->getHelp() D:\phalc on-devtools\scripts\Phalcon\Commands\CommandsListener.php:47
PHP Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scr ipts\Phalcon\Commands\Command.php on line 439 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:77 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\scripts\Phalcon\Scri pt.php:110 PHP 5. Phalcon\Commands\CommandsListener->beforeCommand() D:\phalcon-devtools\ scripts\Phalcon\Script.php:110 PHP 6. Phalcon\Commands\Builtin\Webtools->getHelp() D:\phalcon-devtools\script s\Phalcon\Commands\CommandsListener.php:47 PHP 7. Phalcon\Commands\Command->printParameters() D:\phalcon-devtools\scripts \Phalcon\Commands\Builtin\Webtools.php:80
Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scripts\ Phalcon\Commands\Command.php on line 439
Call Stack: 0.0005 653440 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0049 1200720 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :77 0.0049 1201088 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0049 1201224 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\sc ripts\Phalcon\Script.php:110 0.0049 1203600 5. Phalcon\Commands\CommandsListener->beforeCommand() D: \phalcon-devtools\scripts\Phalcon\Script.php:110 0.0258 1203936 6. Phalcon\Commands\Builtin\Webtools->getHelp() D:\phalc on-devtools\scripts\Phalcon\Commands\CommandsListener.php:47 0.0410 1203984 7. Phalcon\Commands\Command->printParameters() D:\phalco n-devtools\scripts\Phalcon\Commands\Builtin\Webtools.php:80
Options: PHP Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scr ipts\Phalcon\Commands\Command.php on line 449 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php:77 PHP 3. Phalcon\Script->dispatch() D:\phalcon-devtools\scripts\Phalcon\Script.p hp:138 PHP 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\scripts\Phalcon\Scri pt.php:110 PHP 5. Phalcon\Commands\CommandsListener->beforeCommand() D:\phalcon-devtools\ scripts\Phalcon\Script.php:110 PHP 6. Phalcon\Commands\Builtin\Webtools->getHelp() D:\phalcon-devtools\script s\Phalcon\Commands\CommandsListener.php:47 PHP 7. Phalcon\Commands\Command->printParameters() D:\phalcon-devtools\scripts \Phalcon\Commands\Builtin\Webtools.php:80
Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scripts\ Phalcon\Commands\Command.php on line 449
Call Stack: 0.0005 653440 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0049 1200720 2. Phalcon\Script->run() D:\phalcon-devtools\phalcon.php :77 0.0049 1201088 3. Phalcon\Script->dispatch() D:\phalcon-devtools\script s\Phalcon\Script.php:138 0.0049 1201224 4. Phalcon\Events\Manager->fire() D:\phalcon-devtools\sc ripts\Phalcon\Script.php:110 0.0049 1203600 5. Phalcon\Commands\CommandsListener->beforeCommand() D: \phalcon-devtools\scripts\Phalcon\Script.php:110 0.0258 1203936 6. Phalcon\Commands\Builtin\Webtools->getHelp() D:\phalc on-devtools\scripts\Phalcon\Commands\CommandsListener.php:47 0.0410 1203984 7. Phalcon\Commands\Command->printParameters() D:\phalco n-devtools\scripts\Phalcon\Commands\Builtin\Webtools.php:80
D:\wamp\www>phalcon create-project phalcontry --enable-webtools Phalcon DevTools (0.5.0 BETA 2)
Success: Controller "index" was successfully created. Success: Project "phalcontry" was successfully created.
D:\wamp\www>
It is good to know that Devtools are working now (well almost). @rizub4u as you can read here:
https://groups.google.com/forum/?fromgroups=#!topic/phalcon/B_gc5kNq5q4
webtools have not been migrated to 0.5.0 yet. We are working on documentation for Devtools right now. You can just switch to 0.5.0 branch and find some information in README.md
Thanks Wojtek
Hey Guys,
maybe its wrong place to ask this question, does Phalcon 0.5.0 is fully stable? Next 6 months I want to use for my production machine, do you recommend to use 0.5.0 to get started for one of my project?
This is really interesting project !
Thanks !
Hello, if you try create a model in the windows, and you receive error:
Warning: file_put_contents(C:\xampp\htdocs\ScrumPoker\C:/xampp/htdocs/ScrumPoker/public_html../app/models\Rooms.php): failed to open stream: Invalid argument in C:\phalcon-tools\scripts\Phalcon\Builder\Model.php on line 492
you must change in class: phalcon-tools\scripts\Phalcon\Builder\Path.php:90
from
$this->rootPath = rtrim($path, '\\/') . DIRECTORY_SEPARATOR;
on
$this->rootPath = rtrim(str_replace('/', DIRECTORY_SEPARATOR, $path), '\\/') . DIRECTORY_SEPARATOR;
Good luck :-)
@MarcinGrabowski
Fixed in the 3.0.x
branch.
please help me , this my problem when i install phalcon
@ahmadfauzirahman Open please a new issue with steps to reproduce
Hello,
I getting following error when I create new project.
PHP Fatal error: Class 'Phalcon_exception' not found in
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
D:\wamp\www>phalcon project phalcontry PHP Fatal error: Class 'Phalcon_Exception' not found in D:\phalcon-devtools\scr ipts\Script\ScriptException.php on line 33 PHP Stack trace: PHP 1. {main}() D:\phalcon-devtools\phalcon.php:0 PHP 2. require() D:\phalcon-devtools\phalcon.php:63 PHP 3. require() D:\phalcon-devtools\scripts\project.php:26 PHP 4. require() D:\phalcon-devtools\scripts\Script\Script.php:21
Fatal error: Class 'Phalcon_Exception' not found in D:\phalcon-devtools\scripts\ Script\ScriptException.php on line 33
Call Stack: 0.0005 649744 1. {main}() D:\phalcon-devtools\phalcon.php:0 0.0171 684440 2. require('D:\phalcon-devtools\scripts\project.php') D: \phalcon-devtools\phalcon.php:63 0.0211 808336 3. require('D:\phalcon-devtools\scripts\Script\Script.ph p') D:\phalcon-devtools\scripts\project.php:26 0.0224 811248 4. require('D:\phalcon-devtools\scripts\Script\ScriptExc eption.php') D:\phalcon-devtools\scripts\Script\Script.php:21