Installing to a subdirectory of my site. As soon as files uploaded I get this error. Anyone know why?
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home/xxxxxxxxx/public_html/social/vendor/elgg/elgg/engine/classes/Elgg/Di/ServiceProvider.php on line 112
this is the line:
$this->setClassName('actions', \Elgg\ActionsService::class);
Installing 2.2.1
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Matt Beckett@Beck24

Matt Beckett - 0 likes
- Dries@driesdk

Dries - 0 likes
- Rory205@rory205

Rory205 - 0 likes
- Rory205@rory205

Rory205 - 0 likes
- Matt Beckett@Beck24

Matt Beckett - 0 likes
You must log in to post replies.Most likely your php version does not meet the Elgg minimum requirements
What's you php version? You will need minimal php 5.5
Thanks. Gotcha, Im on 5.4. I got all my other sites backed up so guess will upgrade it and see if it works.
Another problem. I upgraded to 5.5. in the database section i enter the mysql info and click next an doesnt go thru. page refreshs and back to begining.
check that the .htaccess is the one that comes with elgg. You can find a copy at {elgg}/install/config/htaccess.dist