teleport
teleport copied to clipboard
Syntax Error on MediaTemple Grid Server?
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
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.
4.4.9?! :scream: ROFL
It is a 1&1 shared host. And the client wants to stay there for whatever reason.