We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Error 404 using webtools with ubuntu 16.04

I am working with ubuntu 16.04 and I am trying to understand how phalcon and developer tools work. I have created a project in my lamp configuration apache 2.14.18 php 7.0.13 and mysql 5.7. The lamp directory is /var/www/html So, I have done phalcon project aroma and then phalcon webtools enable When I run webtools.php with firefox / firefox developer edition and chrome and I got the following message in the web console GET https://localhost/css/webtools.css HTTP 1.1 404 not found I will appreciate your help.



7.6k

You have to add permission for save new files (generated inn fly by webtools) to public folder (chmod -R 777 public) or add lamp user writing permission



43.9k
edited Jan '17

Hi,

https://localhost/css/webtools.css HTTP 1.1 404 not foun

it should be https://localhost/aroma/css/webtools.css

in app/config/config.php add an entry in 'application' array:

'staticUri' => '/aroma/'

You may set baseUri to the same value if your experiencing duplication of webtools.php in the url. See that post:

https://forum.phalcon.io/discussion/15105/webtools-url-keeps-multiplying

do you have mod_rewrite on ?

do you have mod_rewrite on ? yes, I do.