Fatal error in webtools.php

Hi guys,

today i enabled webtools for the first time, on an existing project. When accessing webtools.php i get this error:

bash Fatal error: Class 'Phalcon\Script' not found in /usr/share/pear/Phalcon/Web/Tools.php on line 215

I also followed the instruction from this post: http://forum.phalconphp.com/discussion/25/fatal-error-class-phalcon-script-not-found#C149

I can enable/disable webtools via console, without any errors but i can't access the webtools.php

What is the best way to fix my problem?

Thank you guys!



33.6k

Hi ciruz You tries cd ~ git clone https://github.com/phalcon/phalcon-devtools.git cd phalcon-devtools and ln -s ~/phalcon-devtools/phalcon.php /usr/bin/phalcon chmod ugo+x /usr/bin/phalcon



33.6k

You create project new via phalcon project 123 --enable-webtools, and compersion file in directories, I test in project vokuro success



799

Thank you it works now for a new project with your tipps. He created the webtool files correct, only with a wrong phalcon devtool path, for now i just changed the path in the config.