Elgg website moved to Arvixe hosting and now Internal Server Error

I moved recently to Arvixe web hosting following these steps:

http://docs.elgg.org/wiki/Backup_and_Restore

I obtained a white page.

Switching on error logs I found : 500 Internal Server Error

I've read this page : http://docs.elgg.org/wiki/White_page

What I've tried to do till now:

disabling all plugins (creating disabled file inside mod folder)

check htaccess file

check db credential

clear cache

set all file permission under public_html to 644 and all folder permission to 755 using these commands:

find . -type f -print0 | xargs -I {} -0 chmod 0644 {}

find . -type d -print0 | xargs -I {} -0 chmod 0755 {}

 

check for corrupted files using "php filename.php"

 

any suggestions or ideas ?

 

Thank you,

Simone

 

  • In the end I've commented start.php as follow:

    foreach ($lib_files as $file) {
    $file = $lib_dir . $file;
    // elgg_log("Loading $file...");
    if (!include_once($file)) {
    $msg = "Could not load $file";
    throw new InstallationException($msg);
    }
    }

     

    and it does the trick :)

    the website belsewhere.com is working

    Simone

  • That can't possibly be a good answer... by doing that you're missing various libraries required by Elgg.  You'll run into more problems by not finding the root cause of the initial problem.

    If you look at the original error it's happening in the function elgg_dump - which means something is calling elgg_dump before the pageowner library has loaded.  You need to make sure the pageowner library exists, is readable, and is getting loaded.  Assuming all of those are correct you need to look for any instance of elgg_dump that could possibly happen before pageowner lib is included - there shouldn't be any, and plugins don't have any influence that early in the boot sequence...

  • @Simone

    Could you go to the cPanel and check for Database errors? We have a module that will do that for you and repair the database if there's something wrong with it.

    Did you modify any other core file before moving to Arvixe?

    Rodolfo Hernandez

    Arvixe/Elgg Community Liaison

  • Hi Rodolfo,

    no db errors

    and no core modification before moving to arvixe

     

    simone

  • Are there any kind of entries about the errors in the server logs? Does the error occur on all pages (so not even the index page is showing) or can you log in and it occurs only on some pages.

    If you don't even see the index page I'm pretty sure that something is wrong with mod_rewrite, AllowOverride or the RewriteBase in .htaccess (maybe setting "RewriteBase /" already helps). Also check again the database entries of site url, install path etc. (trailing slash in the urls!).