+ Reply to Thread
Results 1 to 7 of 7

Thread: ELGG install 500 error

  1. #1
    hoxxer is offline x10Hosting Member hoxxer is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    8

    Exclamation ELGG install 500 error

    Ive recently tried to install ELGG onto my hosting account but when i rename htaccess-dist to .htaccess i get a 500 error, you can see this in action at http://www.tendice.co.uk/egg

    i was woundering if it is anything ive done wrong or is it the hosting account type of the php version.
    i have already upgraded to v2 php. does it need me to be v3?
    or does the free account not hold the requirements needed to install this script?

    thanks for any help,
    Hox.

  2. #2
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: ELGG install 500 error

    Try chmodd all your files to 755. That would make it.

  3. #3
    hoxxer is offline x10Hosting Member hoxxer is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    8

    Re: ELGG install 500 error

    im still getting a 500 error with all the files and folders 0755.
    hmmm...

  4. #4
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: ELGG install 500 error

    What did you writte in your .htaccess??

  5. #5
    hoxxer is offline x10Hosting Member hoxxer is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    8

    Re: ELGG install 500 error

    its the default .htaccess file with the install...
    Code:
    <IfModule !mod_rewrite.c>
        # ugly ugly hack to detect missing mod_rewrite
        # RedirectMatch must be to an absolute destination, so forces 500 error...
        ErrorDocument 500 "Elgg error: Apache does not have mod_rewrite loaded. Please check your apache setup."
        RedirectMatch 302 .* index.php
    </IfModule>
    
    <Files "htaccess-dist">
        order allow,deny
        deny from all
    </Files>
    
    Options +FollowSymLinks
    
    # Whether to display PHP error messages in page output. Recommended to be off for production systems.
    # Messages will be logged to Apache's error log regardless.
    #php_flag display_errors on
    
    # PHP defaults to allowing file uploads of max 2MB, below is example option for 5MB.
    # NB: Adjusting value may not work, depending on other configured php and apache limits.
    # for more info see http://php.net/manual/en/features.file-upload.php and http://httpd.apache.org/docs/2.0/mod/core.html#limitrequestbody
    # post_max_size should be slightly larger than upload_max_filesize, but the default is usually 8MB anyway.
    php_value post_max_size 8388608
    php_value upload_max_filesize 5242880
    
    # Elgg can be more of a RAM lover than PHP's default of 8 meg. E.g. 16 meg:
    php_value memory_limit 16777216
    
    # Not really necessary, just to be clean
    #php_flag short_open_tag off
    # Forgot that anyone might still have this turned on
    #php_flag register_globals off
    
    <IfModule mod_rewrite.c>
    
    RewriteEngine on
    RewriteBase /home/hoxxer/public_html/egg/
    
    # If Elgg is in a subdirectory on your site, you might need to add a RewriteBase line
    # containing the path from your site root to elgg's root. e.g. If your site is
    # http://example.com/ and Elgg is in http://example.com/sites/elgg/, you might need 
    #
    #RewriteBase /sites/elgg/
    #
    # here, only without the # in front.
    #
    # If you're not running Elgg in a subdirectory on your site, but still getting lots
    # of 404 errors beyond the front page, you could instead try:
    #
    #RewriteBase /
    
    RewriteRule ^_templates/css/(.+)$ _templates/css.php?template=$1
    
    RewriteRule ^(.+)\/rssstyles.xsl$ _rss/styles.php?rssurl=$1&url=$1
    
    RewriteRule ^([A-Za-z0-9]+)\/dashboard(\/)?$ mod/adash/index.php?user=$1
    
    RewriteRule ^([A-Za-z0-9]+)(\/)?$ profile/index.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/profile(\/)?$ profile/index.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/tags(\/)?$ search/personaltags.php?profile_name=$1
    RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=profile
    RewriteRule ^([A-Za-z0-9]+)\/rss\/(.+)\/?$ profile/rss2.php?profile_name=$1&tag=$2
    
    RewriteRule ^([A-Za-z0-9]+)\/newsclient\/?$ _rss/subscriptions.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/newsclient\/all\/?$ _rss/index.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/newsclient\/all\/skip=([0-9]+)$ _rss/index.php?profile_name=$1&feed_offset=$2
    
    RewriteRule ^([A-Za-z0-9]+)\/feeds\/?$ _rss/subscriptions.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/feeds\/all\/?$ _rss/index.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/feeds\/all\/skip=([0-9]+)$ _rss/index.php?profile_name=$1&feed_offset=$2
    
    
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/?$ mod/blog/index.php?weblog_name=$1
    ReWriteRule ^([A-Za-z0-9]+)\/weblog\/skip=([0-9]+)$ mod/blog/index.php?weblog_name=$1&weblog_offset=$2
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/edit$ mod/blog/edit.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/edit\/([0-9]+)$ mod/blog/edit.php?profile_name=$1&weblog_post_id=$2&action=edit
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/archive\/?$ mod/blog/archive.php?weblog_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/archive\/([0-9]+)\/([0-9]+)\/?$ mod/blog/archive_month.php?weblog_name=$1&year=$2&month=$3
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/?$ mod/blog/friends.php?weblog_name=$1
    ReWriteRule ^([A-Za-z0-9]+)\/weblog\/friends\/skip=([0-9]+)$ mod/blog/friends.php?weblog_name=$1&weblog_offset=$2
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/interesting\/?$ mod/blog/interesting.php?weblog_name=$1
    ReWriteRule ^([A-Za-z0-9]+)\/weblog\/interesting\/skip=([0-9]+)$ mod/blog/interesting.php?weblog_name=$1&weblog_offset=$2
    RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html$ mod/blog/view_post.php?post=$1
    RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\/trackback\/?$ mod/trackback/index.php?id=$1
    RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html.([0-9]+)$ mod/blog/view_post.php?post=$1&commentpage=$2
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/rss\/(.+)\/?$ mod/blog/rss2.php?weblog_name=$1&tag=$2&modifier=is
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/rssnot\/(.+)\/?$ mod/blog/rss2.php?weblog_name=$1&tag=$2&modifier=not
    RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/weblog\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=weblog
    RewriteRule ^([A-Za-z0-9]+)\/weblog\/category\/([^\/]+)\/?$ mod/blog/index.php?weblog_name=$1&filter=$2
    ReWriteRule ^([A-Za-z0-9]+)\/weblog\/category\/([^\/]+)\/skip=([0-9]+)$ mod/blog/index.php?weblog_name=$1&filter=$2&weblog_offset=$3
    ReWriteRule ^weblog\/everyone$ mod/blog/everyone.php
    ReWriteRule ^weblog\/everyone\/(people|communities|commented|uncommented)$ mod/blog/everyone.php?filter=$1
    ReWriteRule ^weblog\/everyone\/skip/([0-9]+)$ mod/blog/everyone.php?weblog_offset=$1
    
    RewriteRule ^tag\/(.+)\/?$ search/all.php?tag=$1
    RewriteRule ^rsstag\/(.+)\/?$ search/rss.php?tag=$1
    RewriteRule ^tag\/(.+)/ecl\/?$ search/ecl.php?tag=$1
    
    RewriteRule ^([A-Za-z0-9]+)\/friends\/?$ _friends/index.php?friends_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/foaf\/?$ _friends/foaf.php?friends_name=$1
    
    RewriteRule ^([A-Za-z0-9]+)\/communities\/?$ mod/community/index.php?friends_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/communities\/owned$ mod/community/owned.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/communities\/new$ mod/community/new.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/community\/delete$ mod/community/index.php?profile_name=$1&action=community:delete
    RewriteRule ^([A-Za-z0-9]+)\/community\/requests$ mod/community/requests.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/community\/requests\/aprove\/([0-9]+)$ mod/community/requests.php?profile_name=$1&action=community:approve:request&request_id=$2
    RewriteRule ^([A-Za-z0-9]+)\/community\/requests\/decline\/([0-9]+)$ mod/community/requests.php?profile_name=$1&action=community:decline:request&request_id=$2
    RewriteRule ^([A-Za-z0-9]+)\/community\/members$ mod/community/members.php?profile_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/community\/separate\/([0-9]+)$ mod/community/members.php?profile_name=$1&friend_id=$2&action=separate
    RewriteRule ^community\/([0-9]+)\/?$ mod/communities/community.php?community_id=$1
    
    RewriteRule ^([A-Za-z0-9]+)\/files\/?$ mod/file/index.php?files_name=$1
    RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9]+)\/?$ mod/file/index.php?files_name=$1&folder=$2
    RewriteRule ^([A-Za-z0-9]+)\/files\/([0-9\-]+)\/([0-9]+)\/(.+)$ mod/file/download.php?files_name=$1&folder=$2&filename=$4&id=$3
    RewriteRule ^(([A-Za-z0-9])[A-Za-z0-9]+)\/files\/rss\/?$ _rss/static.php?username=$1&userref=$2&type=files
    RewriteRule ^([A-Za-z0-9]+)\/files\/rss\/(.+)\/?$ mod/file/rss2.php?files_name=$1&tag=$2
    RewriteRule ^_icon\/file/([-0-9]+)$ mod/file/icon.php?id=$1
    
    RewriteRule ^_icon\/user/([-0-9]+)$ _icons/icon.php?id=$1
    RewriteRule ^_icon\/user/([-0-9]+)\/([A-Za-z])\/([0-9]+)$ _icons/icon.php?id=$1&constraint1=$2&size1=$3
    RewriteRule ^_icon\/user/([-0-9]+)\/([A-Za-z])\/([0-9]+)\/([A-Za-z])\/([0-9]+)$ _icons/icon.php?id=$1&constraint1=$2&size1=$3&constraint2=$4&size2=$5
    
    # Some blogging clients probe Wordpress or MoveableType endpoints,
    # redirect them to the Elgg xml-rpc endpoint
    #
    RewriteRule xml-rpc.php _rpc/RPC2.php
    RewriteRule mt/mt-xmlrpc.cgi _rpc/RPC2.php
    
    </IfModule>

  6. #6
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: ELGG install 500 error

    Maybe x10 aren't allowing Modrewrite? That is the most common message to get if modrewrite isn't allowed.

  7. #7
    deshan.ala65 is offline x10Hosting Member deshan.ala65 is an unknown quantity at this point
    Join Date
    Dec 2010
    Posts
    2

    Re: ELGG install 500 error

    nah i think you need to enable the RewriteBase /
    to do this, remove the comment ('#') infront of the RewriteBase / statement

+ Reply to Thread

Similar Threads

  1. Trying to install Gallery2...set_time_limit() error
    By kyleA97 in forum Free Hosting
    Replies: 1
    Last Post: 09-29-2007, 09:11 AM
  2. Trying to install Gallery2...set_time_limit() error
    By kyleA97 in forum Free Hosting
    Replies: 0
    Last Post: 09-29-2007, 08:27 AM
  3. 404 Error ( VB Install )
    By pcforums in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 08-31-2007, 09:14 AM
  4. Install error ipb arcade 2.5.5
    By djcrash in forum Scripts & 3rd Party Apps
    Replies: 8
    Last Post: 09-06-2006, 08:03 AM
  5. {req} Banners
    By SEŅOR in forum The Marketplace
    Replies: 23
    Last Post: 01-05-2006, 03:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers