-
Notifications
You must be signed in to change notification settings - Fork 630
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
PHP Fatal error: Class 'Phalcon_exception' not found in #16
Comments
Hi, you need to install devtools from the 0.5.0 branch |
Thanks for Fast response, I still get following error. I used following config in phalcon.bat file@echo off set PTOOLSPATH=D:\phalcon-devtools
D:\wamp\www>php -v 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 Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p Call Stack: PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p Call Stack: PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p Call Stack: PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p Call Stack: PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p Call Stack: PHP Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Proj Warning: file_get_contents(D:\phalcon-devtools\scripts\Phalcon\Builder\Project.p Call Stack: 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:
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 PHP Stack trace: Notice: Undefined property: Phalcon\Commands\Builtin\Webtools::$_possibleParamet Call Stack: PHP Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scr Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scripts Call Stack: Help: Usage: Arguments: PHP Notice: Undefined property: Phalcon\Commands\Builtin\Webtools::$_possiblePa Notice: Undefined property: Phalcon\Commands\Builtin\Webtools::$_possibleParamet Call Stack: PHP Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scr Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scripts Call Stack: Options: Warning: Invalid argument supplied for foreach() in D:\phalcon-devtools\scripts Call Stack: D:\wamp\www>phalcon create-project phalcontry --enable-webtools Success: Controller "index" 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,
you must change in class: phalcon-tools\scripts\Phalcon\Builder\Path.php:90 Good luck :-) |
@MarcinGrabowski |
@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
The text was updated successfully, but these errors were encountered: