teleport icon indicating copy to clipboard operation
teleport copied to clipboard

Syntax Error on MediaTemple Grid Server?

Open jpdevries opened this issue 9 years ago • 3 comments

I know these aren't the best steps to reproduce but FWIW when trying to create a profile with:

php teleport.phar --action=Profile --name="mysite" --code=mysite --core_path=/mysite/html/core/ --config_key=config

I get this syntax error on a Media Temple GridServer

Parse error: syntax error, unexpected '[', expecting ')' in phar:///nfs/c02/h04/mnt/22945/data/teleport/teleport.phar/vendor/react/promise/src/functions.php on line 68
dalefournier.com@cl04:/nfs/c02/h04/mnt/22945/data/teleport$ 

If there's any other info I can provide that may be helpful lmk

jpdevries avatar Sep 12 '15 18:09 jpdevries

I have a syntax error here too. PHP CLI uses PHP/4.4.9 on that server, which causes the following error.

X-Powered-By: PHP/4.4.9
Content-type: text/html

<br />
<b>Parse error</b>:  syntax error, unexpected '<' in <b>/***/htdocs/teleport/teleport.phar</b> on line <b>63</b><br />

I have to call /usr/bin/php5.5-cli teleport.phar … on that installation. Maybe your issue is similar.

Jako avatar Sep 17 '15 09:09 Jako

4.4.9?! :scream: ROFL

opengeek avatar Sep 17 '15 12:09 opengeek

It is a 1&1 shared host. And the client wants to stay there for whatever reason.

Jako avatar Sep 17 '15 13:09 Jako