Перейти к содержанию

Orpheus

Актив
  • Постов

    300
  • Зарегистрирован

  • Посещение

  • Победитель дней

    9

Сообщения, опубликованные Orpheus

  1. You should be able to fix that by adding this line to your constants.php

    define( 'RECOVERY_MODE', TRUE );

    If your site works after this, that would mean that one of your plugins/applications is causing the error.

    If so, enable them one by one and check for the issue in a new tab for the same.

    For me, it was an older version of Awards application causing the error. This means any of your plugins/applications which are incompatible to PHP 8 and IPS v4.7.3 are likely to cause such an error.

    For more information about constants.php, please read this https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-constantsphp-r25/

  2. 20 hours ago, Desti said:

    run php code

    print_r(get_loaded_extensions());

    PHP 7.4

    Quote

    Array ( [0] => Core [1] => date [2] => libxml [3] => openssl [4] => pcre [5] => sqlite3 [6] => zlib [7] => bz2 [8] => calendar [9] => ctype [10] => curl [11] => hash [12] => filter [13] => ftp [14] => gettext [15] => gmp [16] => SPL [17] => iconv [18] => pcntl [19] => readline [20] => Reflection [21] => session [22] => standard [23] => shmop [24] => SimpleXML [25] => mbstring [26] => tokenizer [27] => xml [28] => litespeed [29] => i360 [30] => bcmath [31] => dba [32] => dom [33] => enchant [34] => fileinfo [35] => gd [36] => imagick [37] => imap [38] => intl [39] => json [40] => ldap [41] => exif [42] => mysqlnd [43] => mysqli [44] => odbc [45] => PDO [46] => pdo_mysql [47] => PDO_ODBC [48] => pdo_pgsql [49] => pdo_sqlite [50] => pgsql [51] => Phar [52] => posix [53] => pspell [54] => snmp [55] => soap [56] => sockets [57] => sysvmsg [58] => sysvsem [59] => sysvshm [60] => tidy [61] => timezonedb [62] => xmlreader [63] => xmlrpc [64] => xmlwriter [65] => xsl [66] => zip )

    PHP 8.0

    Quote

    Array ( [0] => Core [1] => date [2] => libxml [3] => openssl [4] => pcre [5] => sqlite3 [6] => zlib [7] => bz2 [8] => calendar [9] => ctype [10] => curl [11] => hash [12] => filter [13] => ftp [14] => gettext [15] => gmp [16] => SPL [17] => iconv [18] => json [19] => pcntl [20] => readline [21] => Reflection [22] => session [23] => standard [24] => shmop [25] => SimpleXML [26] => mbstring [27] => tokenizer [28] => xml [29] => litespeed [30] => i360 [31] => bcmath [32] => dba [33] => dom [34] => enchant [35] => fileinfo [36] => gd [37] => imagick [38] => imap [39] => intl [40] => ldap [41] => exif [42] => mysqlnd [43] => mysqli [44] => odbc [45] => PDO [46] => pdo_mysql [47] => PDO_ODBC [48] => pdo_pgsql [49] => pdo_sqlite [50] => pgsql [51] => Phar [52] => posix [53] => pspell [54] => snmp [55] => soap [56] => sockets [57] => sysvmsg [58] => sysvsem [59] => sysvshm [60] => tidy [61] => timezonedb [62] => xmlreader [63] => xmlrpc [64] => xmlwriter [65] => xsl [66] => zip )

    Both load the same type & number of extensions.

    I wonder, what is the problem, then?

  3. On 9/23/2022 at 12:25 AM, September^^ said:

    Have you looked at the web server logs? At 500 an error always they will be.

    It might sound like mbstring extension isn't loaded, but I suppose it does load but still throws an error

    Quote

    [25-Sep-2022 11:41:02 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /home/mywebsite/public_html/init.php:558

    Stack trace:

    #0 /home/mywebsite/public_html/init.php(1435): IPS\IPS::init()

    #1 /home/mywebsite/public_html/applications/core/interface/task/task.php(29): require_once('/home/mywebsite/...')

    #2 {main}

      thrown in /home/mywebsite/public_html/init.php on line 558

    [25-Sep-2022 11:42:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /home/mywebsite/public_html/init.php:558

    Stack trace:

    #0 /home/mywebsite/public_html/init.php(1435): IPS\IPS::init()

    #1 /home/mywebsite/public_html/applications/core/interface/task/task.php(29): require_once('/home/mywebsite/...')

    #2 {main}

      thrown in /home/mywebsite/public_html/init.php on line 558

    [25-Sep-2022 11:43:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /home/mywebsite/public_html/init.php:558

    Stack trace:

    #0 /home/mywebsite/public_html/init.php(1435): IPS\IPS::init()

    #1 /home/mywebsite/public_html/applications/core/interface/task/task.php(29): require_once('/home/mywebsite/...')

    #2 {main}

      thrown in /home/mywebsite/public_html/init.php on line 558

    [25-Sep-2022 11:44:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function IPS\mb_internal_encoding() in /home/mywebsite/public_html/init.php:558

    Stack trace:

    #0 /home/mywebsite/public_html/init.php(1435): IPS\IPS::init()

    #1 /home/mywebsite/public_html/applications/core/interface/task/task.php(29): require_once('/home/mywebsite/...')

    #2 {main}

      thrown in /home/mywebsite/public_html/init.php on line 558

    This only happens when I change the PHP version from 7.4 to 8.0

  4. On 9/24/2022 at 7:11 AM, Desti said:

    Am I lucky again or engine errors?

    Clean install, nothing else installed, dev mode, error in console 

    Failed to load: forums/front/controllers/forums/ips.forum/topicRow.js

    It is called as usual, <... data-controller='forums.front.forum.topicRow'>, but there is no such file in the dev package and there is no such file in the generated bundles either. 

     

    You're just lucky! :ag:

×
×
  • Создать...