sugarbowls
08-23-2008, 01:04 PM
Can someone help me out with this too? I'm pretty lost when it comes
to this type of high-end programming..I'm using 1and1...
I'm trying to install the social networking software Elgg 1.0 (http://www.elgg.org) on my 1and1 domain (business package). I unzipped Elgg 1.0 and uploaded everything to my domain in an /elgg/
folder...but when I tried to access it I got this error:
"Parse error: syntax error, unexpected T_NEW in /homepages/19/
d94770537/htdocs/elgg/engine/start.php on line 85"
And I hadn't even done anything yet!
Someone suggested that I edit my .htaccess file to make it work...but since an .htaccess file had yet to be created in the /elgg/ folder, I went into the htaccess_dist file that came with the installation, renamed it to .htaccess, and edited the beginning to:
------------------
# Elgg htaccess directives
# Copyright Curverider Ltd 2008
# License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU
Public License version 2
# Link http://elgg.org/
AddType x-mapp-php5 .php
php_flag magic_quotes_gpc off
RewriteEngine on
#
# If you are installing Elgg to an unusual location (for example your
personal public_html directory)
# then you may need to uncomment this line and modify accordingly:
#
RewriteBase /homepages/19/d94770537/htdocs/elgg/
#
----------------
Where the bold is what changed--originally the Rewrite Base was commented out without a path, and the PHP 5 part wasn't there. I uncommented RewriteBase, put in the path, and added that thing
about PHP 5.
I uploaded that as an .htaccess file into the /elgg/
directory, refreshed the page, and that error disappeared, but instead
I got: "Error 500 - Internal server error"
Any ideas? I really want to get this solved =( Elgg requires "a system running PHP 5.2+ as an Apache mod (not in CGI mode or safe mode) with GD extensions, MySQL 5+ and a version of the Apache web server with mod_rewrite installed."...does 1and1 provide all of this?
Thanks!
to this type of high-end programming..I'm using 1and1...
I'm trying to install the social networking software Elgg 1.0 (http://www.elgg.org) on my 1and1 domain (business package). I unzipped Elgg 1.0 and uploaded everything to my domain in an /elgg/
folder...but when I tried to access it I got this error:
"Parse error: syntax error, unexpected T_NEW in /homepages/19/
d94770537/htdocs/elgg/engine/start.php on line 85"
And I hadn't even done anything yet!
Someone suggested that I edit my .htaccess file to make it work...but since an .htaccess file had yet to be created in the /elgg/ folder, I went into the htaccess_dist file that came with the installation, renamed it to .htaccess, and edited the beginning to:
------------------
# Elgg htaccess directives
# Copyright Curverider Ltd 2008
# License http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU
Public License version 2
# Link http://elgg.org/
AddType x-mapp-php5 .php
php_flag magic_quotes_gpc off
RewriteEngine on
#
# If you are installing Elgg to an unusual location (for example your
personal public_html directory)
# then you may need to uncomment this line and modify accordingly:
#
RewriteBase /homepages/19/d94770537/htdocs/elgg/
#
----------------
Where the bold is what changed--originally the Rewrite Base was commented out without a path, and the PHP 5 part wasn't there. I uncommented RewriteBase, put in the path, and added that thing
about PHP 5.
I uploaded that as an .htaccess file into the /elgg/
directory, refreshed the page, and that error disappeared, but instead
I got: "Error 500 - Internal server error"
Any ideas? I really want to get this solved =( Elgg requires "a system running PHP 5.2+ as an Apache mod (not in CGI mode or safe mode) with GD extensions, MySQL 5+ and a version of the Apache web server with mod_rewrite installed."...does 1and1 provide all of this?
Thanks!