ngmy / webloyer

Webloyer is a web UI for managing Deployer deployments
MIT License
218 stars 35 forks source link

Issue when using magento recipe #55

Closed JeromeSiau closed 7 years ago

JeromeSiau commented 8 years ago

Hi,

I'm testing your UI, seems cool for now. I'm tryng to deploy a magento website so i used the basic magento recipe, but when i want to deploy i have an error :

ErrorException in DeploymentForm.php line 63: Array to string conversion in DeploymentForm.php line 63 at HandleExceptions->handleError('8', 'Array to string conversion', '/home/xxxxxxxx/webloyer/app/Services/Form/Deployment/DeploymentForm.php', '63', array('input' => array('_token' => 'jnVHgzYJTUQ2hIaO828ym2lWVYsZCuo6QfCULeqr', 'task' => 'deploy', 'status' => null, 'message' => null, 'project_id' => '1', 'user_id' => '1'), 'deployment' => object(Deployment))) in DeploymentForm.php line 63 at DeploymentForm->save(array('_token' => 'jnVHgzYJTUQ2hIaO828ym2lWVYsZCuo6QfCULeqr', 'task' => 'deploy', 'status' => null, 'message' => null, 'project_id' => '1', 'user_id' => '1')) in DeploymentsController.php line 72 at DeploymentsController->store(object(Request), object(Project)) at call_user_func_array(array(object(DeploymentsController), 'store'), array(object(Request), 'projects' => object(Project))) in compiled.php line 8899

I'm not sure when i did something wrong (server configuration / deployment configuration ?)

Here is my server config :

production: host: XXXXXX.com user: XXXXXX password: XXXXXX stage: production deploy_path: /home/www/XXXXXX/magento

And my deployment config

Project Name XXXXXXXX - PROD Recipe deployer-magento-recipe Server XXXXXXXX Repository URL https://gitlab.com/XXXXXXXX/XXXXXXXX.git Stage production Deploy Path E-Mail Notification Recipient

If any idea, i'll take it :-) Thx

ngmy commented 8 years ago

Hi,

What is the version of PHP you are using?

At the moment, Webloyer has not been tested with PHP 7. Therefore, if you are using PHP 7, Webloyer may not work properly.

JeromeSiau commented 8 years ago

Hi ngmy,

You're right, i'm on PHP7. I will try on a PHP5 server then, thx !

ngmy commented 8 years ago

Support for PHP 7 is planned for the future. Please give me some time.

barryvdh commented 8 years ago

Should be fixed with #61

ngmy commented 7 years ago

I have added support PHP 7. Please try the version 0.40.0.