Script doesn't work on my shared hosting and I don't know why

Issue #8 resolved
Reynier Pérez (ReynierPM) created an issue

Hi, I'm trying to use your script on my shared hosting to perform automatic deployment from Bitbucket. I followed everything on docs but for some reason I can't get this to work. If I access to http://myserver/deploy.php?setup=alomicuba then I get this as result in the page:

BitBucket Sync - Full Deploy

Warning: array_key_exists() expects parameter 2 to be array, null given in /home5/veriosoc/public_html/syncro/deploy.php on line 142

In the other side if I leave the gateway.php do the job this is the result on failed-commit.... files:

{"repository": {"website": "", "fork": false, "name": "AloMiCuba.com", "scm": "git", "owner": "reynierpm", "absolute_url": "/reynierpm/alomicuba.com/", "slug": "alomicuba.com", "is_private": true}, "truncated": false, "commits": [{"node": "82a5524d85fc", "files": [{"type": "modified", "file": "addons/shared_addons/plugins/noty.php"}], "raw_author": "paquitodev reynierpm@gmail.com", "utctimestamp": "2014-07-05 23:15:25+00:00", "author": "reynierpm", "timestamp": "2014-07-06 01:15:25", "raw_node": "82a5524d85fcb1b1cf3da782f400301ae7b04c6c", "parents": ["5549a23c03e5"], "branch": "master", "message": "Minor fix\n", "revision": null, "size": -1}], "canon_url": "https://bitbucket.org", "user": "reynierpm"}

What I'm missing on this configuration?

Comments (1)

  1. Log in to comment