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

why won't tutorials run - Phalcon 4.0.6 - PHP 7.4.2 - MAMP

I just installed phalcon version 4.0.6 and psr and they display in phpinfo();

To test the new setup i am trying to run the tutorials but getting errors.

basic - is old and prior to version 4 - https://github.com/phalcon/tutorial

Invo - the vendor/autoload.php is not in the project folder

vokuro - the vendor/autoload.php is not in the project folder

For invo and vokuro am getting this browser error:

This page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500

For invo and vokuro am getting this error in php_error.log:

[21-Aug-2020 01:15:20 UTC] PHP Fatal error: require_once(): Failed opening required '/Applications/MAMP/htdocs/vokuro/vendor/autoload.php' (include_path='.:/Applications/MAMP/bin/php/php7.4.2/lib/php') in /Applications/MAMP/htdocs/vokuro/public/index.php on line 18 .

Any ideas?

Thanks.

edited Aug '20

you can create the project via the dev tools

  • 1 add phalcon & psr extensions to your php installtation
  • 2, composer global require phalcon/devtools
  • 3, phalcon create-project myproject
  • happy coding ;)


126

Almost PHP projects use composer (https://getcomposer.org).

You must install composer and run the command composer install to install the php dependencies which invo/vokuro needs



2.4k
edited Oct '20

It's been a long time since I came to see you here

Heared about a new version, tried to test a tutorial.. and nope

If it needs to run the 10 thousand lines of the composer, how can we still speak of speed of execution?

If it cannot even perform his invo, vokuro, tutorials, this means that there is no one at the other end

Should we not declare PHALCON PHP FRAMEWORK dead and buried?



14.4k

Ruined such a project. What a pity. I have also been struggling for a long time to work and cannot do anything. One empty replies, one pissing in the ears.