Error Exception #1605658762

Hello everyone.

I have an old Elgg site that just went down and I wanted to check and see if anyone knows this error number and could point me in the right direction. I'm not sure if it will be worth fixing or if I should just replace the site with a static landing page. I did a lot of customization 5+ years ago but have not kept up on updates. Is Elgg still an active platform?

Here is the code:

Exception #1605658762

  • It's the unix timestamp of your server.

    Please check your error log to find this timestamp and learn more about error.

  • Thanks for the quick response. This site is on JustHost and I am in the phpMyAdmin and see the errors. How involved will this fix be? Does a message like this mean someone was hacking the site?

    "Access denied for user 'root'@'localhost' (using password: NO)"

  • Does a message like this mean someone was hacking the site?

    You need check syslog​ on your server to find out what happened.

    Can you change the MySQL password?

    If yes, do it.

    Which your Elgg version?

  • It is Elgg 1.8.8 I downloaded the error log and seems like unusual activity started Nov 12 with this error message:

    [12-Nov-2020 19:39:41 UTC] PHP Warning:  Version warning: Imagick was compiled against Image Magick version 1654 but version 1650 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0

    Password changed just to be safe.

  • Version warning: Imagick was compiled against Image Magick version 1654 but version 1650 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0

    Seems, your hoster has updated PHP version to 7.3.

    I would suggest reinstalling the imagick pecl module.

    If you're on the shared hosting then contact your host support.

    Elgg 1.8.8

    It's sad. 

    If I'm right and you have PHP version 7.x and above, I'm afraid you need to either downgrade to PHP 5.x or update your Elgg.

    Can you check your PHP version right now?

    Password changed just to be safe.

    Don't forget edit your Elgg settings also:

    PATH_TO_YOUR_ROOT_INSTALLED_ELGG\engine\settings.php

    section:

    $CONFIG->dbpass = 'YOUR-NEW-PASS-HERE';
  • Do you have this error in your log ?

    Error: Call to undefined function mysql_connect()

    If yes, you're on PHP 7.

    FYI: https://elgg.org/pages/view/2045983/tip-how-to-fix-the-problem-with-mysql-56

  • I have that error and am glad to see that it is not likely a hacking issue. I am guessing that upgrading may have some unintended consequences since I did a lot of formatting for the Elgg site but would the content be available? This is quite a few version jumps up. Are there any threads on that process or should I look into downgrading my PHP instead?

  • Sure, the process is very hard but sooner or later everyone goes through it. 

    If you have many custom plugins, or plugins that haven't yet been updated, the update may take months.

    At the same time, you must code or have someone who knows how to do it.

    It was a challenge for us too but we did it.

    Are there any threads on that process

    Try search.

    Me and iionly wrote a lot about it.

    In addition, I can also give these snippets for you:

    Elgg 1.8 > Elgg 1.12
    
    Backup live site: www, data
    Backup live DB
    
    Download the new version and copy these files from the existing 1.8 site:
     .htaccess
     engine/settings.php
    ============================================================
    UPDATE VERSIONS ORDER
    
    \elgg-1.8.20\
    \Elgg-1.9.0\
    \elgg-1.9.8\
    \Elgg-1.10.0\
    \Elgg-1.10.6\
    \Elgg-1.11.0\
    \Elgg-1.11.6\
    \Elgg-1.12.0\
    \elgg-1.12.11\
    \elgg-1.12.14\
    \elgg-2.1.2\
    \elgg-2.2.0\
    \elgg-2.3.0\
    \elgg-2.3.1\
    =======================================
    Be careful and don't miss any step
    
    UPGRADE 1.12 > 2.2
    - backup DB
    - backup production
    - backup /mod
    - backup engine/settings.php
    - login as Administrator
    - turn off all simple caches' options (Dashboard -> Advanced settings)
    - go to Dashboard and stay on there
    - change a new .htaccess \ nginx
    - copy the new 2.2 /vendor and files excepting /mod over old 1.12
    - copy from engine/settings.php to elgg-config/settings.php
    - delete old /mod
    - run upgrade.php -> go to admin/upgrades and run Upgrades -> return on Dashboard
    - copy new /mod
    - run upgrade.php \ flush the caches
    
    NOW DELETE
    old files and folders 1.12 including folders inside /vendor
    enable and set your plugins
    =======================================
    UPGRADE 2.3 > 3.1
    - backup DB
    - backup production
    - backup /mod
    - backup elgg-config/settings.php
    - login as Administrator
    - turn off all plugins
    - turn off all simple caches' options (Dashboard -> Advanced settings)
    - go to Dashboard and stay on there
    - format your DB, tables and columns to utf8mb4 and InnoDB
    - change a new .htaccess \ nginx
    - delete old /vendor and files
    - copy the new 3.1 /vendor and files
    - add new changes in elgg-config/settings.php
    - turn on $CONFIG->image_processor = 'imagick'; in elgg-config/settings.php
    - delete old /mod
    - delete in /data folders: /views_simplecache and /system_cache
    - clean opCache
    - run upgrade.php -> go to admin/upgrades and run Upgrades -> return on Dashboard
    - copy new /mod 
    - activate only bundled plugins
    - reset all plugins settings
    - run upgrade.php \ flush the caches
    - enable and set your 3rd party plugins
    - run upgrade.php \ flush the caches
  • Thank you very much. Jazfry isn't an active community, so I will take my time with it and see if 3.x is a good fit for some of the active spaces that I am working in.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking