Skip to content
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

Could not Resolve PHP Class [Fusio Engine] #41

Closed
subangkit opened this issue Jun 15, 2017 · 2 comments
Closed

Could not Resolve PHP Class [Fusio Engine] #41

subangkit opened this issue Jun 15, 2017 · 2 comments

Comments

@subangkit
Copy link

subangkit commented Jun 15, 2017

I dont know what wrong with this configuration. Previous version of fusio 0.8 was working, but after update getting error.

.fusio.yml configuration

routes: "/akun": version: 1 methods: GET: public: true response: Akun-Collection action: App\Akun\Action\Collection

Message: Could not resolve action App-Akun-Action-Collection
Trace: #0 /var/www/fusio.apotek.com/vendor/fusio/impl/src/Service/System/SystemAbstract.php(

#1 /var/www/fusio.apotek.com/vendor/fusio/impl/src/Service/System/Import.php(129): Fusio\Impl\Service\System\SystemAbstract->transform('routes', Object(stdClass))
#2 /var/www/fusio.apotek.com/vendor/fusio/impl/src/Service/System/Import.php(88): Fusio\Impl\Service\System\Import->importRoutes(Object(stdClass))
#3 /var/www/fusio.apotek.com/vendor/fusio/impl/src/Service/System/Deploy.php(99): Fusio\Impl\Service\System\Import->import(Object(stdClass))
#4 /var/www/fusio.apotek.com/vendor/fusio/impl/src/Console/System/DeployCommand.php(106): Fusio\Impl\Service\System\Deploy->deploy(Array, '/var/www/fusio....')
#5 /var/www/fusio.apotek.com/vendor/symfony/console/Command/Command.php(264): Fusio\Impl\Console\System\DeployCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /var/www/fusio.apotek.com/vendor/symfony/console/Application.php(869): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/fusio.apotek.com/vendor/symfony/console/Application.php(223): Symfony\Component\Console\Application->doRunCommand(Object(Fusio\Impl\Console\System\DeployCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/fusio.apotek.com/vendor/symfony/console/Application.php(130): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/fusio.apotek.com/bin/fusio(47): Symfony\Component\Console\Application->run()
#10 {main}`
@chriskapp
Copy link
Member

Hi, mhh this error occurs probably because of the new 'fusio_engine' config value. Could you check your configuration.php file whether you have the 'fusio_engine' parameter set. In your case it should have the the following value:

'fusio_engine'            => \Fusio\Engine\Factory\Resolver\PhpClass::class,

@subangkit
Copy link
Author

Hi Christoph,

I found my mistake, I set fusio_engine with
'fusio_engine' => \Fusio\Impl\Factory\Resolver\PhpClass::class,
and, I've change to
'fusio_engine' => \Fusio\Engine\Factory\Resolver\PhpClass::class,

And now work like nicely.

Thank you for your help and amazing fusio Christoph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants