Support Forums
Problem with Elgg - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43)
+---- Thread: Problem with Elgg (/showthread.php?tid=3830)



Problem with Elgg - Jordan L. - 12-21-2009

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.


RE: Problem with Elgg - RPicard - 12-21-2009

Post line 106 of that particular file.


RE: Problem with Elgg - Jordan L. - 12-21-2009

Code:
                throw new InstallationException("Elgg could not load the settings file.");



RE: Problem with Elgg - RPicard - 12-21-2009

Are you sure? That's line 209 for me. Line 106 is blank.


RE: Problem with Elgg - Jordan L. - 12-21-2009

Yep.



RE: Problem with Elgg - RPicard - 12-21-2009

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.



RE: Problem with Elgg - Jordan L. - 12-21-2009

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


RE: Problem with Elgg - RPicard - 12-21-2009

No problem. Happy to help. Victoire