Support Forums

Full Version: Problem with Elgg
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey

I was reading one of Rob's posts and he mentioned Elgg. So I decided to give it a try.

After uploading it and going to the site, I got this error:
Code:
Parse error: syntax error, unexpected T_NEW in /home/pyrit0/public_html/hardstyleforums/crews/engine/start.php on line 106

Has anyone ever had this problem, or know the solution?
Thanks.
Post line 106 of that particular file.
Code:
                throw new InstallationException("Elgg could not load the settings file.");
Are you sure? That's line 209 for me. Line 106 is blank.
Yep.
docs.elgg.org Wrote:Installation breaks with "Parse error: syntax error, unexpected T_NEW"
Elgg is not running under PHP 5.
Remember, PHP has three components - the php module, php cli and php cgi. Running php -v on the console and getting 5.x.x back does not necessarily mean that the apache module is running PHP 5!
Confirm you have PHP 5 installed and activated as an apache module.
Oh, I see.
Sorry, I'm kinda new to hosts 'n stuff, how do I upgrade to PHP 5?

My Host Details Wrote:Operating system Linux
Service Status Click to View
Kernel version 2.6.9-89.0.16.ELsmp
Machine Type i686
Apache version 2.0.63
PERL version 5.8.8
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
Installed Perl Modules Click to View
PHP version 4.4.9
MySQL version 5.0.81-community
cPanel Version 11.24.5-STABLE 38506
Theme cPanel X v2.5.0
Documentation Click to View

Ah, dw. Got it. Works fine now. Thanks Rob Smile
No problem. Happy to help. Victoire